CONTACT

The CONTACT function returns the component comp of the force in CONTACT/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 CONTACT. 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

CONTACT (id, jflag, comp, rm)

Arguments

 
id
An integer specifying the identification number of the CONTACT.
jflag
An integer flag specifying the CONTACT 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 CONTACT to be returned:
1 - Magnitude of the force applied by all incidents of contact ID
2 - x-component of the force applied by all incidents of contact ID
3 - y-component of the force applied by all incidents of contact ID
4 - z-component of the force applied by all incidents of contact ID
5 - Magnitude of the torque applied by all incidents of contact ID
6 - x-component of the torque applied by all incidents of contact ID
7 - y-component of the torque applied by all incidents of contact ID
8 - z-component of the torque applied by all incidents of contact ID
rm
The coordinate system in which the results are expressed. To return the results in the global coordinate system, set rm = 0.

Examples

REQUEST/1
, F2= CONTACT(11,0,2,0)/
, F3= CONTACT(11,0,3,0)/
, F4= CONTACT(11,0,4,0)/
, F6= CONTACT(11,0,6,0)/
, F7= CONTACT(11,0,7,0)/
, F8= CONTACT(11,0,8,0)
This REQUEST statement outputs the x-, y- and z-components of the force and torque at the I marker of CONTACT/11. Because rm is specified as zero, all vectors are expressed in the global coordinate system.