*SetFlexbodyInvariants()
Sets the nine boolean states for the flexbody invariants.
Syntax
SetFlexbodyInvariants(object_name, SOLVER_NAME, "TTTTFTTTT")
Arguments
- object_name
- The variable name of the set flexbody.
- SOLVER_NAME
- The solver name (ADAMS only).
- "TTTTFTTTT"
- The string of nine boolean's which set the state of each of nine invariants, respectively.
Example
*System( sys_frnt_susp, "Frnt macpherson susp (1 pc. LCA)",
def_sys_frnt_susp, MODEL.sys_body.b_body )
*SetSystem(MODEL.sys_frnt_susp)
*BodyPair( b_lca, "Lwr control arm", p_lca_cg, , , )
*SetFlexbodyCompliance(b_lca.l, FLEX, arm_flex.h3d, arm_flex.mtx, FF_EXISTS)
*SetFlexbodyModes(b_lca.l, 7, 8, 9, 10, 11, 12, 13, 14, 15
, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25
, 26, 27, 28, 29, 30, 31, 32, 33, 34)
*SetFlexbodyDmodes(b_lca.l, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000)
*SetFlexbodyVmodes(b_lca.l, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000
, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000)
*SetFlexbodyMexact(b_lca.l)
*SetFlexbodyNode(MODEL.sys_frnt_susp.j_lbj.l, BODY_2, 1)
*SetFlexbodyNode(MODEL.sys_frnt_susp.j_lca_bush.l, BODY_1, 2143)
*SetFlexbodyDamping(b_lca.l, DEFAULT)
*SetFlexbodyInvariants(b_lca.l, "TTTTTTTTF")
*Set(b_lca.l.node_tol, 0.050000)
Context
Comments
The nine boolean settings tell the solver which of the nine inertia shape integrals are to be used during the simulation.