*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:
  • 8 - Ball
  • 9 - Fixed
  • 10 - Revolute
  • 11 - Translational
  • 12 - Cylindrical
  • 13 - Universal
  • 14 - Constant velocity
  • 15 - Planar
  • 16 - Inline
  • 17 - Perpendicular
  • 18 - Parallel axes
  • 19 - Inplane
  • 20 - Orient
  • 21 - Point to Curve
  • 22 - Curve to Curve
  • 23 - Point to Deformable Curve
  • 24: Point to Deformable Surface
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.
0 - Do not update this joint type.
nodeflag
1 - Update the nodes of the joint.
0 - Do not update the nodes of the joint.
orient1flag
1 - Update the first orientation of the joint.
0 - Do not update.
orient2flag
1 - Update the second orientation of the joint.
0 - Do not update.
curvesetflag
1 - Update entity sets used to define the curves.
0 - Do not update entity sets.

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