*morphmapdifferencesurf
Maps selected nodes from one surface or element mark to the other surface or element mark optionally following the curvature differences (rotate) between the surfaces or element marks and/or mapping about an axis (axis and plane) or using a number of linear mapping options.
Syntax
*morphmapdifferencesurf m_entity_type m_mark_id f_entity_type f_mark_id i_entity_type i_mark_id t_entity_type t_mark_id r_plane rotate axial sym con blend mbias fbias
Type
HyperMesh Tcl Modify Command
Description
If blend is set to 1, no fixed nodes have been selected, and no mapped nodes are a part of any domain, this command will automatically assign all non-mapped nodes as fixed nodes.
If blend is set to 2, the blending will only be applied to nodes which lie along the mesh between the fixed nodes and the mapped nodes.
Inputs
- m_entity_type
- Must be set to nodes.
- m_mark_id
- The mark ID for mapped nodes. Valid values are 1 and 2.
- f_entity_type
- Must be set to nodes.
- f_mark_id
- The mark ID for fixed nodes. Valid values are 1 and 2.
- i_entity_type
- Set to surfs or elems.
- i_mark_id
- The mark ID for initial surfaces or mesh. Valid values are 1 and 2.
- t_entity_type
- Set to surfs or elems.
- t_mark_id
- The mark ID for target surfaces or mesh. Valid values are 1 and 2.
- r_plane
- Plane used for axis of rotation. Valid values are 1 and 2.
- rotate
- 0 - Linear point to point mapping between lines.
- axial
- 0 - Apply mapping in x, y, z coordinates
- sym
- 0 - Do not use symmetry (only option).
- con
- 0 - Do not use constraints.
- blend
- 0 - Do not blend unselected nodes.
- mbias
- Bias factor of mapped nodes.
- fbias
- Bias factor of fixed nodes.
Example
To map nodes from one surface mark to another using rotation:
*createmark nodes 1 1 2 3
*createmark nodes 2 11 12 13
*createmark surfs 1 22 23
*createmark surfs 2 32 33
*createplane 1,1.0 0.0 0.0 1.0 0.0 0.0
*morphmapdifferencesurf nodes 1 nodes 2 surfs 1 surfs 2 1 1 0 1 0 1.0 1.0
To map nodes from one surface mark to an element mark about an axis with no rotation, blending through the mesh, and biasing factors of 2.0:
*createmark nodes 1 1 2 3
*createmark nodes 2 11 12 13
*createmark surfs 1 22 23
*createmark elems 1 32 33 34 35 36
*createplane 1,1.0 0.0 0.0 1.0 0.0 0.0
*morphmapdifferencesurf nodes 1 nodes 2 surfs 1 elems 1 1 0 1 1 2 2.0 2.0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
"Not enough memory." - occurs if there is not enough memory to complete the command.