The CONTACT_DATA function returns the max/min magnitude of component comp of all incidents of Track data in CONTACT/id. If flag is set to zero, Adams Solver (C++) returns the maximum value of the Track data incidents. If flag is set to 1, Adams Solver (C++) returns the minimum value of the Track data.
Format
CONTACT_DATA (id, comp, flag)
Arguments
id | An integer specifying the identification number of the Adams CONTACT. |
comp | An integer value that specifies the component of the CONTACT_DATA to be returned. ■1- Track Penetration Depth magnitude ■2- Track Penetration Velocity magnitude ■3- Track Penetration Boring Velocity magnitude ■4- Track Slip Deformation magnitude ■5- Track Slip Velocity magnitude |
flag | An integer flag specifying whether the maximum or minimum value of component is desired. ■0 = maximum value of component ■1 = minimum value of component |
Examples
REQUEST/1
, F2= CONTACT_DATA(11,1,0)/
, F3= CONTACT_DATA(11,2,0)/
, F4= CONTACT_DATA(11,3,0)/
, F6= CONTACT_DATA(11,4,0)/
, F7= CONTACT_DATA(11,5,0)
This REQUEST statement outputs the maximum penetration, penetration velocity, boring velocity, slip, and slip velocity components of all incidents of Track data of CONTACT/11.
REQUEST/2
, F2= CONTACT_DATA(11,1,1)/
, F3= CONTACT_DATA(11,2,1)/
, F4= CONTACT_DATA(11,3,1)/
, F6= CONTACT_DATA(11,4,1)/
, F7= CONTACT_DATA(11,5,1)
This REQUEST statement outputs the minimum penetration, penetration velocity, boring velocity, slip, and slip velocity components of all incidents of Track data of CONTACT/11.