31 #include "phasePairKey.H" 38 namespace wallBoilingModels
40 namespace nucleateFluxModels
55 Foam::wallBoilingModels::nucleateFluxModels::Kutadeladze::Kutadeladze
61 Cn_(
dict.getOrDefault<scalar>(
"Cn", 5.66
e-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)
127 os.writeEntry(
"Cn", Cn_);
128 os.writeEntry(
"an", an_);
129 os.writeEntry(
"bn", bn_);
130 os.writeEntry(
"n", n_);
virtual void write(Ostream &os) const
Write.
virtual tmp< scalarField > rhoEoS(const scalarField &p, const scalarField &T, const labelList &cells) const =0
Density from pressure and temperature from EoS.
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"))
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
Macros for easy insertion into run-time selection tables.
const dimensionedScalar e
Elementary charge.
addToRunTimeSelectionTable(nucleateFluxModel, exponential, dictionary)
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/(kg K)].
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/(m K)].
An ordered or unorder pair of phase names. Typically specified as follows.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
virtual void write(Ostream &os) const
Write.
const word & name() const
A class for managing temporary objects.
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
defineTypeNameAndDebug(exponential, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
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.