Wall function boundary condition for walls. More...
#include <compressibleRASModels/mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.H>
Wall function boundary condition for walls.
Definition at line 53 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.H.
Public Member Functions | |
TypeName ("mutSpalartAllmarasStandardWallFunction") | |
Runtime type information. | |
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. | |
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardWallFunctionFvPatchScalarField &) | |
Construct as copy. | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. | |
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardWallFunctionFvPatchScalarField &, 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. | |
![]() | |
TypeName ("mutWallFunction") | |
Runtime type information. | |
mutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. | |
mutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
mutWallFunctionFvPatchScalarField (const mutWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
mutWallFunctionFvPatchScalarField (const mutWallFunctionFvPatchScalarField &) | |
Construct as copy. | |
mutWallFunctionFvPatchScalarField (const mutWallFunctionFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. |
Protected Member Functions | |
virtual tmp< scalarField > | calcYPlus (const scalarField &magUp) const |
Calculate yPLus. | |
virtual tmp< scalarField > | calcMut () const |
Calculate the turbulence viscosity. | |
![]() | |
virtual void | checkType () |
Check the type of the patch. | |
virtual scalar | calcYPlusLam (const scalar kappa, const scalar E) const |
Calculate the Y+ at the edge of the laminar sublayer. | |
virtual void | writeLocalEntries (Ostream &) const |
Write local wall function variables. |
Additional Inherited Members | |
![]() | |
scalar | Cmu_ |
Cmu coefficient. | |
scalar | kappa_ |
Von Karman constant. | |
scalar | E_ |
E coefficient. | |
scalar | yPlusLam_ |
Y+ at the edge of the laminar sublayer. |
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 116 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 140 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasStandardWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField onto a new patch
Definition at line 127 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasStandardWallFunctionFvPatchScalarField & | sawfpsf | ) |
Construct as copy.
Definition at line 152 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
mutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasStandardWallFunctionFvPatchScalarField & | sawfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 162 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
|
protectedvirtual |
Calculate yPLus.
Definition at line 45 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, Foam::log(), Foam::mag(), Foam::max(), turbulenceModel::mu(), turbulenceModel::rho(), y, and RASModel::y().
|
protectedvirtual |
Calculate the turbulence viscosity.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 84 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, Foam::log(), Foam::mag(), turbulenceModel::mu(), and turbulenceModel::U().
TypeName | ( | "mutSpalartAllmarasStandardWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 109 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardWallFunctionFvPatchScalarField::clone().
Referenced by mutSpalartAllmarasStandardWallFunctionFvPatchScalarField::clone().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 129 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.H.
|
virtual |
Calculate and return the yPlus at the boundary.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 174 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::mag(), and turbulenceModel::U().
|
virtual |
Write.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 186 of file mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.