*SetForce() - single component rotation

Sets the value for a single component rotational action-reaction force.

Syntax

*SetForce(force_name, TYPE_t, TOKEN_t,)

Token

If you select this TYPE, use this TOKEN
LIN
Enter a value for t.
Token: Value
CRV
Use a Curve to represent the torque behavior. See Comments.
Token: curve_name,

AKIMA|CUBIC|LINEAR|QUINTIC,

`indep_variable`

SPL3D
Use a Spline3D to represent the torque behavior. See Comments.
Token: spl3d_name,

AKIMA|CUBIC|LINEAR|QUINTIC

'indep_var1',

'indep_var2'

EXPR
Enter a solver expression that represents the torque behavior.
Token: `expression`

Arguments

force_name
The variable name of an existing action-reaction force of type SC_ROT.
Data type: varname
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 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 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 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 torque.

Example

*Body(b_frame, "frame body")
*BodyPair(b_Lca, "Lower control arm")
*Force(f1, "Rebound force", SC_ROT, 
 b_frame, b_lca.l, 
 p_reb_frame.l, p_reb_lca.l)
*PointPair(p_reb_frame, "Rebound pt. on frame")
*PointPair(p_reb_lca, "Rebound pt. on LCA")
*SetForce(f1, LIN, 30.0)
*SetForce(f2, LIN, ds.real1.value + ds.real2.value)
*SetForce(f3, CRV, crv_force, AKIMA, 'DM({f3.i.id}, {f3.j.id})')
*SetForce(f4, SPL3D, spl_force, CUBIC, 'DM({f4.i.id}, {f4.j.id})')
*SetForce(f4, EXPR, '100.0*DM({f3.i.%d}, {f3.j.%d})')

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

*DefineAssembly()

*BeginContext()

Comments

To specify non-linear properties for the torque in any direction, a solver expression, curve data, or spline 3D data can be used. When using solver expressions, Templex syntax is used and all variables are enclosed in braces {} and the rest is treated as literal.

The QUINTIC interpolation method is supported for MotionSolve only.