Welcome to the FORTRAN Version of Adams/Solver > Adams/Solver (FORTRAN) Functions > MIN

www.kxcad.net Home > CAE Index > MSC Software Index > Adams MD R2 Index


Your Ad Here

MIN
The MIN function returns the minimum of two expressions a1 and a2.
MIN(a1,a2) = a1 if a1 < a2
MIN(a1,a2) = a2 if a2 < a1
Format
MIN(a1,a2)
Arguments
 
 
Caution:  
Examples
SFORCE/1, ROTATIONAL, ACTIONONLY, I=21, J=11
, FUNCTION=MIN(0,-3*(AZ(21,11)-25D))
This SFORCE statement defines an action-only torque that acts at Marker 21 and acts along the z-axis of Marker 11. The torque is defined to always be negative through the use of the MIN function. Thus, the torque can only act to decrease the AZ rotation of Marker 21 with respect to Marker 11 (see AZ).
 
Your Ad Here