bl_disttovalue#

ens_calculator.bl_disttovalue(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, scalar: ENS_VAR | str | int, scalar_value: ENS_VAR | str | int | float, output_varname: str | None = None) ENS_VAR#

Computes a scalar variable defined as the distance from the wall to the specified value

Args:
source_parts:

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

scalar:

A scalar variable.

scalar_value:

Enter scalar value.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See BL_DistToValue() for function details.