*SetForce() - symmetric translational
Sets the values for a symmetric translational action-only or action-reaction force pair.
Syntax
*SetForce(force_name, LEFT|RIGHT, LIN, value_fx
LIN, value_fy
LIN,value_fz)
Arguments
- force_name
- The variable name of an existing translational action-only or action-reaction force pair.
- LEFT RIGHT
- If LEFT is specified, the properties are assigned to the left force, and the right force properties are made symmetric to the left force.
- LIN
- Keyword suggesting that a linear value is used to specify the force value. With symmetry, only LIN is valid.
- value_fx, value_fy, value_fz
- Numbers or MDL expressions that determine the value of the translational X, Y, and Z components of the specified side of the force.
Example
*SetForce(frc_wc, RIGHT, LIN, 10.0, LIN, 11.0, LIN, 12.0)
*SetForce(frc_wc, LEFT, LIN, ds.real1.value * ds.real2.value,
LIN, 10.3,
LIN, ds.real3.value)
Context
Comments
Solver expressions, curve data, or user subroutines cannot be used for symmetric force pairs.