ansys.mapdl.core.Mapdl.abs#
- Mapdl.abs(ir='', ia='', name='', facta='', **kwargs)#
Forms the absolute value of a variable.
Mechanical APDL Command: ABS
- Parameters:
- ir
str
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
str
Reference number of the variable to be operated on.
- name
str
Thirty-two character name for identifying the variable on the printout and displays. Embedded blanks are compressed upon output.
- facta
str
Scaling factor (positive or negative) applied to variable
IA
(defaults to 1.0).
- ir
Notes
The new variable is calculated as:
IR = | FACTA x IA |
For a complex number (a + i b), the absolute value is the magnitude, where the
IA
values are obtained from:in the `Mechanical APDL Theory Reference
<https://ansyshelp.ansys.com/Views/Secured/corp/v232/en/ans_thry/thy_biblio.html>`_ for details.