bl_y1plus#

ens_calculator.bl_y1plus(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, density: ENS_VAR | str | int | float, viscosity: ENS_VAR | str | int | float, gradient_option: int = 0, vector_variable: str | int | ENS_VAR | None = None, output_varname: str | None = None) ENS_VAR#

Computes a scalar variable defined as the coefficient-off-the-wall to the 1st field cell centroid

Args:
source_parts:

Any boundary part(s) or a boundary part number.

density:

A density variable or a value.

viscosity:

A viscosity variable or a value.

gradient_option:

Enter 0 for “Use field velocity (to compute wall gradient)”, 1 for “Use gradient at boundary part”, or 2 for “Use gradient in field part”.

vector_variable:

A vector variable.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See BL_Y1Plus() for function details.