*loadcreatewithsystemonentity_curve

Creates loads, defined in a local coordinate system, with magnitudes defined by a curve.

Syntax

*loadcreatewithsystemonentity_curve entity_type mark_id config type comp1 comp2 comp3 comp4 comp5 comp6 system_id transform_flag x_loc y_loc z_loc curve_id x_scale

Type

HyperMesh Tcl Modify Command

Description

Creates loads, defined in a local coordinate system, with magnitudes defined by a curve.

Inputs

entity_type
The type of entity the load is applied to. Valid values are nodes, points, lines, elems, surfs, comps and sets.
mark_id
The ID of the mark containing the entities.
config
The config of the load to create:
1 - force
2 - moment
3 - constraint
4 - pressure
5 - temperature
6 - nodal flux
8 - velocity
9 - acceleration
type
Solver-dependent type of the specified config.
comp[1-6]
The components of the load being applied.
For constraints, all the components are active unless they are set equal to -999999.0. All the other components of the constraints are active in the respective directions.
For other config values, the active components are 1, 2, and 3, which represent the x, y, and z-direction, respectively.
system_id
The ID of the local system to use.
transform_flag
Indicates which system supplies component values.
0 - The component values are supplied in the global coordinate system
1 - The component values are supplied in the local coordinate system
x_loc, y_loc, z_loc
For loads on components or sets, this is the display location where the graphical image for the load is drawn. If these three values are 999999, or more than one entity is selected, the display location is automatically generated.
curve_id
The ID of the curve defining the magnitude of the load.
x_scale
A scale factor applied to the x-axis (or time-axis) of the curve.

Example

To apply a force of magnitude 10.0, using curve 11 along the x axis of system 4 to nodes 5 and 25:

*createmark nodes 1 12 13 14
*loadcreatewithsystemonentity_curve nodes 1 1 3 10.0 0.0 0.0 0.0 0.0 0.0 4 0 999999 999999 999999 11 1.0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}