*equationcreate
Creates an equation between a dependent node and multiple independent nodes.
Syntax
*equationcreate mark_id independent_dofs dof_size independent_weights weight_size dependent dof weight constant
Type
HyperMesh Tcl Modify
Description
This command creates an equation between a dependent node and multiple independent nodes.
Inputs
- mark_id
- The mark ID containing the independent nodes. Valid values are 1 and 2.
- independent_dofs
- The array ID containing the degrees of freedom for which each respective independent node of the equation is active. This array is created with the *createarray command.
- dof_size
- The size of the independent_dofs array. This should be equal to the number of independent nodes.
- independent_weights
- The array ID containing the weight for each respective independent node. The size of array is 6* dof_size. This array is created with the *createdoublearray command.
- weight_size
- The size of the independent_weights array. This should be equal to 6*dof_size.
- dependent
- The dependent node ID.
- dof
- The degree of freedom for which the dependent node of the equation is active. Valid values are 1 through 6.
- weight
- The dependent node weight.
- constant
- The constant value assigned to all independent and dependent nodes.
Example
*createmark nodes 1 101-103
*createarray 3 13 13 13
*createdoublearray 18 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23 1.23
*equationcreate 1 1 3 1 18 100 5 1.23 5.0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}