ansys.mapdl.core.Mapdl.afun#

Mapdl.afun(lab='', **kwargs)#

Specifies units for angular functions in parameter expressions.

Mechanical APDL Command: *AFUN

Parameters:
labstr

Specifies the units to be used:

  • RAD - Use radians for input and output of parameter angular functions (default).

  • DEG - Use degrees for input and output of parameter angular functions.

  • STAT - Show current setting (DEG or RAD) for this command.

Notes

Warning

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

Argument Descriptions

  • lab : str - Specifies the units to be used:

    • RAD - Use radians for input and output of parameter angular functions (default).

    • DEG - Use degrees for input and output of parameter angular functions.

    • STAT - Show current setting (DEG or RAD) for this command.

Use radians for input or output of parameter angular functions.

Only the SIN, COS, TAN, ASIN, ACOS, ATAN, ATAN2, ANGLEK, and ANGLEN functions ( starset, vfun ) are affected by this command.