kLowReWallFunctionFvPatchScalarField Class Reference

This boundary condition provides a turbulence kinetic energy wall function condition for low- and high-Reynolds number turbulent flow cases. More...

Inheritance diagram for kLowReWallFunctionFvPatchScalarField:
Collaboration diagram for kLowReWallFunctionFvPatchScalarField:

Public Member Functions

 TypeName ("kLowReWallFunction")
 Runtime type information. More...
 
 kLowReWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 kLowReWallFunctionFvPatchScalarField (const kLowReWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &)
 Construct by mapping given kLowReWallFunctionFvPatchScalarField. More...
 
 kLowReWallFunctionFvPatchScalarField (const kLowReWallFunctionFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 kLowReWallFunctionFvPatchScalarField (const kLowReWallFunctionFvPatchScalarField &, const DimensionedField< scalar, fvMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, fvMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Protected Attributes

scalar Ceps2_
 Ceps2 coefficient. More...
 

Detailed Description

This boundary condition provides a turbulence kinetic energy wall function condition for low- and high-Reynolds number turbulent flow cases.

The model operates in two modes, based on the computed laminar-to-turbulent switch-over y+ value derived from kappa and E specified in the corresponding nutWallFunction.

Usage
Property Description Required Default value
Ceps2 model coefficient no 1.9

Example of the boundary condition specification:

    <patchName>
    {
        type            kLowReWallFunction;
    }
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 80 of file kLowReWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ kLowReWallFunctionFvPatchScalarField() [1/4]

kLowReWallFunctionFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, fvMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 38 of file kLowReWallFunctionFvPatchScalarField.C.

Referenced by kLowReWallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ kLowReWallFunctionFvPatchScalarField() [2/4]

kLowReWallFunctionFvPatchScalarField ( const kLowReWallFunctionFvPatchScalarField ptf,
const fvPatch p,
const DimensionedField< scalar, fvMesh > &  iF,
const fieldMapper mapper 
)

Construct by mapping given kLowReWallFunctionFvPatchScalarField.

onto a new patch

Definition at line 50 of file kLowReWallFunctionFvPatchScalarField.C.

◆ kLowReWallFunctionFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ kLowReWallFunctionFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 63 of file kLowReWallFunctionFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "kLowReWallFunction"  )

Runtime type information.

◆ clone()

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, fvMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 132 of file kLowReWallFunctionFvPatchScalarField.H.

References kLowReWallFunctionFvPatchScalarField::kLowReWallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 137 of file kLowReWallFunctionFvPatchScalarField.C.

References kLowReWallFunctionFvPatchScalarField::Ceps2_, Foam::vtkWriteOps::write(), and Foam::writeEntry().

Here is the call graph for this function:

Member Data Documentation

◆ Ceps2_

scalar Ceps2_
protected

The documentation for this class was generated from the following files: