abs#

Mapdl.abs(ir='', ia='', name='', facta='', **kwargs)#

Forms the absolute value of a variable.

APDL Command: ABS

Parameters:
ir

Arbitrary reference number assigned to the resulting variable (2 to NV [NUMVAR]). If this number is the same as for a previously defined variable, the previously defined variable will be overwritten with this result.

ia

Reference number of the variable to be operated on.

name

Thirty-two character name for identifying the variable on the printout and displays. Embedded blanks are compressed upon output.

facta

Scaling factor (positive or negative) applied to variable IA (defaults to 1.0).

Notes

The new variable is calculated as:

IR = | FACTA x IA |

For a complex number (a + ib), the absolute value is the magnitude, where the IA values are obtained from: sqrt(a**2 + b**2)

See POST26 - Data Operations in the Mechanical APDL Theory Reference for details.