31 #include "phasePairKey.H" 38 namespace wallBoilingModels
40 namespace nucleateFluxModels
55 Foam::wallBoilingModels::nucleateFluxModels::exponential::exponential
61 a_(
dict.getOrDefault<scalar>(
"a", 6309)),
62 b_(
dict.getOrDefault<scalar>(
"b", 2.52))
80 liquid.thermo().T().boundaryField()[patchi];
82 return a_*
pow(
max((Tw-Tsatw), scalar(0)), b_);
92 os.writeEntry(
"a", a_);
93 os.writeEntry(
"b", b_);
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const vector L(dict.get< vector >("L"))
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Macros for easy insertion into run-time selection tables.
addToRunTimeSelectionTable(nucleateFluxModel, exponential, dictionary)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &os) const
Write.
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< scalarField > qNucleate(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.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Base class for nucleation flux models.
Nucleate flux sub-cooling correlation.
virtual void write(Ostream &os) const
Write.
A class for managing temporary objects.
defineTypeNameAndDebug(exponential, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...