*alternatejointupdate
Updates joint elements for use with the OptiStruct MBD solution sequence.
Syntax
*alternatejointupdate mark_id type node1 node2 orient1_node orient2_node orient1_x orient1_y orient1_z orient2_x orient2_y orient2_z curve_set1 curve_set2 typeflag nodeflag orient1flag orient2flag curvesetflag
Type
HyperMesh Tcl Modify Command
Description
This command updates elements contained on mark_id based on the arguments specified below:
Inputs
- type
- Joint element type. Supported values are:
- node1
- The ID of the first node of the joint element.
- node2
- The ID of the second node of the joint element.
- orient1_node
- The ID of the first orientation node of the joint element.
- orient2_node
- The ID of the second orientation node of the joint element.
- orient1_x
- x coordinate defining the first orientation vector.
- orient1_y
- y coordinate defining the first orientation vector.
- orient1_z
- z coordinate defining the first orientation vector.
- orient2_x
- x coordinate defining the second orientation vector.
- orient2_y
- y coordinate defining the second orientation vector.
- orient2_z
- z coordinate defining the second orientation vector.
- curve_set1
- The ID of the first entity set used to define the MBD curve.
- curve_set2
- The ID of the second entity set used to define the MBD curve.
- typeflag
- 1 - Update the joint type.
- nodeflag
- 1 - Update the nodes of the joint.
- orient1flag
- 1 - Update the first orientation of the joint.
- orient2flag
- 1 - Update the second orientation of the joint.
- curvesetflag
- 1 - Update entity sets used to define the curves.
Examples
To update cylindrical type joint elements of ID's 9 and 10 to be joints of type ball:
*createmark elements 1 9 10
*alternatejointupdate 1 8 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
9.0