*equationcreatebylist
Creates an equation between a dependent node and multiple independent nodes using a list.
Syntax
*equationcreatebylist list_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
- list_id
- The list ID containing the independent nodes. Valid values are 1 and 2.
- independent_dofs
- The ID of the array 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 ID of the array 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 independent node weight.
- constant
- The constant value assigned to all independent and dependent nodes.
Example
*createlist nodes 1 101 102 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
*equationcreatebylist 1 1 3 1 18 100 5 1.23 5.0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}