momentum#

ens_calculator.momentum(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, velocity: ENS_VAR | str | int, density: ENS_VAR | str | int | float, output_varname: str | None = None) ENS_VAR#

Computes a vector variable defined as density*Velocity

Args:
source_parts:

Any part(s) or a part number.

velocity:

A velocity variable.

density:

A density variable or a value.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See Momentum() for function details.