Skip to main content

atmNutUWallFunction

Description

The atmNutUWallFunction is a boundary condition that provides a wall constraint on the turbulent viscosity (i.e. nut) based on velocity (i.e. U) for atmospheric boundary layer modelling. It is designed to be used in conjunction with the atmBoundaryLayerInletVelocity boundary condition.

The governing equation of the boundary condition:

u=uκln(z+z0z0) u = \frac{u^*}{\kappa} ln \left(\frac{z + z_0}{z_0}\right)

where:

PropertyDescription
uu^*Friction velocity
κ\kappavon Karman constant
z0z_0Surface roughness length [m]
zzGround-normal coordinate

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type atmNutUWallFunction;
z0 <PatchFunction1<scalar>>;

// Optional entries
boundNut <bool>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: atmNutUWallFunctionwordyes-
z0Surface roughness length [m]PatchFunction1<scalar>yes-
boundNutFlag to zero-bound nut near wallboolnofalse

The inherited entries are elaborated in:

  • nutUWallFunctionFvPatchScalarField.H
  • PatchFunction1.H

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version v2006