FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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

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

Units of m2/s

Source files

Definition at line 57 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.

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< fvPatchScalarField >  clone () const
 Construct and return a clone.
 kappatJayatillekeWallFunctionFvPatchScalarField (const kappatJayatillekeWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchScalarField >  clone (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 by mapping given.

kappatJayatillekeWallFunctionFvPatchScalarField onto a new patch

Definition at line 127 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 180 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.


Member Function Documentation

void checkType (  ) [protected, virtual]

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 [inline, virtual]
virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &   iF  ) const [inline, virtual]

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 [static, protected]
label maxIters_ = 10 [static, protected]

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