alphatJayatillekeWallFunctionFvPatchScalarField Class Reference

This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyalphat) based on the Jayatilleke model. More...

Inheritance diagram for alphatJayatillekeWallFunctionFvPatchScalarField:
[legend]
Collaboration diagram for alphatJayatillekeWallFunctionFvPatchScalarField:
[legend]

Public Member Functions

 TypeName ("compressible::alphatJayatillekeWallFunction")
 Runtime type information. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 alphatJayatillekeWallFunctionFvPatchScalarField (const alphatJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
void write (Ostream &) const
 Write. More...
 

Detailed Description

This boundary condition provides a thermal wall function for turbulent thermal diffusivity (usuallyalphat) based on the Jayatilleke model.

Usage
Example of the boundary condition specification:
<patchName>
{
    // Mandatory entries
    type            alphatJayatillekeWallFunction;

    // Optional entries
    Prt             <scalar>;
    kappa           <scalar>;
    E               <scalar>;

    // Inherited entries
    ...
}

where the entries mean:

Property Description Type Reqd Deflt
type Type name: alphatJayatillekeWallFunction word yes -
Prt Turbulent Prandtl number scalar no 0.85
kappa von Karman constant scalar no 0.41
E Wall roughness parameter scalar no 9.8

The inherited entries are elaborated in:

Source files

Definition at line 118 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [1/5]

Construct from patch and internal field.

Definition at line 138 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [2/5]

alphatJayatillekeWallFunctionFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 170 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [3/5]

Construct by mapping given an alphatJayatillekeWallFunctionFvPatchScalarField onto a new patch

Definition at line 154 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [4/5]

◆ alphatJayatillekeWallFunctionFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 202 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "compressible::alphatJayatillekeWallFunction"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp< fvPatchScalarField > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 204 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.

◆ clone() [2/2]

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

Construct and return a clone setting internal field reference.

Definition at line 220 of file alphatJayatillekeWallFunctionFvPatchScalarField.H.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 220 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References A, alphaEff(), B, Foam::endl(), forAll, IOobject::groupName(), Foam::Info, Foam::log(), Foam::mag(), magUp, Foam::max(), Foam::nl, fvPatchField< Type >::patchInternalField(), Pr(), phaseSystem::propertiesName, fvPatchField< Type >::snGrad(), Foam::sqr(), atmBoundaryLayerInletEpsilonFvPatchScalarField::updateCoeffs(), uTau, y, and yPlus.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const

Write.

Definition at line 327 of file alphatJayatillekeWallFunctionFvPatchScalarField.C.

References os(), ObukhovLength::write(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

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