*rbe3withset

Creates an RBE3 element. The attached set may be created from a given mark of dependent nodes while the RBE3 element is created.

Syntax

*rbe3withset entity_type mark_id independent_dofs dof_size independent_weights weight_size dependent_node dof weight attach_set

Type

HyperMesh Tcl Modify Command

Description

Creates an RBE3 element. The attached set may be created from a given mark of dependent nodes while the RBE3 element is created.

Inputs

entity_type
The type of entity on the mark containing the independent entities. Valid values are nodes and sets.
mark_id
The ID of the mark containing the independent nodes or sets of nodes. Valid values are 1 and 2.
independent_dofs
The ID of the integer array containing the degrees of freedom for which each respective independent node of the element is active (any of the digits 1-6), created using *createarray. Must be set to 1.
dof_size
The size of the independent_dofs array.
independent_weights
The ID of the double array containing the weight for each respective independent node, created using *createdoublearray. Must be set to 1.
weight_size
The size of the independent_weights array.
dependent_node
The dependent node of the element. If set to 0, the dependent node will be auto-created at the centroid of the independent nodes.
dof
The degree of freedom code for which the dependent node of the element is active (any of the digits 1-6).
weight
The weight assigned to the dependent node.
attach_set
If set to 1, the attached set may be created from a given mark of dependent nodes while the RBE3 element is created.

Examples

To create an RBE3 element with dependent node ID 100 and independent nodes ID 101, 102, and 103 with all the nodes having all six degrees of freedom and a weight of 1.23:
*createmark nodes 1 101 102 103
*createarray 3 123456 123456 123456
*createdoublearray 3 1.230000 1.230000 1.230000
*rbe3withset nodes 1 1 3 1 3 100 123456 1.23 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

2023