Skip to main content
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

This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.

source_mesh (Pin 0)

Source mesh. Can be a meshed region or a node coordinates field.

target_mesh (Pin 1)

Target mesh. Can be a meshed region or a node coordinates field.

target_mesh_scoping (Pin 3)

  • Required: No
  • Expected type(s): scoping
Target mesh scoping. If used, ensure to give only the elements where results are expected into source mesh input to have optimized computation.

unit (Pin 4)

  • Required: No
  • Expected type(s): string
Unit of the result to map

location (Pin 5)

  • Required: No
  • Expected type(s): string
Location of the result to map. If elemental, this input needs to be specified.

dimensionality (Pin 6)

  • Required: Yes
  • Expected type(s): int32
Dimensionality of the result to map (for example it will be 3 for a displacement along (x, y, z) axes).

e_shell_layers (Pin 7)

  • Required: No
  • Expected type(s): int32
EShellLayers enum value if field has shell layers

html_report_path (Pin 8)

  • Required: No
  • Expected type(s): string
Path 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.

weighting_type (Pin 10)

  • Required: No
  • Expected type(s): string
Default ‘triangulation’. Can also be ‘weighted_average’.

outside_option (Pin 11)

  • Required: No
  • Expected type(s): string
Default is ‘weighted_average’. Can also be ‘ignore’, ‘projection’, ‘nearest_node’.

num_outside_points (Pin 12)

  • Required: No
  • Expected type(s): int32
Default is 3

max_outside_distance (Pin 13)

  • Required: No
  • Expected type(s): double
Default is 0.0

search_limit (Pin 14)

  • Required: No
  • Expected type(s): int32
Default is 20

bounding_box_sizing (Pin 15)

  • Required: No
  • Expected type(s): double
Pinball area. Default is 0.0.

geometry_type (Pin 16)

  • Required: No
  • Expected type(s): string
Default is ‘volume’. Can also be ‘surface’.

shell_thickness_factor (Pin 17)

  • Required: No
  • Expected type(s): double
Default is ‘0.0’

is_element_centroidal_data_mapping (Pin 100)

  • Required: No
  • Expected type(s): bool
Default is ‘false’. Set to ‘true’ if the source elemental data is representing as element centroidal nodal data

projection_options (Pin 101)

Default is empty. This data tree contains 2D projection options for mapping 2D to 3D

dynamic_coordinate_system (Pin 102)

Default is empty. This data tree contains the dynamic coordinate system for performing rigid body transformation on the source mesh

source_dimension (Pin 103)

  • Required: No
  • Expected type(s): string
Default is empty string. The string contains either “2D” or “3D” which specifies the source dimension

wb_external_data_info (Pin 104)

Default is empty. This data tree contains the Rigid & Analytical transformations specified in the workbench external data system

Outputs

This table lists the output pins for this operator. Output pins provide the results of the operator’s computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.

source_mesh (Pin 0)

Source mesh

source_mesh_id (Pin 1)

  • Expected type(s): int32
Source mesh id

target_mesh (Pin 2)

Target mesh

target_mesh_id (Pin 3)

  • Expected type(s): int32
Target mesh id

mapping_manager_data (Pin 4)

  • Expected type(s):

target_scoping (Pin 6)

Target scoping

unmapped_nodes_scoping (Pin 7)

Unmapped nodes scoping

outside_nodes_scoping (Pin 8)

Outside nodes scoping

mapping_error_codes (Pin 9)

  • Expected type(s): int32
contains the error codes from the mapping manager kernel

Configurations

This operator supports configuration options that modify its behavior.

mutex

  • Expected type(s): bool
  • Default value: false
If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

This operator can be accessed through scripting interfaces using these identifiers. 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

Examples

These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.

Changelog

  • Version 0.0.0: Initial release.