*BodyPair()

Creates a body pair.

Syntax

*BodyPair(body_name,"body_label",[cm_origin], [im_origin], [lprf_origin], [vm_marker] [wm_marker])

Arguments

body_name
The variable name of the body pair.
Data type: varname
body_label
The descriptive label of the body pair.
Data type: label
cm_origin
An optional argument for the center of mass for each body of the body pair.
Data type: Point or PointPair
im_origin
An optional argument for the origin of the inertia marker for each body of the body pair.
Data type: Point or PointPair
lprf_origin
An optional argument for the origin of the local part reference frame for each body of the body pair.
Data type: Point or PointPair
vm_marker
An optional argument that specifies the direction of translational velocity initial conditions.
Data type: Point or PointPair
wm_marker
An optional argument that specifies the axes about which angular velocity initial conditions are defined.
Data type: Point or PointPair

Example

*BodyPair(b_wheel, "Wheel", p_wheel_cg)
*PointPair(p_wheel_cg, "Wheel center of gravity")
*BodyPair(b_wheel, "Wheel", p_wheel_cg, , , 20)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Properties

Table 1.
Property Returns Data Type Description
cg PointPair The location of the center of mass for each body of the body pair.
cm MarkerPair The marker at the center of mass for each body of the body pair.
dummy_bodies boolean Flags MotionView to use dummy bodies for all attachments of flexbody.
im MarkerPair The inertia marker of the body pair.
l Body Left body.
label string The descriptive label of the body pair.
lprf MarkerPair The local part reference frame for each body of the body pair.
node_tol real Sets the tolerance to be used when the Find button in the interface is selected.
r Body Right body.
state boolean Control state (TRUE or FALSE).
varname string The variable name of the body pair.