bl_cfwalltau#

ens_calculator.bl_cfwalltau(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, velocity: ENS_VAR | str | int, viscosity: ENS_VAR | str | int | float, ymax: float, wall_shear_stress_opt: int = 0, opt_for_a_gradient_of_velo_mag: str | int | ENS_VAR | None = None, output_varname: str | None = None) ENS_VAR#

Computes a scalar variable defined as the fluid’s shear-stress at the wall or in its stream-wise or cross-flow component direction

Args:
source_parts:

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

velocity:

A velocity variable.

viscosity:

A viscosity variable or a value.

ymax:

A ymax profiling distance (>0), (enter 0 for convergence alg.).

wall_shear_stress_opt:

Enter surface shear-stress option: 0=RMS(Stream,Cross), or 1=Streamwise:dVs/dn or 2=Crossflow:dVc/dn component.

opt_for_a_gradient_of_velo_mag:

The gradient of the input velocity vector magnitude, or -1 to approximate it.

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See BL_CfWallTau() for function details.