This boundary condition provides a wall constraint on the turbulent viscosity, i.e. nut
, based on velocity, i.e. U
, using a binomial-function wall-function blending method between the viscous and inertial sublayer predictions of nut
for low- and high-Reynolds number turbulence models.
More...
Protected Member Functions | |
virtual tmp< scalarField > | calcNut () const |
virtual tmp< scalarField > | calcUTau (const scalarField &magGradU) const |
![]() | |
virtual const volVectorField & | U (const turbulenceModel &turb) const |
virtual void | checkType () |
virtual void | writeLocalEntries (Ostream &) const |
Protected Attributes | |
scalar | n_ |
![]() | |
enum blendingType | blending_ |
const scalar | n_ |
word | UName_ |
scalar | Cmu_ |
scalar | kappa_ |
scalar | E_ |
scalar | yPlusLam_ |
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 } |
![]() | |
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
, using a binomial-function wall-function blending method between the viscous and inertial sublayer predictions of nut
for low- and high-Reynolds number turbulence models.
where
![]() | = | Friction velocity |
![]() | = | Friction velocity in the viscous sublayer |
![]() | = | Friction velocity in the inertial sublayer |
Reference:
See the section that describes 'automatic wall treatment': Menter, F., Ferreira, J. C., Esch, T., Konno, B. (2003). The SST turbulence model with improved wall treatment for heat transfer predictions in gas turbines. In Proceedings of the International Gas Turbine Congress. November, 2003. Tokyo, Japan. pp. 2-7.
<patchName> { // Mandatory entries (unmodifiable) type nutUBlendedWallFunction; // Optional entries (unmodifiable) n 4.0; // Optional (inherited) entries ... }
where the entries mean:
Property | Description | Type | Req'd | Dflt |
---|---|---|---|---|
type | Type name: nutUBlendedWallFunction | word | yes | - |
n | Blending factor | scalar | no | 4.0 |
The inherited entries are elaborated in:
blending
option binomial
or with the deprecated blended
flag set to on
.correctNut()
(called through turbulence->validate
) returns a slightly different value every time it is called. See nutUSpaldingWallFunctionFvPatchScalarField.C.Definition at line 143 of file nutUBlendedWallFunctionFvPatchScalarField.H.
nutUBlendedWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 118 of file nutUBlendedWallFunctionFvPatchScalarField.C.
Referenced by nutUBlendedWallFunctionFvPatchScalarField::clone().
nutUBlendedWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 144 of file nutUBlendedWallFunctionFvPatchScalarField.C.
nutUBlendedWallFunctionFvPatchScalarField | ( | const nutUBlendedWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 130 of file nutUBlendedWallFunctionFvPatchScalarField.C.
nutUBlendedWallFunctionFvPatchScalarField | ( | const nutUBlendedWallFunctionFvPatchScalarField & | wfpsf | ) |
Definition at line 157 of file nutUBlendedWallFunctionFvPatchScalarField.C.
nutUBlendedWallFunctionFvPatchScalarField | ( | const nutUBlendedWallFunctionFvPatchScalarField & | wfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 168 of file nutUBlendedWallFunctionFvPatchScalarField.C.
|
protectedvirtual |
Implements nutWallFunctionFvPatchScalarField.
Definition at line 30 of file nutUBlendedWallFunctionFvPatchScalarField.C.
References GeometricField::boundaryField(), nutUBlendedWallFunctionFvPatchScalarField::calcUTau(), Foam::constant::atomic::group, IOobject::groupName(), Foam::mag(), Foam::max(), turbulenceModel::nu(), Foam::foamVersion::patch, turbulenceModel::propertiesName, Foam::sqr(), and nutWallFunctionFvPatchScalarField::U().
|
protectedvirtual |
Definition at line 57 of file nutUBlendedWallFunctionFvPatchScalarField.C.
References forAll, Foam::constant::atomic::group, IOobject::groupName(), Foam::log(), Foam::mag(), magUp, n, turbulenceModel::nu(), Foam::foamVersion::patch, fvPatchField::patchInternalField(), Foam::pow(), turbulenceModel::propertiesName, tmp::ref(), Foam::sqrt(), U, y, turbulenceModel::y(), yPlus, and Foam::Zero.
Referenced by nutUBlendedWallFunctionFvPatchScalarField::calcNut().
TypeName | ( | "nutUBlendedWallFunction" | ) |
|
inlinevirtual |
Definition at line 205 of file nutUBlendedWallFunctionFvPatchScalarField.H.
References nutUBlendedWallFunctionFvPatchScalarField::nutUBlendedWallFunctionFvPatchScalarField().
|
inlinevirtual |
Definition at line 222 of file nutUBlendedWallFunctionFvPatchScalarField.H.
References nutUBlendedWallFunctionFvPatchScalarField::nutUBlendedWallFunctionFvPatchScalarField().
|
virtual |
Implements nutWallFunctionFvPatchScalarField.
Definition at line 181 of file nutUBlendedWallFunctionFvPatchScalarField.C.
References Foam::constant::atomic::group, IOobject::groupName(), Foam::mag(), turbulenceModel::nu(), Foam::foamVersion::patch, turbulenceModel::propertiesName, fvPatchField::snGrad(), U, y, and turbulenceModel::y().
|
virtual |
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 204 of file nutUBlendedWallFunctionFvPatchScalarField.C.
References os(), fvPatchField::write(), and Ostream::writeEntry().
|
protected |
Definition at line 152 of file nutUBlendedWallFunctionFvPatchScalarField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.