The class wallFunctionBlenders is a base class that hosts common entries for various derived wall-function boundary conditions to be used in low- and high-Reynolds number applications.
More...


Public Member Functions | |
| wallFunctionBlenders () | |
| Default construct with default coefficients. More... | |
| wallFunctionBlenders (const dictionary &dict, const blenderType blender, const scalar n) | |
| Construct from dictionary and default parameters. More... | |
| void | writeEntries (Ostream &) const |
| Write wall-function blending data as dictionary entries. More... | |
Protected Types | |
| enum | blenderType { STEPWISE, MAX, BINOMIAL, EXPONENTIAL, TANH } |
| Options for the blending treatment of viscous and inertial sublayers. More... | |
Protected Attributes | |
| enum blenderType | blender_ |
| Blending treatment. More... | |
| scalar | n_ |
| Binomial blending exponent being used when blenderType is blenderType::BINOMIAL. More... | |
Static Protected Attributes | |
| static const Enum< blenderType > | blenderTypeNames |
| Names for blenderType. More... | |
The class wallFunctionBlenders is a base class that hosts common entries for various derived wall-function boundary conditions to be used in low- and high-Reynolds number applications.
Default model coefficients (tag:VM):
Versteeg, H. K., & Malalasekera, W. (2011).
An introduction to computational fluid dynamics: The finite
volume method. Harlow: Pearson Education.
Subsection "3.5.2 k-epsilon model".
Binomial blending of the viscous and inertial sublayers (tag:ME):
Menter, F., & Esch, T. (2001).
Elements of industrial heat transfer prediction.
In Proceedings of the 16th Brazilian Congress of Mechanical
Engineering (COBEM), November 2001. vol. 20, p. 117-127.
Exponential/Max blending of the viscous and inertial sublayers (tag:PH):
Popovac, M., & Hanjalić, K. (2007).
Compound wall treatment for RANS computation of complex
turbulent flows and heat transfer.
Flow, turbulence and combustion, 78(2), 177-202.
DOI:10.1007/s10494-006-9067-x
Tanh blending of the viscous and inertial sublayers (tag:KAS):
Knopp, T., Alrutz, T., & Schwamborn, D. (2006).
A grid and flow adaptive wall-function method for RANS
turbulence modelling.
Journal of Computational Physics, 220(1), 19-40.
DOI:10.1016/j.jcp.2006.05.003
<patchName>
{
// Top-level entries
...
// Optional entries
blending stepwise;
n 4.0;
// Inherited entries
...
}
where the entries mean:
| Property | Description | Type | Reqd | Deflt |
|---|---|---|---|---|
blending | Viscous/inertial sublayer blending | word | no | stepwise |
n | Binomial blending exponent | scalar | no | 2.0 |
Options for the blending entry:
stepwise | Stepwise switch (discontinuous)
max | Maximum value switch (discontinuous)
binomial | Binomial blending (smooth)
exponential | Exponential blending (smooth)
tanh | Tanh blending (smooth)wherein predictions of a given quantity (e.g. nut) for viscous and inertial sublayers are blended according to the following expressions:
stepwise (default):
where
| = | prediction in viscous sublayer |
| = | prediction in inertial sublayer |
| = | estimated wall-normal height of cell centre in wall units |
| = | estimated where sublayers intersect |
max (PH:Eq. 27):
binomial (ME:Eqs. 15-16):
where
| = | Binomial blending exponent |
exponential (PH:Eq. 32):
where (PH:Eq. 31)
| = | Blending expression |
| = | |
tanh (KAS:Eqs. 33-34):
where
| = | |
| = | |
| = | |
G predictions for viscous and inertial sublayers are blended in a stepwise manner, and G below
(i.e. in the viscous sublayer) is presumed to be zero.
Blending treatments are enabled for the following wall functions:
Definition at line 249 of file wallFunctionBlenders.H.
|
protected |
Options for the blending treatment of viscous and inertial sublayers.
Definition at line 258 of file wallFunctionBlenders.H.
Default construct with default coefficients.
Definition at line 44 of file wallFunctionBlenders.C.
| wallFunctionBlenders | ( | const dictionary & | dict, |
| const blenderType | blender, | ||
| const scalar | n | ||
| ) |
Construct from dictionary and default parameters.
Definition at line 52 of file wallFunctionBlenders.C.
| void writeEntries | ( | Ostream & | os | ) | const |
Write wall-function blending data as dictionary entries.
Definition at line 81 of file wallFunctionBlenders.C.
References os(), and Ostream::writeEntry().
Referenced by nutkWallFunctionFvPatchScalarField::writeLocalEntries(), nutUWallFunctionFvPatchScalarField::writeLocalEntries(), omegaWallFunctionFvPatchScalarField::writeLocalEntries(), and epsilonWallFunctionFvPatchScalarField::writeLocalEntries().


|
staticprotected |
Names for blenderType.
Definition at line 270 of file wallFunctionBlenders.H.
|
protected |
Blending treatment.
Definition at line 278 of file wallFunctionBlenders.H.
Referenced by nutkWallFunctionFvPatchScalarField::calcNut(), and nutUWallFunctionFvPatchScalarField::calcNut().
|
protected |
Binomial blending exponent being used when blenderType is blenderType::BINOMIAL.
Definition at line 284 of file wallFunctionBlenders.H.
Referenced by nutkWallFunctionFvPatchScalarField::calcNut(), and nutUWallFunctionFvPatchScalarField::calcNut().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.