v2WallFunctionFvPatchScalarField Class Reference

This boundary condition provides a turbulence stress normal to streamlines wall function condition for low- and high-Reynolds number, turbulent flow cases. More...

Inheritance diagram for v2WallFunctionFvPatchScalarField:
Collaboration diagram for v2WallFunctionFvPatchScalarField:

Public Member Functions

 TypeName ("v2WallFunction")
 Runtime type information. More...
 
 v2WallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, fvMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 v2WallFunctionFvPatchScalarField (const v2WallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, fvMesh > &, const fieldMapper &)
 Construct by mapping given v2WallFunctionFvPatchScalarField. More...
 
 v2WallFunctionFvPatchScalarField (const v2WallFunctionFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 v2WallFunctionFvPatchScalarField (const v2WallFunctionFvPatchScalarField &, 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...
 

Detailed Description

This boundary condition provides a turbulence stress normal to streamlines 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
Example of the boundary condition specification:
<patchName>
{
    type            v2WallFunction;
}
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 69 of file v2WallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ v2WallFunctionFvPatchScalarField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 40 of file v2WallFunctionFvPatchScalarField.C.

Referenced by v2WallFunctionFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ v2WallFunctionFvPatchScalarField() [2/4]

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

Construct by mapping given v2WallFunctionFvPatchScalarField.

onto a new patch

Definition at line 51 of file v2WallFunctionFvPatchScalarField.C.

◆ v2WallFunctionFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ v2WallFunctionFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 63 of file v2WallFunctionFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "v2WallFunction"  )

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 114 of file v2WallFunctionFvPatchScalarField.H.

References v2WallFunctionFvPatchScalarField::v2WallFunctionFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 75 of file v2WallFunctionFvPatchScalarField.C.

References forAll, k, momentumTransportModel::k(), Foam::log(), momentumTransportModel::nu(), nutWallFunctionFvPatchScalarField::nutw(), patchi, Foam::pow025(), Foam::pow4(), Foam::sqr(), Foam::sqrt(), uTau, y, momentumTransportModel::yb(), and yPlus.

Here is the call graph for this function:

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