flow#

ens_calculator.flow(source_parts: List[ENS_PART] | List[int] | List[str], velocity: ENS_VAR | str | int, result_type: str = 'Compute_Per_case', output_varname: str | None = None) ENS_VAR#

Computes a constant variable defined as the volume flow rate, i.e., the surface integral of the velocity in the surface normal direction.

Args:
source_parts:

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

velocity:

A velocity variable.

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 Flow() for function details.