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.
Inheritance diagram for mutSpalartAllmarasWallFunctionFvPatchScalarField:
Collaboration diagram for mutSpalartAllmarasWallFunctionFvPatchScalarField: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. | |
Public Member Functions inherited from mutWallFunctionFvPatchScalarField | |
| 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 > | calcMut () const |
| Calculate the turbulence viscosity. | |
| virtual tmp< scalarField > | calcUTau (const scalarField &magGradU) const |
| Calculate the friction velocity. | |
Protected Member Functions inherited from mutWallFunctionFvPatchScalarField | |
| 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 | |
Protected Attributes inherited from mutWallFunctionFvPatchScalarField | |
| scalar | Cmu_ |
| Cmu coefficient. | |
| scalar | kappa_ |
| Von Karman constant. | |
| scalar | E_ |
| E coefficient. | |
| scalar | yPlusLam_ |
| Y+ at the edge of the laminar sublayer. | |
| 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.
|
protectedvirtual |
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().
|
protectedvirtual |
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(), y, and RASModel::y().
| TypeName | ( | "mutSpalartAllmarasWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 109 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasWallFunctionFvPatchScalarField::clone().
Referenced by mutSpalartAllmarasWallFunctionFvPatchScalarField::clone().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 126 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.H.
|
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(), y, and RASModel::y().
|
virtual |
Write.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 203 of file mutSpalartAllmarasWallFunctionFvPatchScalarField.C.