*loadcreatewithsystemonentitywithvars
Create loads on nodes using Tcl variables for the load components, using a local system.
Syntax
*loadcreatewithsystemonentitywithvars entity_type mark_id config type comp1_var comp2_var comp3_var comp4_var comp5_var comp6_var system_id
Type
HyperMesh Tcl Modify Command
Description
Create loads on nodes using Tcl variables for the load components, using a local system.
Inputs
- entity_type
- The type of entity the load is applied to. Currently only nodes are supported.
- mark_id
- The ID of the mark containing the entities.
- config
- The config of the load to create:
- type
- Solver-dependent type of the specified config.
- comp1_var - comp6_var
- Tcl variables containing the components of the load for each node. Each variable is an array with its indices as node IDs and its value the component for that direction. If the variable or index does not exist, the component will be set to zero. These variables must be fully qualified when passed in (for example, ::data::comp1).
- system_id
- The ID of a system that will transform the first three components before creating the load. An ID of zero indicates use of the global system.
Example
set ::comp1(50) 100
set ::comp2(51) 200
*createmark nodes 1 50 51
*loadcreatewithsystemonentitywithvars nodes 1 1 1 ::comp1 ::comp2 ::comp3 ::comp4 ::comp5 ::comp6 5
Errors
None.