MAX_STRESS

Returns the maximum value of stress for the body for the default analysis. The last-run analysis is the default analysis. If the body does not exist or does not contain stress data, or there is no default analysis, MAX_STRESS issues an error message and returns a zero. The Assist dialog box for the MAX_STRESS function (see Real MAX_STRESS (Body, Criterion)) is available in the Adams View Function Builder.

Example

The following Adams View command (see Adams View command file) will set the maximum principal stress of the flexible body named link in the current model for the last-run analysis to the variable maxstress. Because units of stress are equivalent to pressure, maxstress will also have the correct units associated with the variable.
VAR SET VAR=maxstress REAL=(EVAL(MAX_STRESS(link, 7))) UNITS=PRESSURE;