smax

Mapdl.smax(labr='', lab1='', lab2='', fact1='', fact2='', **kwargs)

Forms an element table item from the maximum of two other items.

APDL Command: SMAX

Parameters
  • labr – Label assigned to results. If same as existing label, the existing values will be overwritten by these results.

  • lab1 – First labeled result item in operation.

  • lab2 – Second labeled result item in operation (may be blank).

  • fact1 – Scale factor applied to Lab1. A (blank) or ‘0’ entry defaults to 1.0.

  • fact2 – Scale factor applied to Lab2. A (blank) or ‘0’ entry defaults to 1.0.

Notes

Forms a labeled result item (see ETABLE command) for the selected elements by comparing two existing labeled result items according to the operation:

LabR = (FACT1 x Lab1) cmx (FACT2 x Lab2)

where “cmx” means “compare and save maximum.” If absolute values are requested [SABS,1], the absolute values of Lab1 and Lab2 are used.