tan#

ScalarReal.tan() ScalarReal#

Tangent (calculator trig Tan).

Returns:
ScalarReal

Real scalar expression with a tangent transformation applied.

Examples

Compute the tangent of a scalar field.

>>> from ansys.aedt.core.visualization.post.field_calculator_expressions import FieldExpressions
>>> fx = FieldExpressions(calculator=None)
>>> fx.scalar("Phi", is_complex=False).tan().operations[-1]
"Operation('UMathFunc', 'Tan')"