36namespace wallBoilingModels
38namespace nucleationSiteModels
60 Cn_(
dict.getOrDefault<scalar>(
"Cn", 1))
78 liquid.thermo().T().boundaryField()[patchi];
80 return Cn_*9.922e5*
pow(
max((Tw - Tsatw)/scalar(10), scalar(0)), 1.805);
90 os.writeEntry(
"Cn", Cn_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
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,...
virtual bool write()
Write the output fields.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
Base class for nucleation site density models.
A model for nucleation site density based on Lemmert-Chawla (1977) function and Egorov-Menter (2004) ...
virtual tmp< scalarField > N(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L) const
Calculate and return the nucleation-site density.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const vector L(dict.get< vector >("L"))