*SetTorsionSpring() - asymmetric torsion spring pair

Sets the properties of an asymmetric torsion spring pair.

Syntax

*SetTorsionSpring(spr_name, , TYPE_k_l, TOKEN_k_l 
                                        TYPE_c_l, TOKEN_c_l 
                                        f_l, l_l, 
                                        TYPE_k_r, TOKEN_k_r 
                                        TYPE_c_r, TOKEN_c_r 
                                        f_r, l_r)

Token

If you select this TYPE, use this TOKEN
LIN
Enter a value for: k_l, c_l, k_r, c_r
Token: Value
CRV
Use a curve to represent the torsion spring behavior. See Comments.
Token: curve_name,

AKIMA|CUBIC|LINEAR|

QUINTIC,

`indep_variable`

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

AKIMA|CUBIC|LINEAR|QUINTIC

'indep_var1',

'indep_var2'

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

Arguments

spr_name
The variable name of an existing torsion spring pair.
Data type: varname
k_l
The stiffness coefficient of the left torsion spring.
Data type: real
c_l
The damping coefficient of the left torsion spring.
Data type: real
f_l
The load on the left torsion spring when it has a particular angle.
Data type: real
l_l
The angle of the left torsion spring when it has a particular load.
Data type: real
k_r
The stiffness coefficient of the right torsion spring.
Data type: real
c_r
The damping coefficient of the right torsion spring.
Data type: real
f_r
The load on the right torsion spring when it has a particular angle.
Data type: real
l_r
The angle of the right torsion spring when it has a particular load.
Data type: real
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`
An expression for the torsion spring token.

Example

*PointPair(p_bar_mnt_left,  "Bar mnt left")
*PointPair(p_bar_mnt_right, "Bar mnt right")
*BodyPair(b_bar_left,       "Bar left",  p_bar_left_cg)
*BodyPair(b_bar_right,      "Bar right", p_bar_right_cg)

*TorsionSpringPair(tspr,    "Torsion spring",
                              b_bar_left,
                              b_bar_right,
                              p_bar_mnt_left,
                              p_bar_mnt_right)
*SetTorsionSpring(spring_uca, ,
      1.000e+02, 0.000e+00, 0.000e+00, 3.500e+02, 1.100e+02, 0.000e+00,
      0.000e+00, 3.400e+02)

*TorsionSpringPair( spr_tbar, "Torsion bar", 
                        b_upr, 
                        b_lwr, 
                        p_upr, 
                        p_lwr)
    
*SetTorsionSpring(spr_tbar,  , `-POLY({ spr_tbar.l.AZ }, 
             0, 0, 10, 30)`,
                               1000,
                               0,
                               0,
                               `-POLY({ spr_tbar.r.AZ }, 
             0, 0, 10, 30)`,
                               1000,
                               0,
                               0)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

The second argument (used to specify symmetry) is left empty when specifying asymmetric properties for a torsion spring pair.

Nonlinear properties can be specified only for asymmetric torsion spring pairs.

To specify non-linear properties for the torsion spring in any direction, a solver expression or 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.