*SetJointIC() - asymmetric joint pair

Sets asymmetric initial conditions of a joint pair.

Syntax

*SetJointIC(joint_name, , [TRANS|ROT], 
                                    l_ic_disp, 
                                    l_ic_vel, 
                                    r_ic_disp, 
                                    r_ic_vel) 
*Set(joint_name.l.use_local_dll,TRUE|FALSE) 
*Set(joint_name.r.use_local_dll,TRUE|FALSE) 
*Set(joint.l.local_dll,"string") 
*Set(joint.r.local_dll,"string")

Arguments

joint_name
The variable name of an existing joint pair.
Data type: varname
TRANS ROT
This argument indicates whether the initial condition values are translational or rotational.
l_ic_disp
The initial displacement of the left joint.
Data type: real
l_ic_vel
The initial velocity of the left joint.
Data type: real
r_ic_disp
The initial displacement of the right joint.
Data type: real
r_ic_vel
The initial velocity of the right joint.
Data type: real
joint_name.l.use_local_dll joint_name.r.use_local_dll
Specifies if a user subroutine DLL specific to the instance of one motion pair entity is to be used.
Data type: boolean
joint_name.l.local_dll joint_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.
Data type: string

Example

*SetJointIC(spindle_revjt, , ROT, 10, 1, 5, 2)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Comments

Initial conditions can only be applied to revolute joints, translational joints and cylindrical joints.

TRANS or ROT is required only for cylindrical joints. For all other joints, this argument may be left blank.

The second argument is left blank to indicate asymmetric properties.