This boundary condition provides a wall constraint on the turbulent viscosity, i.e. nut
, based on velocity, i.e. U
, for low- and high-Reynolds number turbulence models.
More...
Protected Member Functions | |
virtual tmp< scalarField > | calcYPlus (const scalarField &magUp) const |
virtual tmp< scalarField > | calcNut () const |
![]() | |
virtual const volVectorField & | U (const turbulenceModel &turb) const |
virtual void | checkType () |
virtual void | writeLocalEntries (Ostream &) const |
Additional Inherited Members | |
![]() | |
static const nutWallFunctionFvPatchScalarField & | nutw (const turbulenceModel &turbModel, const label patchi) |
static scalar | yPlusLam (const scalar kappa, const scalar E) |
![]() | |
enum | blendingType { STEPWISE, MAX, BINOMIAL, EXPONENTIAL } |
![]() | |
enum blendingType | blending_ |
const scalar | n_ |
word | UName_ |
scalar | Cmu_ |
scalar | kappa_ |
scalar | E_ |
scalar | yPlusLam_ |
![]() | |
static const Enum< blendingType > | blendingTypeNames |
This boundary condition provides a wall constraint on the turbulent viscosity, i.e. nut
, based on velocity, i.e. U
, for low- and high-Reynolds number turbulence models.
<patchName> { // Mandatory entries (unmodifiable) type nutUWallFunction; // Optional (inherited) entries ... }
where the entries mean:
Property | Description | Type | Req'd | Dflt |
---|---|---|---|---|
type | Type name: nutUWallFunction | word | yes | - |
The inherited entries are elaborated in:
correctNut()
(called through turbulence->validate
) returns a slightly different value every time it is called. See nutUSpaldingWallFunctionFvPatchScalarField.C.Definition at line 94 of file nutUWallFunctionFvPatchScalarField.H.
nutUWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 122 of file nutUWallFunctionFvPatchScalarField.C.
Referenced by nutUWallFunctionFvPatchScalarField::clone().
nutUWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 144 of file nutUWallFunctionFvPatchScalarField.C.
nutUWallFunctionFvPatchScalarField | ( | const nutUWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 132 of file nutUWallFunctionFvPatchScalarField.C.
nutUWallFunctionFvPatchScalarField | ( | const nutUWallFunctionFvPatchScalarField & | sawfpsf | ) |
Definition at line 155 of file nutUWallFunctionFvPatchScalarField.C.
nutUWallFunctionFvPatchScalarField | ( | const nutUWallFunctionFvPatchScalarField & | sawfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 164 of file nutUWallFunctionFvPatchScalarField.C.
|
protectedvirtual |
Definition at line 74 of file nutUWallFunctionFvPatchScalarField.C.
References forAll, Foam::constant::atomic::group, IOobject::groupName(), Foam::log(), Foam::mag(), magUp, Foam::max(), turbulenceModel::nu(), Foam::foamVersion::patch, turbulenceModel::propertiesName, tmp::ref(), y, turbulenceModel::y(), yPlus, and Foam::Zero.
Referenced by nutUWallFunctionFvPatchScalarField::calcNut().
|
protectedvirtual |
Implements nutWallFunctionFvPatchScalarField.
Reimplemented in atmNutUWallFunctionFvPatchScalarField.
Definition at line 32 of file nutUWallFunctionFvPatchScalarField.C.
References nutWallFunctionFvPatchScalarField::blend(), GeometricField::boundaryField(), nutUWallFunctionFvPatchScalarField::calcYPlus(), Foam::constant::electromagnetic::e, nutWallFunctionFvPatchScalarField::E_, forAll, Foam::constant::atomic::group, IOobject::groupName(), nutWallFunctionFvPatchScalarField::kappa_, Foam::log(), Foam::mag(), magUp, Foam::max(), turbulenceModel::nu(), nutWallFunctionFvPatchScalarField::nutw(), Foam::foamVersion::patch, turbulenceModel::propertiesName, tmp::ref(), nutWallFunctionFvPatchScalarField::U(), nutUWallFunctionFvPatchScalarField::yPlus(), and Foam::Zero.
TypeName | ( | "nutUWallFunction" | ) |
|
inlinevirtual |
Reimplemented in atmNutUWallFunctionFvPatchScalarField.
Definition at line 150 of file nutUWallFunctionFvPatchScalarField.H.
References nutUWallFunctionFvPatchScalarField::nutUWallFunctionFvPatchScalarField().
|
inlinevirtual |
Reimplemented in atmNutUWallFunctionFvPatchScalarField.
Definition at line 167 of file nutUWallFunctionFvPatchScalarField.H.
References nutUWallFunctionFvPatchScalarField::nutUWallFunctionFvPatchScalarField().
|
virtual |
Implements nutWallFunctionFvPatchScalarField.
Definition at line 176 of file nutUWallFunctionFvPatchScalarField.C.
References forAll, Foam::constant::atomic::group, IOobject::groupName(), Foam::mag(), magUp, Foam::foamVersion::patch, fvPatchField::patchInternalField(), turbulenceModel::propertiesName, tmp::ref(), fvPatchField::snGrad(), Foam::sqrt(), U, y, and yPlus.
Referenced by nutUWallFunctionFvPatchScalarField::calcNut().
|
virtual |
Reimplemented from nutWallFunctionFvPatchScalarField.
Reimplemented in atmNutUWallFunctionFvPatchScalarField.
Definition at line 219 of file nutUWallFunctionFvPatchScalarField.C.
References os(), and fvPatchField::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.