Wall function boundary condition for walls. More...
#include <incompressibleRASModels/nutSpalartAllmarasWallFunctionFvPatchScalarField.H>
Wall function boundary condition for walls.
Definition at line 53 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.H.
Public Member Functions | |
TypeName ("nutSpalartAllmarasWallFunction") | |
Runtime type information. | |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. | |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. | |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const nutSpalartAllmarasWallFunctionFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. | |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const nutSpalartAllmarasWallFunctionFvPatchScalarField &) | |
Construct as copy. | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. | |
nutSpalartAllmarasWallFunctionFvPatchScalarField (const nutSpalartAllmarasWallFunctionFvPatchScalarField &, 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 > | calcNut () const |
Calculate the turbulence viscosity. | |
virtual tmp< scalarField > | calcUTau (const scalarField &magGradU) const |
Calculate the friction velocity. | |
![]() | |
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. |
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 122 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
Referenced by nutSpalartAllmarasWallFunctionFvPatchScalarField::clone().
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 146 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
nutSpalartAllmarasWallFunctionFvPatchScalarField onto a new patch
Definition at line 133 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasWallFunctionFvPatchScalarField & | wfpsf | ) |
Construct as copy.
Definition at line 158 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
nutSpalartAllmarasWallFunctionFvPatchScalarField | ( | const nutSpalartAllmarasWallFunctionFvPatchScalarField & | wfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 168 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
|
protectedvirtual |
Calculate the turbulence viscosity.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 44 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References nutSpalartAllmarasWallFunctionFvPatchScalarField::calcUTau(), Foam::mag(), Foam::max(), RASModel(), and Foam::sqr().
|
protectedvirtual |
Calculate the friction velocity.
Definition at line 62 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References Foam::exp(), f(), forAll, Foam::mag(), Foam::max(), Foam::min(), fvPatchField< Type >::patchInternalField(), RASModel(), Foam::sqr(), Foam::sqrt(), and y.
Referenced by nutSpalartAllmarasWallFunctionFvPatchScalarField::calcNut(), and nutSpalartAllmarasWallFunctionFvPatchScalarField::yPlus().
TypeName | ( | "nutSpalartAllmarasWallFunction" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 109 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.H.
References nutSpalartAllmarasWallFunctionFvPatchScalarField::nutSpalartAllmarasWallFunctionFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 126 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.H.
References nutSpalartAllmarasWallFunctionFvPatchScalarField::nutSpalartAllmarasWallFunctionFvPatchScalarField().
|
virtual |
Calculate and return the yPlus at the boundary.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 180 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.
References nutSpalartAllmarasWallFunctionFvPatchScalarField::calcUTau(), Foam::mag(), RASModel(), fvPatchField< Type >::snGrad(), and y.
|
virtual |
Write.
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 194 of file nutSpalartAllmarasWallFunctionFvPatchScalarField.C.