Skip to main content

kLowReWallFunction

Description

The kLowReWallFunction is boundary condition that provides a wall function for the turbulent kinetic energy (i.e. k) for low- and high-Reynolds number simulations.

Viscous and inertial sublayer predictions for \c k are blended in a stepwise manner:

k=klogify+>yintersection+ k = k_{log} \qquad if \quad y^+ > y^+_{intersection} k=kvisify+<=yintersection+ k = k_{vis} \qquad if \quad y^+ <= y^+_{intersection}

where:

PropertyDescription
kvisk_{vis}k prediction in the viscous sublayer
klogk_{log}k prediction in the inertial sublayer
y+y^+Estimated wall-normal height of the cell centre in wall units
yintersection+y^+_{intersection}Estimated $$$y^+$$ where sublayers intersect

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type wall;
...
}

Field file

<patchName>
{
// Mandatory entries
type kLowReWallFunction;

// Optional entries
Ceps2 <scalar>;
Ck <scalar>;
Bk <scalar>;
C <scalar>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: kLowReWallFunctionwordyes-
Ceps2Model coefficientscalarno1.9
CkModel coefficientscalarno-0.416
BkModel coefficientscalarno8.366
CModel coefficientscalarno11.0

The inherited entries are elaborated in:

  • wallFunctionCoefficients.H
  • fixedValueFvPatchField.H

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version 2.4.0