coeff#

ens_calculator.coeff(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, scalar: ENS_VAR | str | int, component: str = '[X]', result_type: str = 'Compute_Per_case', output_varname: str | None = None) ENS_VAR#

Computes a constant variable defined as the surface integral of a scalar variable multiplied by the x, y, or z component of the surface normal

Args:
source_parts:

Any 1D or 2D part(s) or a part number.

scalar:

A scalar variable.

component:

A component [X], [Y], or [Z].

result_type:

Per/Case or Per/Part Results

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See Coeff() for function details.