atmBoundaryLayerInletK boundary condition provides a generalised log-law type ground-normal inlet boundary condition for the turbulent kinetic energy, i.e. k, for homogeneous, two-dimensional, dry-air, equilibrium and neutral atmospheric boundary layer modelling.atmBoundaryLayerInletK boundary condition inherits the traits of the atmBoundaryLayer, and inletOutlet.The ground-normal turbulent kinetic energy profile expression, i.e. k (([99], Eq. 21), ([63], Eq. 7), ([24], Eq. 6 when C1=0 and C2=1)):
\[ k = \frac{(u^*)^2}{\sqrt{C_\mu}} \sqrt{C_1 \ln \left( \frac{z - d + z_0}{z_0} \right) + C_2} \]
where
| \( k \) | = | Ground-normal turbulent kinetic energy profile [m2/s2] |
| \( u^* \) | = | Friction velocity [m/s] |
| \( C_\mu \) | = | Empirical model constant [-] |
| \( C_1 \) | = | Curve-fitting coefficient for [99] profiles [-] |
| \( C_2 \) | = | Curve-fitting coefficient for [99] profiles [-] |
Example of the boundary condition specification:
inlet
{
// Mandatory entries (unmodifiable)
type atmBoundaryLayerInletK;
// Mandatory (inherited) entries (runtime modifiable)
flowDir (1 0 0);
zDir (0 0 1);
Uref 10.0;
Zref 0.0;
z0 uniform 0.1;
d uniform 0.0;
// Optional (inherited) entries (unmodifiable)
kappa 0.41;
Cmu 0.09;
initABL true;
phi phi;
C1 0.0;
C2 1.0;
// Conditional mandatory (inherited) entries (runtime modifiable)
value uniform 0; // when initABL=false
}
where the entries mean:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
| type | Type name: atmBoundaryLayerInletK | word | yes | - |
The inherited entries are elaborated in:
Tutorial:
Source code:
History