tensortresca#

ens_calculator.tensortresca(source_parts: List[ENS_PART] | List[int] | List[str], T11: ENS_VAR | str | int, T22: ENS_VAR | str | int, T33: ENS_VAR | str | int, T12: ENS_VAR | str | int, T13: ENS_VAR | str | int, T23: ENS_VAR | str | int, output_varname: str | None = None) ENS_VAR#

Computes a scalar variable defined as the tresca of the given tensor, three principals, or six tensor components. [If components specified the order is TC11, TC22, TC33, TC12, TC13, TC23]

Args:
source_parts:

Any part(s) or a part number.

T11:

A tensor, first principal scalar(sigma_1), or tensor scalar component(T11).

T22:

Select the second principal scalar(sigma_2) or tensor scalar component(T22).

T33:

Select the third principal scalar(sigma_3) or tensor scalar component(T33).

T12:

Select tensor scalar component(T12) or a -1 if doing principals.

T13:

Select tensor scalar component(T13) or a -1 if doing principals.

T23:

Select tensor scalar component(T23) or a -1 if doing principals.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See TensorTresca() for function details.