nodetoelem#

ens_calculator.nodetoelem(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, nodal_scalar_or_vector: ENS_VAR | str | int, output_varname: str | None = None) ENS_VAR#

Computes an element based variable from a node based variable

Args:
source_parts:

Any part(s) or a part number.

nodal_scalar_or_vector:

A node based scalar or vector variable.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See NodeToElem() for function details.