31#include "phasePairKey.H"
55Foam::wallBoilingModels::nucleateFluxModels::Kutadeladze::Kutadeladze
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)
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,...
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.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
Base class for nucleation flux models.
nucleateFluxModel()=default
Default construct.
virtual void write(Ostream &os) const
Write.
Nucleate flux sub-cooling correlation.
virtual void write(Ostream &os) const
Write.
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
UList< label > labelUList
A UList of labels.
fvPatchField< scalar > fvPatchScalarField
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
const vector L(dict.get< vector >("L"))