*SetBodyInertia() - asymmetric body pair
Sets the mass properties of an asymmetric body pair.
Syntax
*SetBodyInertia(body_name, ,mass_l, ixx_l, iyy_l, izz_l,
ixy_l, ixz_l, iyz_l ,
mass_r, ixx_r, iyy_r, izz_r,
ixy_r, ixz_r, iyz_r)
Arguments
- body_name
- The variable name of an existing body pair.
- mass_l
- The mass of the left body.
- ixx_l, iyy_l, izz_l, ixy_l, ixz_l, iyz_l
- The moments of inertia of the left body.
- mass_r
- The mass of the right body.
- ixx_r, iyy_r, izz_r, ixy_r, ixz_r, iyz_r
- The moments of inertia of the right body.
Example
*Body(crank, "Crank", crank_cm)
*SetBodyInertia(crank, , 10, 3, 4, 5,
0, 0, 0,
15, 3, 4, 5,
0, 0, 0)
Context
Comments
The second argument, which is used for specifying symmetry, is empty when assigning asymmetric coordinates to a body pair.