normc#
- ens_calculator.normc(source_parts: List[ENS_PART] | List[int] | List[str], pressure: ENS_VAR | str | int, velocity: ENS_VAR | str | int, viscosity: ENS_VAR | str | int | float, result_type: str = 'Compute_Per_case', output_varname: str | None = None) ENS_VAR #
Computes a constant variable defined as the normal constraint defined as the surface integral as a function of pressure, velocity, and viscosity
- Args:
- source_parts:
Any 2D part(s) or a part number.
- pressure:
A pressure variable.
- velocity:
A velocity variable.
- viscosity:
A viscosity variable or a value.
- 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 NormC() for function details.