46 for (
int iter = 0; iter < 10; ++iter)
48 ypl =
log(
max(E*ypl, scalar(1)))/kappa;
73 Cmu_(
dict.getOrDefault<scalar>(
"Cmu", 0.09)),
90 os.writeEntryIfDifferent<scalar>(
"Cmu", 0.09, Cmu_);
91 os.writeEntryIfDifferent<scalar>(
"kappa", 0.41, kappa_);
92 os.writeEntryIfDifferent<scalar>(
"E", 9.8, E_);
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,...
void writeEntries(Ostream &) const
Write wall-function coefficients as dictionary entries.
wallFunctionCoefficients()
Construct with default coefficients.
OBJstream os(runTime.globalPath()/outputName)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
static scalar calcYPlusLam(const scalar kappa, const scalar E)
Estimate the y+ at the intersection of the two sublayers.
MinMax< scalar > scalarMinMax
A scalar min/max range.
dimensionedScalar log(const dimensionedScalar &ds)