Skip to main content

atmBoundaryLayerInletK

Description

The atmBoundaryLayerInletK is a boundary condition that provides boundary condition for the turbulent kinetic energy (i.e. k) for homogeneous, two-dimensional, dry-air, equilibrium and neutral atmospheric boundary layer modelling.

The ground-normal k profile expression:

k=(u)2CμC1ln(zd+z0z0)+C2 k = \frac{(u^*)^2}{\sqrt{C_\mu}} \sqrt{C_1 \ln \left( \frac{z - d + z_0}{z_0} \right) + C_2}

where:

PropertyDescription
kkGround-normal turbulent kinetic energy profile [m^2/s^3]
uu^*Friction velocity [m/s]
CμC_\muEmpirical model constant [-]
C1C_1Curve-fitting coefficient for YGCJ profiles [-]
C2C_2Curve-fitting coefficient for YGCJ profiles [-]

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type atmBoundaryLayerInletK;

// Inherited entries
...
flowDir (1 0 0); // not used
zDir (0 0 1); // not used
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: atmBoundaryLayerInletKwordyes-

The inherited entries are elaborated in:

  • atmBoundaryLayer.H
  • inletOutletFvPatchField.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version v1806