bl_cfedge#

ens_calculator.bl_cfedge(source_parts: List[ENS_PART] | List[int] | List[str] | ENS_PART | int | str, velocity: ENS_VAR | str | int, density: ENS_VAR | str | int | float, viscosity: ENS_VAR | str | int | float, ymax: float, flow_dir_comp: 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 edge skin-friction coefficient

Args:
source_parts:

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

velocity:

A velocity variable.

density:

A density variable or a value.

viscosity:

A viscosity variable or a value.

ymax:

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

flow_dir_comp:

Enter flow direction: 0=Tangent to surface, or this Tangent flow’s 1=Streamwise or 2=Crosswise 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_CfEdge() for function details.