Boundary condition for (kinematic) turbulent thermal conductivity when using wall functions, using Jayatilleke P function. More...
#include <incompressibleRASModels/kappatJayatillekeWallFunctionFvPatchScalarField.H>
Boundary condition for (kinematic) turbulent thermal conductivity when using wall functions, using Jayatilleke P function.
Definition at line 57 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.
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 |
kappatJayatillekeWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
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.
kappatJayatillekeWallFunctionFvPatchScalarField | ( | const kappatJayatillekeWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
kappatJayatillekeWallFunctionFvPatchScalarField onto a new patch
Definition at line 127 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.
kappatJayatillekeWallFunctionFvPatchScalarField | ( | const kappatJayatillekeWallFunctionFvPatchScalarField & | wfpsf ) |
Construct as copy.
Definition at line 164 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.
kappatJayatillekeWallFunctionFvPatchScalarField | ( | const kappatJayatillekeWallFunctionFvPatchScalarField & | wfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 180 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.
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]
|
`P' function
Definition at line 66 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.
References Foam::exp(), and Foam::pow().
Referenced by kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs().
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]
|
Construct and return a clone.
Definition at line 141 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.
References kappatJayatillekeWallFunctionFvPatchScalarField::kappatJayatillekeWallFunctionFvPatchScalarField().
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().
void updateCoeffs | ( | ) | [virtual]
|
Update the coefficients associated with the patch field.
Definition at line 197 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.
References kappatJayatillekeWallFunctionFvPatchScalarField::Cmu_, kappatJayatillekeWallFunctionFvPatchScalarField::E_, forAll, k(), kappatJayatillekeWallFunctionFvPatchScalarField::kappa_, Foam::log(), Foam::max(), nu, Foam::pow(), Pr(), kappatJayatillekeWallFunctionFvPatchScalarField::Prt_, kappatJayatillekeWallFunctionFvPatchScalarField::Psmooth(), RASModel(), Foam::sqrt(), y, and kappatJayatillekeWallFunctionFvPatchScalarField::yPlusTherm().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Definition at line 251 of file kappatJayatillekeWallFunctionFvPatchScalarField.C.
References kappatJayatillekeWallFunctionFvPatchScalarField::Cmu_, kappatJayatillekeWallFunctionFvPatchScalarField::E_, token::END_STATEMENT, kappatJayatillekeWallFunctionFvPatchScalarField::kappa_, Foam::nl, kappatJayatillekeWallFunctionFvPatchScalarField::Prt_, and Ostream::writeKeyword().
scalar Prt_ [protected]
|
Turbulent Prandtl number.
Definition at line 66 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), and kappatJayatillekeWallFunctionFvPatchScalarField::write().
scalar Cmu_ [protected]
|
Cmu coefficient.
Definition at line 69 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), and kappatJayatillekeWallFunctionFvPatchScalarField::write().
scalar kappa_ [protected]
|
Von Karman constant.
Definition at line 72 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), and kappatJayatillekeWallFunctionFvPatchScalarField::write().
scalar E_ [protected]
|
E coefficient.
Definition at line 75 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.
Referenced by kappatJayatillekeWallFunctionFvPatchScalarField::updateCoeffs(), and kappatJayatillekeWallFunctionFvPatchScalarField::write().
scalar tolerance_ = 0.01 [static, protected]
|
Definition at line 80 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.
label maxIters_ = 10 [static, protected]
|
Definition at line 81 of file kappatJayatillekeWallFunctionFvPatchScalarField.H.