*SetBeamPreload() - single beam
Sets the preload properties of a single beam.
Syntax
*SetBeamPreload(beam_name,f_x,f_y,f_z,t_x,t_y,t_z)
Arguments
- beam_name
- The variable name of the beam.
- f_x, f_y, f_z,
- The preload force in the beam in the X, Y, or Z directions respectively.
- t_x, t_y, t_z
- The preload torque in the beam in the X, Y, or Z directions respectively.
Example
*BeginMDL()
*Point(p_tbar_susp_att, "Torsion bar susp att")
*Point(p_tbar_frame_att, "Torsion bar frame att")
*Body(b_lca, "LCA", p_lca_cg)
*Body(b_frame, "Frame", p_frame_cg)
*Beam(bm_tbar, "Torsion bar", b_lca, b_frame, p_tbar_susp_att,
p_tbar_frame_att)
*SetBeamPreload( bm_tbar, 0, 200, 300, 4000, 0, 0)
*EndMDL()
Context
Comments
This statement is applicable for the MotionSolve solver mode only.
The default for preload in any direction is zero.
The preload is applied in the local coordinate system (J Marker) of the beam. The force and torque arguments can be real or an expression that evaluates to a real number.