Wall function boundary condition for walls. More...
#include <incompressibleRASModels/nutSpalartAllmarasWallFunctionFvPatchScalarField.H>
Wall function boundary condition for walls.
Definition at line 53 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.H.
Public Member Functions | |
TypeName ("nutSpalartAllmarasWallFunction") | |
Runtime type information.
| |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field.
| |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const nutSpalartAllmarasWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given.
| |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const nutSpalartAllmarasWallFunctionFvPatchScalarField &) | |
Construct as copy.
| |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone.
| |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const nutSpalartAllmarasWallFunctionFvPatchScalarField &, 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 tmp< scalarField > | yPlus () const |
Calculate and return the yPlus at the boundary.
| |
virtual void | write (Ostream &os) const |
Write.
| |
Protected Member Functions | |
virtual tmp< scalarField > | calcNut () const |
Calculate the turbulence viscosity.
| |
virtual tmp< scalarField > | calcUTau (const scalarField &magGradU) const |
Calculate the friction velocity.
|
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 122 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
Referenced by nutSpalartAllmarasWallFunctionFvPatchScalarField::clone().
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 146 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
nutSpalartAllmarasWallFunctionFvPatchScalarField onto a new patch
Definition at line 133 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasWallFunctionFvPatchScalarField & | wfpsf ) |
Construct as copy.
Definition at line 158 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasWallFunctionFvPatchScalarField & | wfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 168 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
tmp< scalarField > calcNut | ( | ) | const [protected, virtual]
|
Calculate the turbulence viscosity.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 44 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References nutSpalartAllmarasWallFunctionFvPatchScalarField::calcUTau(), Foam::mag(), Foam::max(), RASModel(), and Foam::sqr().
tmp< scalarField > calcUTau | ( | const scalarField & | magGradU ) | const [protected, virtual]
|
Calculate the friction velocity.
Definition at line 62 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References Foam::exp(), f(), forAll, Foam::mag(), Foam::max(), Foam::min(), fvPatchField< Type >::patchInternalField(), RASModel(), Foam::sqr(), Foam::sqrt(), and y.
Referenced by nutSpalartAllmarasWallFunctionFvPatchScalarField::calcNut(), and nutSpalartAllmarasWallFunctionFvPatchScalarField::yPlus().
TypeName | ( | "nutSpalartAllmarasWallFunction" | ) |
Runtime type information.
virtual tmp<fvPatchScalarField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 109 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.H.
References nutSpalartAllmarasWallFunctionFvPatchScalarField::nutSpalartAllmarasWallFunctionFvPatchScalarField().
virtual tmp<fvPatchScalarField> clone | ( | const DimensionedField< scalar, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 126 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.H.
References nutSpalartAllmarasWallFunctionFvPatchScalarField::nutSpalartAllmarasWallFunctionFvPatchScalarField().
tmp< scalarField > yPlus | ( | ) | const [virtual]
|
Calculate and return the yPlus at the boundary.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 180 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References nutSpalartAllmarasWallFunctionFvPatchScalarField::calcUTau(), Foam::mag(), RASModel(), fvPatchField< Type >::snGrad(), and y.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 194 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.