*SetFlexbodyModes()
Identifies which modes are included when MotionView generates the flexbody matrix file for the solver.
Syntax
*SetFlexbodyModes(body_name, SOLVER_NAME,
mode1, mode2, ...modeN)
Arguments
- body_name
- The variable name of the body that has the compliant state as FLEX.
- SOLVER_NAME
- The name of the solver.
- mode1, mode2, modeN
- Mode that will be included when generating the matrix file.
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
MotionView generates the solver flexbody matrix file when the solver input deck is saved. The matrix file can also be generated stand-alone with the Flexbody Prep custom wizard.