*SetForce() - symmetric translational and rotational
Sets the values for a symmetric translational and rotational action-only or action-reaction force pair.
Syntax
*SetForce(force_name, LEFT|RIGHT, LIN, value_fx,
LIN, value_fy,
LIN, value_fz,
LIN, value_tx,
LIN, value_ty,
LIN, value_tz)
Arguments
- force_name
- The variable name of an existing translational and rotational 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, MDL expressions, or solver expressions that determine the value of the translational X, Y, and Z components of the specified side of the force.
- value_tx, value_ty, value_tz
- Numbers or MDL expressions that determine the value of the rotational forces about the X, Y, and Z axis of the specified side of the force.
- curve_name, AKIMA|CUBIC|LINEAR| QUINTIC, `indep_variable`
- When using curve data, a curve, an interpolation method, and an independent variable must be specified, where curve_name is the variable name of an existing curve that represents the force/torque characteristic, the interpolation method can be set to AKIMA, CUBIC, LINEAR, or QUINTIC. The indep_variable is the solver expression representing the independent variable along which the force/torque curve is characterized.
- spl3d name, AKIMA|CUBIC|LINEAR| QUINTIC, 'indep_var1', 'indep_var2'
- When using spline3d, a Spline3D entity, an interpolation method, and two independent variables must be specified, where spl3d_name is the variable name of an existing Spline3D entity that would represent the force/torque v/s two independent variables. The interpolation method can be set to AKIMA, CUBIC, LINEAR, or QUINTIC. indep_var1 is the solver expression for the first independent variable. indep_var2 is the solver expression that represents the second independent variable.
- `expression`
- A solver expression for the force/torque.
Example
*BodyPair(b_wheel, "Wheel body")
*PointPair(p_wc, "Wheel center")
*ActionOnlyForcePair(frc_wc,
"Applied force on wheel center",
TRANS_ROT,
b_wheel,
p_wc, mrk_ref)
*SetForce(frc_wc, RIGHT, LIN, 0, LIN, 100, LIN, 0,
LIN, ds.real1, value, LIN, ds.real2.value,
LIN, 250)
Context
Comments
Solver expressions, curve data, or user subroutines cannot be used for symmetric force pairs.