*ActionReactionForcePair()
Creates an action-reaction force pair.
Syntax
*ActionReactionForcePair (force_name, "force_label", {TRANS ROT TRANS_ROT}, body_1, body_2, point, Optional: ref_marker)
Arguments
- force_name
- The variable name of the action-reaction force pair.
- force_label
- The descriptive label of the action-reaction force pair.
- TRANS | ROT | TRANS_ROT
- This argument indicates whether the action-reaction force pair has translational, rotational, or both translation and rotational components.
- body_1
- The body or body pair to which the active force pair is applied.
- body_2
- The body or body pair to which the reactive force pair is applied.
- point
- The point or point pair at which the force pair is applied.
- ref_marker
- An optional argument for the reference marker or reference marker pair in which the components of the force are specified.
Example
*PointPair(p_jnc_bmp, "Jounce bumper pt")
*Body(b_axle, "Axle", p_axle_cg)
*Body(b_frame, "Frame", p_frame_cg)
*MarkerPair(mrk_ref, "Force reference", b_axle, p_wc)
*ActionReactionForcePair(frc_bmp, "Jounce bumper force", TRANS, b_axle, b_frame, p_jnc_bmp, mrk_ref)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | BodyPair | Body pair to which the force pair is applied. |
b2 | BodyPair | Body pair to which the reactive force pair is applied. |
b3 | BodyPair | Body pair to which the reference marker is attached. |
i | MarkerPair | The marker pair attached to b1. |
j | MarkerPair | The marker pair attached to b2. |
jfloat | MarkerPair | The floating marker pair attached to b2. |
l | ActionOnlyForce | Left force. |
label | string | The descriptive label of the action-reaction force pair. |
r | ActionOnlyForce | Right force. |
rm | MarkerPair | The reference marker pair in which the components of the force pair are specified. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the action-reaction force pair. |
Comments
*ActionReactionForcePair() is used to apply action-reaction force pairs to points or point pairs on bodies or body pairs.
If the optional argument for ref_marker is not specified, a global inertial frame is used as the reference marker for specifying force components.
The individual forces of an *ActionReactionForcePair() can be referred to as force_name.l (left force) and force_name.r (right force).