*SetMotionIC() - single motion

Sets the initial conditions of a motion.

Syntax

*SetMotionIC(motion_name, ic_disp, ic_vel) 
*Set(motion_name.use_local_dll, TRUE|FALSE) 
*Set(motion.local_dll, "string")

Arguments

motion_name
The variable name of an existing motion.
Data type: varname
ic_disp
The initial displacement of the motion.
Data type: real
ic_vel
The initial velocity of the motion.
Data type: real
motion_name.use_local_dll
Specifies if a user subroutine DLL is specific to the instance of one coupler entity.
Data type: boolean
motion_name.local_dll
The path and filename for the user subroutine DLL to be used with an instance of the user defined coupler.
Data type: string

Example

*SetMotionIC(rack_mnt, 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.