bl_cfwall#

ens_calculator.bl_cfwall(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, velocity: ENS_VAR | str | int, viscosity: ENS_VAR | str | int | float, free_density: ENS_VAR | str | int | float, free_velocity_mag: ENS_VAR | str | int | float, opt_for_a_gradient_of_velo_mag: ENS_VAR | str | int, output_varname: str | None = None) ENS_VAR#

Computes a scalar variable defined as the skin-friction coefficient

Args:
source_parts:

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

velocity:

A velocity variable.

viscosity:

A viscosity variable or a value.

free_density:

A constant ‘freestream density’ variable or a constant value(>0.).

free_velocity_mag:

A constant ‘freestream velocity magnitude’ variable or a constant value(>0.).

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_CfWall() for function details.