The SPDP function returns the component comp of a force due to SPRINGDAMPER/id as calculated in the coordinate system of marker rm. If jflag is set to zero, the value returned is the force/torque that acts on the I marker of the SPRINGDAMPER. If jflag is set to 1, the value returned is the value that acts on the j marker. To get results in the global coordinate system, you can specify rm as zero.
Format
SPDP (id, jflag, comp, rm)
Arguments
id | An integer specifying the identification number of the SPDP. |
jflag | An integer flag specifying the SPDP connectivity marker at which the forces and torques are computed.
0 = forces and moments at the I marker 1 = forces and moment at the J marker |
comp | An integer value that specifies the component of the SPDP force to be returned.
1 = Magnitude of the force 2 = x component of the force 3 = y component of the force 4 = z component of the force 5 = Magnitude of the torque 6 = x component of the torque 7 = y component of the torque 8 = z component of the torque |
rm | The coordinate system in which the results are expressed. Set rm = 0 if you want to return the results in the global coordinate system. |
Examples
REQUEST/1
, F2=SPDP(31,0,2,0)/
, F3=SPDP(31,0,3,0)/
, F4=SPDP(31,0,4,0)/
, F5=SPDP(31,0,5,0)/
, F6=SPDP(31,0,6,0)/
, F7=SPDP(31,0,7,0)/
, F8=SPDP(31,0,8,0)
This REQUEST statement output the x-, y- and z-components of the force and torque at the I marker of SPDP/31. Since rm is specified as zero, all vectors are expressed in the global coordinate system.