*element3Dshiftnodes
Reorders the nodes in a 3D element.
Syntax
*element3Dshiftnodes element_id_3D mode shift_value first_node_id last_node_id second_node_id element_id_2D
Type
HyperMesh Tcl Modify Command
Description
Reorders the nodes in 3D elements based on various modes.
Inputs
- element_id_3D
- The 3D element ID to reorder.
- node
- Determines how the nodes are reordered.
- 1 - Reorder the nodes as defined by the shift_value argument (2 digit value).
- 2 - Reorder the nodes defined by 3 nodes in the 3D element. The first_node_id, last_node_id and second_node_id arguments define the new base face.
- 3 - Reorder the nodes by referencing a face element defined by the element_id_2D argument.
- 4 - Reorder the nodes as defined by the shift_value (1 digit value) and first_node_id arguments.
- shift_value
- When mode is 1, this is a 2 digit integer. The first digit defines the element’s new base face index, while the second defines the index of the new first node for that face.
- first_node_id
- Defines the first node in the reordered 3D element, when mode is 2.
- last_node_id
- Defines the last node in the reordered 3D element base face, when mode is 2.
- second_node_id
- Defines the second node in the reordered 3D element base face, when mode is 2.
- element_id_2D
- The 2D element ID to use as the base face for the reordered 3D element. The first node of this 2D element becomes the first node of the 3D element.
Example
*element3Dshiftnodes 213 1 31 0 0 0 0
*element3Dshiftnodes 213 2 0 137 138 139 0
*element3Dshiftnodes 213 3 0 0 0 0 94
*element3Dshiftnodes 213 4 3 94 0 0 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}