Wall function boundary condition for rough walls. More...
#include <compressibleRASModels/mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H>
Wall function boundary condition for rough walls.
Definition at line 53 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
Inheritance diagram for mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField:
Collaboration diagram for mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField:Public Member Functions | |
| TypeName ("mutSpalartAllmarasStandardRoughWallFunction") | |
| Runtime type information. | |
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. | |
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. | |
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. | |
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &) | |
| Construct as copy. | |
| virtual tmp< fvPatchScalarField > | clone () const |
| Construct and return a clone. | |
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField (const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField &, 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. | |
| const scalar & | roughnessHeight () const |
| Return the roughness height scale. | |
| scalar & | roughnessHeight () |
| Return reference to the roughness height to allow adjustment. | |
| const scalar & | roughnessConstant () const |
| Return the roughness constant scale. | |
| scalar & | roughnessConstant () |
| Return reference to the roughness constant to allow adjustment. | |
| const scalar & | roughnessFudgeFactor () const |
| Return the roughness scale factor. | |
| scalar & | roughnessFudgeFactor () |
| Return reference to the roughness scale factor to allow. | |
| 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 > | calcYPlus (const scalarField &magUp) const |
| Calculate yPLus. | |
| virtual tmp< scalarField > | calcMut () const |
| Calculate the turbulence viscosity. | |
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. | |
Protected Attributes | |
| scalar | roughnessHeight_ |
| Height. | |
| scalar | roughnessConstant_ |
| Constant. | |
| scalar | roughnessFudgeFactor_ |
| Scale factor. | |
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. | |
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 210 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 240 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given.
mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField onto a new patch
Definition at line 224 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField & | rwfpsf | ) |
Construct as copy.
Definition at line 255 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
| mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField | ( | const mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField & | rwfpsf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 268 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
|
protectedvirtual |
Calculate yPLus.
Definition at line 45 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
References Foam::atan(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::cos(), forAll, Foam::log(), Foam::mag(), Foam::max(), turbulenceModel::mu(), Foam::Re(), rho, turbulenceModel::rho(), Foam::sin(), y, and RASModel::y().
|
protectedvirtual |
Calculate the turbulence viscosity.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 175 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, Foam::mag(), turbulenceModel::mu(), fvPatchField< Type >::patchInternalField(), Foam::Re(), rho, turbulenceModel::rho(), Foam::sqr(), turbulenceModel::U(), y, and RASModel::y().
| TypeName | ( | "mutSpalartAllmarasStandardRoughWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 123 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::clone().
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::clone().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 143 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
|
inline |
Return the roughness height scale.
Definition at line 163 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight_.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight().
|
inline |
Return reference to the roughness height to allow adjustment.
Definition at line 169 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight_.
|
inline |
Return the roughness constant scale.
Definition at line 175 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant_.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant().
|
inline |
Return reference to the roughness constant to allow adjustment.
Definition at line 181 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant_.
|
inline |
Return the roughness scale factor.
Definition at line 187 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor_.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor().
|
inline |
Return reference to the roughness scale factor to allow.
adjustment
Definition at line 194 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor_.
|
virtual |
Calculate and return the yPlus at the boundary.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 283 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::mag(), and turbulenceModel::U().
|
virtual |
Write.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 296 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().
|
protected |
Height.
Definition at line 64 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight().
|
protected |
Definition at line 67 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant().
|
protected |
Scale factor.
Definition at line 70 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor().