*SetBodyInertia() - symmetric body pair

Sets the mass properties of a symmetric body pair.

Syntax

*SetBodyInertia(body_name, LEFT|RIGHT, mass, 
                                                ixx, iyy, izz, 
                                                ixy, ixz, iyz)

Arguments

body_name
The variable name of an existing body pair.
Data type: varname
LEFT RIGHT
If LEFT is specified, the properties are assigned to the left body, and the right body properties are made symmetric to the left body.
If RIGHT is specified, the properties are assigned to the right body, and the left body properties are made symmetric to the right body.
mass
The mass of the specified side of the body pair.
Data type: real
ixx, iyy, izz, ixy, ixz, iyz
The moments of inertia of the specified side of the body pair.
Data type: real

Example

*Body(crank, "Crank", crank_cm)
*SetBodyInertia(crank, LEFT, 3, 
10000, 10000, 10000, 
0, 0, 0)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()