Skip to main content

atmAlphatWallFunction

Description

The atmAlphatWallFunction is a boundary condition that provides a wall constraint on the kinematic turbulent thermal conductivity (i.e. alphat) for atmospheric boundary layer modelling. It assumes a logarithmic distribution of the potential temperature within the first cell.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type atmAlphatWallFunction;
Pr <Function1<scalar>>;
Prt <PatchFunction1<scalar>>;
z0 <PatchFunction1<scalar>>;

// Optional entries
Cmu <scalar>;
kappa <scalar>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: atmAlphatWallFunctionwordyes-
PrMolecular Prandtl numberFunction1<scalar>yes-
PrtTurbulent Prandtl numberPatchFunction1<scalar>yes-
z0Surface roughness length [m]PatchFunction1<scalar>yes-
CmuEmpirical model constantscalarno0.09
kappavon Karman constantscalarno0.41

The inherited entries are elaborated in:

  • fixedValueFvPatchField.H
  • Function1.H
  • PatchFunction1.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version v2006