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 for rough walls.
More...
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 } |
![]() | |
virtual const volVectorField & | U (const turbulenceModel &turb) const |
virtual void | checkType () |
![]() | |
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 for rough walls.
<patchName> { // Mandatory entries (unmodifiable) type nutURoughWallFunction; roughnessHeight 1e-5; roughnessConstant 0.5; roughnessFactor 1; // Optional entries (unmodifiable) maxIter 10; tolerance 0.0001; // Optional (inherited) entries ... }
where the entries mean:
Property | Description | Type | Req'd | Dflt |
---|---|---|---|---|
type | Type name: nutURoughWallFunction | word | yes | - |
roughnessHeight | Roughness height | scalar | yes | - |
roughnessConstant | Roughness constant | scalar | yes | - |
roughnessFactor | Scaling factor | scalar | yes | - |
maxIter | Number of Newton-Raphson iterations | label | no | 10 |
tolerance | Convergence tolerance | scalar | no | 0.0001 |
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 134 of file nutURoughWallFunctionFvPatchScalarField.H.
nutURoughWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 220 of file nutURoughWallFunctionFvPatchScalarField.C.
Referenced by nutURoughWallFunctionFvPatchScalarField::clone().
nutURoughWallFunctionFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 254 of file nutURoughWallFunctionFvPatchScalarField.C.
nutURoughWallFunctionFvPatchScalarField | ( | const nutURoughWallFunctionFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 236 of file nutURoughWallFunctionFvPatchScalarField.C.
Definition at line 271 of file nutURoughWallFunctionFvPatchScalarField.C.
nutURoughWallFunctionFvPatchScalarField | ( | const nutURoughWallFunctionFvPatchScalarField & | rwfpsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 286 of file nutURoughWallFunctionFvPatchScalarField.C.
TypeName | ( | "nutURoughWallFunction" | ) |
|
inlinevirtual |
Definition at line 212 of file nutURoughWallFunctionFvPatchScalarField.H.
References nutURoughWallFunctionFvPatchScalarField::nutURoughWallFunctionFvPatchScalarField().
|
inlinevirtual |
Definition at line 229 of file nutURoughWallFunctionFvPatchScalarField.H.
References nutURoughWallFunctionFvPatchScalarField::nutURoughWallFunctionFvPatchScalarField().
|
inline |
Definition at line 245 of file nutURoughWallFunctionFvPatchScalarField.H.
|
inline |
Definition at line 251 of file nutURoughWallFunctionFvPatchScalarField.H.
|
inline |
Definition at line 257 of file nutURoughWallFunctionFvPatchScalarField.H.
|
inline |
Definition at line 263 of file nutURoughWallFunctionFvPatchScalarField.H.
|
inline |
Definition at line 269 of file nutURoughWallFunctionFvPatchScalarField.H.
|
inline |
Definition at line 276 of file nutURoughWallFunctionFvPatchScalarField.H.
|
virtual |
Implements nutWallFunctionFvPatchScalarField.
Definition at line 303 of file nutURoughWallFunctionFvPatchScalarField.C.
References Foam::constant::atomic::group, IOobject::groupName(), Foam::mag(), magUp, Foam::foamVersion::patch, turbulenceModel::propertiesName, and U.
|
virtual |
Reimplemented from nutWallFunctionFvPatchScalarField.
Definition at line 323 of file nutURoughWallFunctionFvPatchScalarField.C.
References os(), and fvPatchField::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.