FreeFOAM The Cross-Platform CFD Toolkit
kappatJayatillekeWallFunctionFvPatchScalarField Class Reference

Boundary condition for (kinematic) turbulent thermal conductivity when using wall functions, using Jayatilleke P function. More...

#include <incompressibleRASModels/kappatJayatillekeWallFunctionFvPatchScalarField.H>


Detailed Description

List of all members.

Public Member Functions

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

Protected Member Functions

virtual void checkType ()
 Check the type of the patch.
scalar Psmooth (const scalar Prat) const
 `P' function
scalar yPlusTherm (const scalar P, const scalar Prat) const
 Calculate y+ at the edge of the thermal laminar sublayer.

Protected Attributes

scalar Prt_
 Turbulent Prandtl number.
scalar Cmu_
 Cmu coefficient.
scalar kappa_
 Von Karman constant.
scalar E_
 E coefficient.

Static Protected Attributes

static scalar tolerance_ = 0.01
static label maxIters_ = 10

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 110 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.

Referenced by kappatJayatillekeWallFunctionFvPatchScalarField::clone().

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

Construct from patch, internal field and dictionary.

Definition at line 146 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 180 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.


Member Function Documentation

void checkType ( )
protectedvirtual

Check the type of the patch.

Definition at line 49 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorIn, and Foam::nl.

scalar Psmooth ( const scalar  Prat) const
protected
scalar yPlusTherm ( const scalar  P,
const scalar  Prat 
) const
protected

Calculate y+ at the edge of the thermal laminar sublayer.

Definition at line 75 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.

References f(), Foam::log(), and Foam::mag().

Referenced by kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().

TypeName ( "kappatJayatillekeWallFunction"  )

Runtime type information.

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

Construct and return a clone setting internal field reference.

Definition at line 158 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.

References kappatJayatillekeWallFunctionFvPatchScalarField::kappatJayatillekeWallFunctionFvPatchScalarField().


Member Data Documentation

scalar tolerance_ = 0.01
staticprotected
label maxIters_ = 10
staticprotected

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