*SetForce() - asymmetric single component rotation

Sets the value for an asymmetric single component rotational action-reaction force pair.

Syntax

*SetForce(force_name, , TYPE_t_1, TOKEN_t_1, TYPE_t_r, TOKEN_t_r)

Token

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

AKIMA|CUBIC|LINEAR|QUINTIC,

`indep_variable`

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

AKIMA|CUBIC|LINEAR|QUINTIC

'indep_var1',

'indep_var2'

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

Arguments

force_name
The variable name of an existing action-reaction force pair 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 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

Example 1

In the following example, the rotational force on the left has a linear value of 30.0, while on the right a linear value is provided as a parametric expression referring to dataset values.
*SetForce(f1, , LIN, 30.0, LIN, ds.real1.value + ds.real2.value)

Example 2

In the following example, the left rotational force refers to a curve crv_rot, while the right refers to a Spline3D spl_rot.
*SetForce(2, , CRV,crv_rot ,CUBIC ,`{f2.l.AZ}` , SPL3D, spl_rot,
CUBIC, `{f2.r.AZ}`, `WZ({frc_0.r.i.idstring},
{frc_0.r.j.idstring})`)

Example 3

In the following example, the left rotation force is specified a linear value, while the right one is given as an expression.
*SetForce(f3, , LIN,30.0, EXPR,`100*{f3.r.AZ}`)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

*DefineAssembly()

*BeginContext()

Comments

The symmetry argument is empty when using a force with asymmetric line of action.

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.