The GFORCE function returns the component comp of the force in GFORCE/id in the coordinate system of marker rm. If jflag is set to zero, Adams Solver (FORTRAN) returns the value of the force/torque that acts on the I marker of GFORCE/id. If jflag is set to 1, Adams Solver (FORTRAN) returns the value that acts on the J marker. To obtain results in the global coordinate system, you can specify rm as zero.
Format
GFORCE (id, jflag, comp, rm)
Arguments
id | An integer specifying the identification number of the GFORCE. |
jflag | An integer flag specifying the GFORCE 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 GFORCE 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. To return the results in the global coordinate system, set rm = 0. |
Examples
GFORCE/1, I=516, J=34, RM=23
, FX=-0.3*GFORCE(1,0,4,23)/
, FY=0/
, FZ=IMPACT(DZ(516,0,23),VZ(516,0,23,23),4.6,1e5,1.5,10,0.01)
This GFORCE statement defines a force acting at Marker 516. The components of the force are defined along the x-, y-, z-axes of Marker 23.
The x-component of the force is -0.3 times the z-component of the force.
The z-component of the force is defined as an impact force (see
IMPACT ) that is a function of the displacement and velocity of Marker 516, as seen by Marker 23.