*SetMotionIC() - symmetric motion pair

Sets the initial conditions of a symmetric motion pair.

Syntax

*SetMotionIC(motion_name, LEFT|RIGHT, 
                                    ic_disp, 
                                    ic_vel)

Arguments

motion_name
The variable name of an existing motion pair.
Data type: varname
LEFT RIGHT
If LEFT is specified, the properties are assigned to the left motion, and the right motion properties are made symmetric to the left motion.
If RIGHT is specified, the properties are assigned to the right motion, and the left motion properties are made symmetric to the right motion.
ic_disp
The initial displacement of the specified side of the motion pair.
Data type: real
ic_vel
The initial velocity of the specified side of the motion pair.
Data type: real

Example

*SetMotionIC(wheel_motion, LEFT, 5, 1)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

The initial conditions for motions are required only if the applied motion is of type velocity or acceleration.

ic_disp is required if applied motion is of type velocity.

ic_disp and ic_vel are required if motion is of type acceleration.