31#include "phasePairKey.H"
38namespace wallBoilingModels
40namespace nucleateFluxModels
61 Cn_(
dict.getOrDefault<scalar>(
"Cn", 5.66e-10)),
62 an_(
dict.getOrDefault<scalar>(
"an", 2.5)),
63 bn_(
dict.getOrDefault<scalar>(
"bn", 1)),
64 n_(
dict.getOrDefault<scalar>(
"n", 1))
95 liquid.fluid().
sigma(pair)().boundaryField()[patchi]
99 liquid.thermo().T().boundaryField()[patchi];
110 pow(
max((Tw-Tsatw), scalar(0)), an_)
114 Cn_*kappaLiquid*
pow(Cpliquid, 1.5)*
pow(rhoLiq,1.28)*
pow(pb,1.75)
117 (
pow(muLiquid, 0.625)*
pow(sigma,0.9)*
pow(
L,1.5)*
pow(rhoVapor,1.5));
127 os.writeEntry(
"Cn", Cn_);
128 os.writeEntry(
"an", an_);
129 os.writeEntry(
"bn", bn_);
130 os.writeEntry(
"n", n_);
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,...
virtual tmp< scalarField > rhoEoS(const scalarField &p, const scalarField &T, const labelList &cells) const =0
Density from pressure and temperature from EoS.
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...
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/(m K)].
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/(kg K)].
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const word & name() const
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
An ordered or unorder pair of phase names. Typically specified as follows.
A class for managing temporary objects.
Base class for nucleation flux models.
Nucleate flux sub-cooling correlation.
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.
#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"))