VFORCE

The VFORCE function returns the component comp of the force in VFORCE/id in the coordinate system of marker rm. If jflag is set to zero, Adams Solver (C++) returns the value of force/torque that acts on the I marker of VFORCE/id. If jflag is set to 1, Adams Solver (C++) returns the value that acts on the J marker. To obtain results in the global coordinate system, you can specify rm as zero.

Format

VFORCE (id, jflag, comp, rm)

Arguments

 
id
An integer specifying the identification number of the VFORCE.
jflag
An integer flag specifying the VFORCE 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 VFORCE that is 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

MARKER/236, QP=4,6,7, EU=90D,90D,0, PART=23
MARKER/169, PART=16, FLOATING
MARKER/168, QP=1,2,3, EU=30D,45D,60D, PART=16
VFORCE/19, I=236, JFLOAT=169
,FX=-10*VX(236,168,168,168)/
,FY=-10*VY(236,168,168,168)/
,FZ=-10*VZ(236,168,168,168)
REQUEST/1
,F2=VFORCE(23,0,2,0)/
This REQUEST statement contains the x-component of the force exerted by VFORCE/19 calculated in the coordinate system of Marker 168.