Skip to main content

nutURoughWallFunction

Description

The nutURoughWallFunction is boundary condition that provides a wall function on the turbulent viscosity (i.e. nut) based on velocity (i.e. U) for low- and high-Reynolds number applications for rough walls.

Usage

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

Boundary file

<patchName>
{
type wall;
...
}

Field file

<patchName>
{
// Mandatory entries
type nutURoughWallFunction;
roughnessHeight <scalar>;
roughnessConstant <scalar>;
roughnessFactor <scalar>;

// Optional entries
maxIter <label>;
tolerance <scalar>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: nutURoughWallFunctionwordyes-
roughnessHeightRoughness heightscalaryes-
roughnessConstantRoughness constantscalaryes-
roughnessFactorScaling factorscalaryes-
maxIterNumber of Newton-Raphson iterationslabelno10
toleranceConvergence tolerancescalarno0.0001

The inherited entries are elaborated in:

  • nutWallFunctionFvPatchScalarField.H
  • Suffers from non-exact restart since correctNut() (called through turbulence->validate) returns a slightly different value every time it is called. See nutUSpaldingWallFunctionFvPatchScalarField.C.

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version 2.4.0