Loading...
Searching...
No Matches
wallFunctionCoefficients Class Reference

Class to host the wall-function coefficients being used in the wall function boundary conditions. More...

#include <wallFunctionCoefficients.H>

Public Member Functions

 wallFunctionCoefficients ()
 Construct with default coefficients.
 wallFunctionCoefficients (const dictionary &dict)
 Construct from dictionary.
scalar Cmu () const noexcept
 Return the object: Cmu.
scalar kappa () const noexcept
 Return the object: kappa.
scalar E () const noexcept
 Return the object: E.
scalar yPlusLam () const noexcept
 Return the object: yPlusLam.
void writeEntries (Ostream &) const
 Write wall-function coefficients as dictionary entries.

Detailed Description

Class to host the wall-function coefficients being used in the wall function boundary conditions.

Usage
Example of the boundary condition specification:
<patchName>
{
    // Top-level entries
    ...

    // Optional entries
    Cmu             0.09;
    kappa           0.41;
    E               9.8;

    // Inherited entries
    ...
}

where the entries mean:

Property Description Type Reqd Deflt
Cmu Empirical model coefficient scalar no 0.09
kappa von Karman constant scalar no 0.41
E Wall roughness parameter scalar no 9.8
Source files

Definition at line 101 of file wallFunctionCoefficients.H.

Constructor & Destructor Documentation

◆ wallFunctionCoefficients() [1/2]

wallFunctionCoefficients ( )

Construct with default coefficients.

Definition at line 54 of file wallFunctionCoefficients.C.

References Foam::calcYPlusLam().

Here is the call graph for this function:

◆ wallFunctionCoefficients() [2/2]

wallFunctionCoefficients ( const dictionary & dict)
explicit

Construct from dictionary.

Definition at line 63 of file wallFunctionCoefficients.C.

References Foam::calcYPlusLam(), and dict.

Here is the call graph for this function:

Member Function Documentation

◆ Cmu()

scalar Cmu ( ) const
inlinenoexcept

Return the object: Cmu.

Definition at line 149 of file wallFunctionCoefficients.H.

References Foam::noexcept.

Referenced by adjointkOmegaSST::addWallFunctionTerms(), adjointkOmegaSST::adjointMeanFlowSource(), and kaqRWallFunctionFvPatchScalarField::manipulateMatrix().

Here is the caller graph for this function:

◆ kappa()

scalar kappa ( ) const
inlinenoexcept

Return the object: kappa.

Definition at line 157 of file wallFunctionCoefficients.H.

References Foam::noexcept.

Referenced by adjointkOmegaSST::addWallFunctionTerms(), adjointkOmegaSST::adjointMeanFlowSource(), and kaqRWallFunctionFvPatchScalarField::manipulateMatrix().

Here is the caller graph for this function:

◆ E()

scalar E ( ) const
inlinenoexcept

Return the object: E.

Definition at line 165 of file wallFunctionCoefficients.H.

References Foam::noexcept.

Referenced by adjointkOmegaSST::addWallFunctionTerms(), and kaqRWallFunctionFvPatchScalarField::manipulateMatrix().

Here is the caller graph for this function:

◆ yPlusLam()

scalar yPlusLam ( ) const
inlinenoexcept

Return the object: yPlusLam.

Definition at line 173 of file wallFunctionCoefficients.H.

References Foam::noexcept.

Referenced by adjointkOmegaSST::addWallFunctionTerms(), and kaqRWallFunctionFvPatchScalarField::manipulateMatrix().

Here is the caller graph for this function:

◆ writeEntries()

void writeEntries ( Ostream & os) const

Write wall-function coefficients as dictionary entries.

Definition at line 80 of file wallFunctionCoefficients.C.

References os().

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/wallFunction/wallFunctionCoefficients/wallFunctionCoefficients.H
  • src/TurbulenceModels/turbulenceModels/derivedFvPatchFields/wallFunctions/wallFunction/wallFunctionCoefficients/wallFunctionCoefficients.C