*BeamPair()
Creates a beam pair.
Syntax
*BeamPair(beam_name,"beam_label",body_1, body_2, point_1, point_2)
Arguments
- beam_name
- The variable name of the beam pair.
- beam_label
- The descriptive label of the beam pair.
- body_1
- The first body or body pair attached to the beam pair.
- body_2
- The second body or body pair attached to the beam pair.
- point_1
- The point or point pair at which b1 is attached to the beam pair.
- point_2
- The point or point pair at which b2 is attached to the beam pair.
Example
*PointPair(p_tbar_susp_att, "Torsion bar susp att")
*PointPair(p_tbar_frame_att, "Torsion bar frame att")
*BodyPair(b_lca, "LCA", p_lca_cg)
*BodyPair(b_frame, "Frame", p_frame_cg)
*BeamPair(bm_tbar, "Torsion bar", b_lca,
b_frame,
p_tbar_susp_att,
p_tbar_frame_att)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
i | MarkerPair | The marker pair attached to the first body pair. |
j | MarkerPair | The marker pair attached to the second body pair. |
l | Beam | Left beam. |
label | string | The descriptive label of the beam pair. |
r | Beam | Right beam. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the beam pair. |
Comments
The individual beams of a *BeamPair() can be referred to as beam_name.l (left beam) and beam_name.r (right beam).*BeamPair() can be used to model a massless beam pair of circular or arbitrary cross-sections.