*SetCoilSpring() - asymmetric coil spring pair
Sets the properties of an asymmetric coil spring pair.
Syntax
*SetCoilSpring(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
- LIN
- TOKEN: Value
- CRV
- TOKEN: curve_name, AKIMA|CUBIC|LINEAR|QUINTIC, `indep_variable`
- SPL3D
- TOKEN: spl3d_name, AKIMA|CUBIC|LINEAR|QUINTIC 'indep_var1','indep_var2'
- EXPR
- TOKEN: `expression`
Arguments
- spr_name
- The variable name of an existing coil spring pair.
- k_l
- The stiffness coefficient of the left coil spring.
- c_l
- The damping coefficient of the left coil spring.
- f_l
- The load on the left coil spring when it has a particular length.
- l_l
- The length of the left coil spring when it has a particular load.
- k_r
- The stiffness coefficient of the right coil spring.
- c_r
- The damping coefficient of the right coil spring.
- f_r
- The load on the right coil spring when it has a particular length.
- l_r
- The length of the right coil spring when it has a particular load.
- 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 coil spring.
Example
*Body(b_lca, "LCA", p_lca_cm)
*Body(b_frame, "Frame", p_frame_cm)
*Point(p_spr_upr, "Spring @ frame")
*Point(p_spr_lwr, "Spring @ lca")
*CoilSpring(spring_uca, "Coil Spring",
b_lca,
b_frame,
p_spr_upr,
p_spr_lwr)
*SetCoilSpring(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)
*CoilSpringPair( cspr, "Coil spring", b_frame,
b_lca,
p_spr_upr,
p_spr_lwr )
*Curve( crv_spr, "Spring rate")
*SetCoilSpring(cspr, , crv_spr.interp(CUBIC,
`{cspr.l.DM} -235` ),
0,
0,
235,
crv_spr.interp(CUBIC,
`{cspr.r.DM} -235` ),
0,
0,
235
)
*CoilSpringPair( dmp, "Damper", b_shk_upr,
b_shk_lwr,
p_shk_upr,
p_shk_lwr )
*Curve( crv_dmp, "Damping rate")
*SetCoilSpring(dmp, , 0, `POLY({ cspr.l.VR }, 0, 0, 10, 0, 3)`,
0,
235,
0,
`POLY({ cspr.r.VR }, 0, 0, 10, 0, 3)`,
0,
235)
Context
Comments
The second argument (used to specify symmetry) is left empty when specifying asymmetric properties for a coil spring pair.
Nonlinear properties can be specified only for asymmetric coil spring pairs.
To specify non-linear properties for the coil 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.