Wall function boundary condition for walls. More...
#include <compressibleRASModels/mutSpalartAllmarasWallFunctionFvPatchScalarField.H>
Wall function boundary condition for walls.
Definition at line 53 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.H.
Public Member Functions | |
TypeName ("mutSpalartAllmarasWallFunction") | |
Runtime type information.
| |
mutSpalartAllmarasWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field.
| |
mutSpalartAllmarasWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary.
| |
mutSpalartAllmarasWallFunctionFvPatchScalarField (const mutSpalartAllmarasWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given.
| |
mutSpalartAllmarasWallFunctionFvPatchScalarField (const mutSpalartAllmarasWallFunctionFvPatchScalarField &) | |
Construct as copy.
| |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone.
| |
mutSpalartAllmarasWallFunctionFvPatchScalarField (const mutSpalartAllmarasWallFunctionFvPatchScalarField &, 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 > | calcMut () const |
Calculate the turbulence viscosity.
| |
virtual tmp< scalarField > | calcUTau (const scalarField &magGradU) const |
Calculate the friction velocity.
|
mutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 130 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.
mutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 154 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.
mutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
mutSpalartAllmarasWallFunctionFvPatchScalarField onto a new patch
Definition at line 141 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.
mutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasWallFunctionFvPatchScalarField & | wfpsf ) |
Construct as copy.
Definition at line 166 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.
mutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasWallFunctionFvPatchScalarField & | wfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 176 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.
tmp< scalarField > calcMut | ( | ) | const [protected, virtual]
|
Calculate the turbulence viscosity.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 108 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::mag(), Foam::max(), turbulenceModel::mu(), turbulenceModel::rho(), Foam::sqr(), and turbulenceModel::U().
tmp< scalarField > calcUTau | ( | const scalarField & | magGradU ) | const [protected, virtual]
|
Calculate the friction velocity.
Definition at line 44 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::exp(), f(), forAll, Foam::mag(), Foam::max(), Foam::min(), turbulenceModel::mu(), fvPatchField< Type >::patchInternalField(), turbulenceModel::rho(), Foam::sqr(), Foam::sqrt(), turbulenceModel::U(), RASModel::y(), and y.
TypeName | ( | "mutSpalartAllmarasWallFunction" | ) |
Runtime type information.
virtual tmp<fvPatchScalarField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 109 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasWallFunctionFvPatchScalarField::clone().
Referenced by mutSpalartAllmarasWallFunctionFvPatchScalarField::clone().
virtual tmp<fvPatchScalarField> clone | ( | const DimensionedField< scalar, volMesh > & | iF ) | const [inline, virtual]
|
Construct and return a clone setting internal field reference.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 126 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.H.
tmp< scalarField > yPlus | ( | ) | const [virtual]
|
Calculate and return the yPlus at the boundary.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 188 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::mag(), turbulenceModel::mu(), turbulenceModel::rho(), fvPatchField< Type >::snGrad(), turbulenceModel::U(), RASModel::y(), and y.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 203 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.