41 { blenderType::STEPWISE ,
"stepwise" },
42 { blenderType::MAX ,
"max" },
43 { blenderType::BINOMIAL ,
"binomial" },
45 { blenderType::TANH,
"tanh" }
61 const blenderType blender,
67 blenderTypeNames.getOrDefault
76 dict.getCheckOrDefault<scalar>
90 os.writeEntry(
"blending", blenderTypeNames[blender_]);
92 if (blender_ == blenderType::BINOMIAL)
94 os.writeEntry(
"n", n_);
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
static const Enum< blenderType > blenderTypeNames
Names for blenderType.
void writeEntries(Ostream &) const
Write wall-function blending data as dictionary entries.
wallFunctionBlenders()
Default construct with default coefficients.
blenderType
Options for the blending treatment of viscous and inertial sublayers.
@ EXPONENTIAL
"Exponential blending (smooth)"
@ STEPWISE
"Stepwise switch (discontinuous)"
@ BINOMIAL
"Binomial blending (smooth)"
enum blenderType blender_
Blending treatment.
scalar n_
Binomial blending exponent being used when blenderType is blenderType::BINOMIAL.
OBJstream os(runTime.globalPath()/outputName)
MinMax< scalar > scalarMinMax
A scalar min/max range.