*loadsupdatecurve

Updates the magnitude, direction, coordinate system, and other information of selected loads.

Syntax

*loadsupdatecurve markmask config type updatevector component [1-6] updatemag magnitude update_system system_id transform_flag updatecurve curve_id updatexscale xscale updatedisplaylocation xlocation ylocation zlocation

Type

HyperMesh Tcl Modify

Description

Updates the magnitude, direction, coordinate system, and other information of selected loads.

Inputs

markmask
ID of the mark containing the loads to update.
config
The configuration of the load:
1 - Force
2 - Moment
3 - Constraints
5 - Temperature
6 - Flux
8 - Velocity
9 - Acceleration
type
The type assigned to the load (as defined on the "load types" panel).
updatevector
A variable that controls if the direction of the load should be updated.
component[1-6]
Components of the load being applied. When applying a force, the active components are 1, 2, and 3, which represent a force x, y, and z-axis, respectively. When applying a moment, the active components are also 1, 2, and 3, and represent the moment about the x, y, and z-axis, respectively. For constraints, all of the components are active unless they are set equal to -999999.0. All of the other components of the constraints are active in the respective directions. For pressures, the active components are 1, 2, and 3, which represent the x, y, and z-axis, respectively. To create a pressure that is normal to the element, set all components to zero.
updatemag
An integer variable that controls if the magnitude is updated.
magnitude
The new value of magnitude of the load.
update_system
A variable that controls if the system is updated.
system_id
The ID of the local system.
transform_flag
A simple integer variable that controls if the load is created in the local system.
updatecurve
A flag to indicate whether the curve should be updated (0=no, 1=yes).
curve_id
The ID of the new curve to use.
updatexscale
A flag to indicate whether the curve’s scale factor should be updated.
  • 0 - No
  • 1 - Yes
xscale
The new value to use for scale factor.
updatedisplaylocation
A flag to indicate whether the curve’s display location should be updated.
  • 0 - No
  • 1 - Yes
xlocation, ylocation, zlocation
The new display location (used only if updatedisplaylocation =1)

Example

Example to update a force to use the curve with ID 7 to define its time-varying magnitude:

*createmark(loads,1)  4
*loadsupdatecurve(1,1,1, 0, 0,0,0,0,0,0, 0,0, 0,0,0, 1,7, 0,0, 0,0,0,0)

Errors

None.