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.
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.
| |
Protected Member Functions | |
virtual tmp< scalarField > | calcYPlus (const scalarField &magUp) const |
Calculate yPLus.
| |
virtual tmp< scalarField > | calcMut () const |
Calculate the turbulence viscosity.
| |
Protected Attributes | |
scalar | roughnessHeight_ |
Height.
| |
scalar | roughnessConstant_ |
Constant.
| |
scalar | roughnessFudgeFactor_ |
Scale factor.
|
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.
tmp< scalarField > calcYPlus | ( | const scalarField & | magUp ) | const [protected, virtual]
|
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(), turbulenceModel::rho(), rho, Foam::sin(), RASModel::y(), and y.
tmp< scalarField > calcMut | ( | ) | const [protected, virtual]
|
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(), turbulenceModel::rho(), rho, Foam::sqr(), turbulenceModel::U(), RASModel::y(), and y.
TypeName | ( | "mutSpalartAllmarasStandardRoughWallFunction" | ) |
Runtime type information.
virtual tmp<fvPatchScalarField> clone | ( | ) | const [inline, virtual]
|
Construct and return a clone.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 123 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::clone().
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::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 143 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
const scalar& roughnessHeight | ( | ) | const [inline]
|
Return the roughness height scale.
Definition at line 163 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight_.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight().
scalar& 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_.
const scalar& roughnessConstant | ( | ) | const [inline]
|
Return the roughness constant scale.
Definition at line 175 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant_.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant().
scalar& 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_.
const scalar& roughnessFudgeFactor | ( | ) | const [inline]
|
Return the roughness scale factor.
Definition at line 187 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
References mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor(), and mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor_.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor().
scalar& 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_.
tmp< scalarField > yPlus | ( | ) | const [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().
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from mutWallFunctionFvPatchScalarField.
Definition at line 296 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().
scalar roughnessHeight_ [protected]
|
Height.
Definition at line 64 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessHeight().
scalar roughnessConstant_ [protected]
|
Definition at line 67 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessConstant().
scalar roughnessFudgeFactor_ [protected]
|
Scale factor.
Definition at line 70 of file mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.H.
Referenced by mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::roughnessFudgeFactor().