ansys.mapdl.core.Mapdl.vabs#

Mapdl.vabs(kabsr='', kabs1='', kabs2='', kabs3='', **kwargs)#

Applies the absolute value function to array parameters.

Mechanical APDL Command: *VABS

Parameters:
kabsrstr

Absolute value of results parameter:

  • 0 - Do not take absolute value of results parameter (ParR).

  • 1 - Take absolute value.

kabs1str

Absolute value of first parameter:

  • 0 - Do not take absolute value of first parameter (Par1 or ParI).

  • 1 - Take absolute value.

kabs2str

Absolute value of second parameter:

  • 0 - Do not take absolute value of second parameter (Par2 or ParJ).

  • 1 - Take absolute value.

kabs3str

Absolute value of third parameter:

  • 0 - Do not take absolute value of third parameter (Par3 or ParK).

  • 1 - Take absolute value.

Notes

Warning

This function contains specificities regarding the argument definitions. Please refer to the command documentation for further explanations.

Argument Descriptions

  • kabsr : str - Absolute value of results parameter:

    • 0 - Do not take absolute value of results parameter (ParR).

    • 1 - Take absolute value.

  • kabs1 : str - Absolute value of first parameter:

    • 0 - Do not take absolute value of first parameter (Par1 or ParI).

    • 1 - Take absolute value.

  • kabs2 : str - Absolute value of second parameter:

    • 0 - Do not take absolute value of second parameter (Par2 or ParJ).

    • 1 - Take absolute value.

  • kabs3 : str - Absolute value of third parameter:

    • 0 - Do not take absolute value of third parameter (Par3 or ParK).

    • 1 - Take absolute value.

Applies an absolute value to parameters used in certain *V XX and *M XX operations. Typical absolute value applications are of the form: ParR = |f(|Par1|)|

or

ParR = |(|Par1| o |Par2|)|

The absolute values are applied to each input parameter value before the operation and to the result value after the operation. Absolute values are applied before the scale factors so that negative scale factors may be used. The absolute value settings are reset to the default (no absolute value) after each *V XX or *M XX operation. Use vstat to list settings.

This command is valid in any processor.