*SetBodyIC() - single body
Sets the initial conditions for a body.
Syntax
*SetBodyIC(body_name, vx, vy, vz, wx, wy, wz)
Arguments
- body_name
- The variable name of an existing body.
- vx, vy, vz
- Initial translational velocity along the X, Y, and Z coordinates.
- wx, wy, wz
- Initial rotational velocity along the X, Y, and Z coordinates.
Example
*Body(b_axle, "axle", p_wc)
*Body(b_wheel, "wheel", p_wheel_cm)
*Point(p_wc, "Center")
*SetBodyIC(b_wheel, 10, 20, , , , 1)
*SetBodyIC(b_axle, b_wheel.vx, b_wheel.vy)
Context
Comments
Arguments can be empty, real, or expressions. If an argument is empty, the last setting for the corresponding initial condition component is retained.