Wall function boundary condition for walls. More...
#include <incompressibleRASModels/nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.H>
Wall function boundary condition for walls.
Definition at line 53 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.H.
Public Member Functions | |
TypeName ("nutSpalartAllmarasStandardWallFunction") | |
Runtime type information. | |
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. | |
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const nutSpalartAllmarasStandardWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const nutSpalartAllmarasStandardWallFunctionFvPatchScalarField &) | |
Construct as copy. | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. | |
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField (const nutSpalartAllmarasStandardWallFunctionFvPatchScalarField &, 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 ("nutWallFunction") | |
Runtime type information. | |
nutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. | |
nutWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &) | |
Construct as copy. | |
nutWallFunctionFvPatchScalarField (const nutWallFunctionFvPatchScalarField &, 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 > | calcNut () 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. |
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 115 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
Referenced by nutSpalartAllmarasStandardWallFunctionFvPatchScalarField::clone().
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 139 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasStandardWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField onto a new patch
Definition at line 126 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasStandardWallFunctionFvPatchScalarField & | sawfpsf | ) |
Construct as copy.
Definition at line 151 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasStandardWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasStandardWallFunctionFvPatchScalarField & | sawfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 161 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
|
protectedvirtual |
Calculate yPLus.
Definition at line 74 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
References forAll, Foam::log(), Foam::mag(), Foam::max(), RASModel(), and y.
Referenced by nutSpalartAllmarasStandardWallFunctionFvPatchScalarField::calcNut(), and nutSpalartAllmarasStandardWallFunctionFvPatchScalarField::yPlus().
|
protectedvirtual |
Calculate the turbulence viscosity.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 44 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
References nutSpalartAllmarasStandardWallFunctionFvPatchScalarField::calcYPlus(), nutWallFunctionFvPatchScalarField::E_, forAll, nutWallFunctionFvPatchScalarField::kappa_, Foam::log(), Foam::mag(), RASModel(), nutSpalartAllmarasStandardWallFunctionFvPatchScalarField::yPlus(), and nutWallFunctionFvPatchScalarField::yPlusLam_.
TypeName | ( | "nutSpalartAllmarasStandardWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 109 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 129 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.H.
|
virtual |
Calculate and return the yPlus at the boundary.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 173 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.
References nutSpalartAllmarasStandardWallFunctionFvPatchScalarField::calcYPlus(), Foam::mag(), and RASModel().
Referenced by nutSpalartAllmarasStandardWallFunctionFvPatchScalarField::calcNut().
|
virtual |
Write.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 185 of file nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C.