Skip to main content

mapping:prepare mechanical native mapping with point cloud

Version: 0.0.0

Description

Prepare mapping of source data from source mesh to target mesh by operating the source_mesh/target_mesh weights computation. This operator will use a point cloud based algorithm. This operator needs to be used with the apply mechanical native mapping associated one.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
source_meshabstract_meshed_region, fieldSource mesh. Can be a meshed region or a node coordinates field.
Pin 1
Required
target_meshabstract_meshed_region, fieldTarget mesh. Can be a meshed region or a node coordinates field.
Pin 3target_mesh_scopingscopingTarget mesh scoping. If used, ensure to give only the elements where results are expected into source mesh input to have optimized computation.
Pin 4unitstringUnit of the result to map
Pin 5locationstringLocation of the result to map. If elemental, this input needs to be specified.
Pin 6
Required
dimensionalityint32Dimensionality of the result to map (for example it will be 3 for a displacement along (x, y, z) axes).
Pin 7e_shell_layersint32EShellLayers enum value if field has shell layers
Pin 8html_report_pathstringPath for html report (for example 'my_disk/my_report.html'). If set, an html report will be generated and exported to the html file. If not set, nothing will be generated.
Pin 10weighting_typestringDefault 'triangulation'. Can also be 'weighted_average'.
Pin 11outside_optionstringDefault is 'weighted_average'. Can also be 'ignore', 'projection', 'nearest_node'.
Pin 12num_outside_pointsint32Default is 3
Pin 13max_outside_distancedoubleDefault is 0.0
Pin 14search_limitint32Default is 20
Pin 15bounding_box_sizingdoublePinball area. Default is 0.0.
Pin 16geometry_typestringDefault is 'volume'. Can also be 'surface'.
Pin 17shell_thickness_factordoubleDefault is '0.0'
Pin 100is_element_centroidal_data_mappingboolDefault is 'false'. Set to 'true' if the source elemental data is representing as element centroidal nodal data
Pin 101projection_optionsdata_treeDefault is empty. This data tree contains 2D projection options for mapping 2D to 3D
Pin 102dynamic_coordinate_systemdata_treeDefault is empty. This data tree contains the dynamic coordinate system for performing rigid body transformation on the source mesh
Pin 103source_dimensionstringDefault is empty string. The string contains either "2D" or "3D" which specifies the source dimension
Pin 104wb_external_data_infodata_treeDefault is empty. This data tree contains the Rigid & Analytical transformations specified in the workbench external data system
Pin 105target_dimensionstringDefault is empty string. The string contains either "2D" or "3D" which specifies the target dimension

Outputs

OutputNameExpected type(s)Description
Pin 0source_meshabstract_meshed_regionSource mesh
Pin 1source_mesh_idint32Source mesh id
Pin 2target_meshabstract_meshed_regionTarget mesh
Pin 3target_mesh_idint32Target mesh id
Pin 4mapping_manager_data
Pin 6target_scopingscopingTarget scoping
Pin 7prepare_outputA Map containing the outputs of the mapping as a key value pair

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: mapping

Plugin: N/A

Scripting name: prepare_mechanical_native_mapping_point_cloud

Full name: mapping.prepare_mechanical_native_mapping_point_cloud

Internal name: mechanical_native_mapping::prepare::point_cloud

License: any_dpf_supported_increments

Changelog

  • Version 0.0.0: Initial release.