*SetForce() - asymmetric line of action

Sets the value for an asymmetric line of action action-reaction force pair.

Syntax

*SetForce(force_name, , TYPE_f_l, TOKEN_f_l, 
                                  TYPE_f_r, TOKEN_f_r,)

Token

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

AKIMA|CUBIC|LINEAR|QUINTIC,

`indep_variable`

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

AKIMA|CUBIC|LINEAR|QUINTIC

'indep_var1',

'indep_var2'

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

Arguments

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

Example

Example 1

In the following example, the line of action force pair is set to linear values on both sides, with the right referring to a value in a dataset through a parametric expression.
*SetForce(f1, , LIN, 30.0, LIN, ds.real1.value +
ds.real2.value)

Example 2

In the following example, both sides of the force pair are set to point to a curve, with a solver expression measuring distance between force markers acting as an independent variable.
*SetForce(f2, ,CRV, crv_force, AKIMA,‘DM({f2.l.i.id},
{f2.l.j.id})‘, CRV,crv_force, AKIMA,‘DM({f2.r.i.id}, {f2.r.j.id})‘)

Example 3

In the following example, the force on the left side refers to a Spline3D. The first independent variable is the distance between the force markers and the second independent variable is the relative velocity of the two markers. The right side force refers to a curve as in Example 2 (above).
*SetForce(f3, ,SPL3D, spl_force, CUBIC,‘DM({f3.l.i.id},
{f3.l.j.id})‘, ,‘VR({f3.l.i.id}, {f3.l.j.id})`,
 SPL3D, spl_force, CUBIC,‘DM({f3.r.i.id}, {f3.r.j.id})‘, ,
‘VR({f3.r.i.id}, {f3.r.j.id})`  )

Example 4

In the following example, the line of action forces on both sides refer to a solver expression.
*SetForce(f4, ,EXPR, ‘100.0*DM({f4.l.i.id, %d}, 
{f4.l.j.id, %d})‘, EXPR, ‘100.0*DM({f4.r.i.id, %d}, {f4.r.j.id, %d})‘)

Example 5

In the following example, the line of action force on left side refers to a curve while the force on the right uses a solver expression.
*SetForce(f5, ,CRV, crv_force2, AKIMA,‘DM({f5.l.i.id},
{f5.l.j.id})‘, EXPR, ‘100.0*DM({f5.r.i.id, %d}, 
{f5.r.j.id, %d})‘)

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 force 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.