elemtonodeweighted#

ens_calculator.elemtonodeweighted(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, elemental_scalar_or_vector: ENS_VAR | str | int, elemental_scalar: ENS_VAR | str | int, output_varname: str | None = None) ENS_VAR#

Compute a node based variable from a element based scalar or vector by weighted nodal averaging.

Args:
source_parts:

Any part(s) or a part number.

elemental_scalar_or_vector:

An element based scalar or vector variable.

elemental_scalar:

An element based scalar variable.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See ElemToNodeWeighted() for function details.