*SetMotionIC() - asymmetric motion pair
Sets the initial conditions of an asymmetric motion pair.
Syntax
*SetMotionIC(motion_name, , l_ic_disp,
l_ic_vel,
r_lc_disp,
r_ic_vel)
*Set(motion_name.l.use_local_dll, TRUE|FALSE)
*Set(motion_name.r.use_local_dll, TRUE|FALSE)
*Set(motion.l.local_dll, "string")
*Set(motion.r.local_dll, "string")
Arguments
- motion_name
- The variable name of an existing motion pair.
- l_ic_disp
- The initial displacement of the left motion.
- l_ic_vel
- The initial velocity of the left motion.
- r_ic_disp
- The initial displacement of the right motion.
- r_ic_vel
- The initial velocity of the right motion.
- motion_name.l.use_local_dll motion_name.r.use_local_dll
- Specifies if a user subroutine DLL specific to the instance of one motion pair entity is to be used.
- motion_name.l.local_dll motion_name.r.local_dll
- The path and filename for the user subroutine DLL to be used with an instance of the user defined motion pair.
Example
*SetMotionIC(wheel_motion, , 5, 1, 5, 2)
Context
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.
The second argument is left blank to indicate no symmetry.