38 namespace heatTransferModels
57 const bool registerObject
71 vapourPhaseName_(
dict.lookup(
"vapourPhase")),
76 dict.subDict(
"heatTransferModel"),
82 relax_(
dict.lookupOrDefault<scalar>(
"relax", scalar(1))),
83 partitioningModel_(nullptr),
84 nucleationSiteModel_(nullptr),
85 departureDiamModel_(nullptr),
86 departureFreqModel_(nullptr),
92 interface_.mesh().time().
name(),
104 IOobject::groupName(
"departureDiameter", interface_.
name()),
105 interface_.mesh().time().
name(),
117 IOobject::groupName(
"departureFrequency", interface_.
name()),
118 interface_.mesh().time().
name(),
126 nucleationSiteDensity_
130 IOobject::groupName(
"nucleationSites", interface_.
name()),
131 interface_.mesh().time().
name(),
144 interface_.mesh().time().
name(),
157 interface_.mesh().time().
name(),
170 interface_.mesh().time().
name(),
183 interface_.mesh().time().
name(),
188 heatTransferModel_->
K()
194 dict.subDict(
"partitioningModel")
197 nucleationSiteModel_ =
200 dict.subDict(
"nucleationSiteModel")
203 departureDiamModel_ =
206 dict.subDict(
"departureDiameterModel")
209 departureFreqModel_ =
212 dict.subDict(
"departureFrequencyModel")
229 const scalar residualAlpha
236 const phaseModel& solid = interface_.dispersed();
253 (K_*lThermo.
T() + otherK*sThermo.
T())
254 /
max(K_ + otherK, smallK);
264 .Tsat(
liquid.fluidThermo().p())()
269 vThermo.
ha(
liquid.fluidThermo().p(), Tsat) - lThermo.
ha()
274 partitioningModel_->wetFraction(
liquid/
max(1 - solid, small));
278 departureDiamModel_->dDeparture
290 departureFreqModel_->fDeparture
302 nucleationSiteDensity_ =
303 nucleationSiteModel_->nucleationSiteDensity
328 lrho*lCp*(Tsat -
min(Tsurface_, Tsat))/(lrho*L)
333 wetFraction_*4.8*
exp(
min(-Ja/80,
log(vGreat)))
338 min(
pi*
sqr(dDep_)*nucleationSiteDensity_*Al/4, scalar(1))
343 min(
pi*
sqr(dDep_)*nucleationSiteDensity_*Al/4, scalar(5))
350 relax_*(1.0/6.0)*A2E*dDep_*vrho*fDep_*Av
351 + (1 - relax_)*dmdtf_;
361 *
sqrt((0.8/
max(fDep_, smallF))/(
pi*(lkappa/lCp)/lrho))
367 + relax_*(A2*hQ*
max(Tsurface_ - lThermo.
T(), zeroT))*Av;
371 heatTransferModel_->K(residualAlpha)
372 + (dmdtf_*L + qq_)/
max(Tsurface_ -
liquid.thermo().T(), smallT);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
bool good() const
Return true if next operation might succeed.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Type & first() const
Return first.
virtual const volScalarField & T() const =0
Temperature [K].
virtual const volScalarField & Cp() const =0
Heat capacity at constant pressure [J/kg/K].
virtual tmp< volScalarField > ha() const =0
Absolute enthalpy [J/kg].
virtual const volScalarField & kappa() const =0
Thermal conductivity of mixture [W/m/K].
virtual tmp< volScalarField > Av() const =0
Return the surface area per unit volume.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to represent a interface between phases where one phase is considered dispersed within the othe...
Model for heat transfer between phases.
tmp< volScalarField > K() const
The heat transfer function K used in the enthalpy equation.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
const volScalarField & dmdtf() const
Return the rate of phase-change.
virtual ~wallBoilingHeatTransfer()
Destructor.
bool activePhaseInterface(const phaseInterfaceKey &) const
Is there phase change mass transfer for this phaseInterface.
bool flipSign() const
True if the sign of dmdtf should be changed.
wallBoilingHeatTransfer(const dictionary &dict, const phaseInterface &interface, const bool registerObject)
Construct from components.
Wrapper around saturationTemperatureModel to facilitate convenient construction on interfaces.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
Word-pair based class used for keying interface models in hash tables.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
const diameterModel & diameter() const
Return a reference to the diameterModel of the phase.
const word & name() const
Return the name of this phase.
Class to represent a system of phases and model interfacial transfers between them.
const phaseModelList & phases() const
Return the phase models.
const ModelType & lookupInterfacialModel(const phaseInterface &interface) const
Return a sub model for an interface.
Base-class for thermodynamic properties based on density.
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
Class to represent a certain side of an interface between phases.
A class for managing temporary objects.
static autoPtr< departureDiameterModel > New(const dictionary &dict)
Select null constructed.
static autoPtr< departureFrequencyModel > New(const dictionary &dict)
Select null constructed.
static autoPtr< nucleationSiteModel > New(const dictionary &dict)
Select null constructed.
static autoPtr< partitioningModel > New(const dictionary &dict)
Select null constructed.
dimensionedScalar exp(const dimensionedScalar &ds)
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
const dimensionSet dimEnergy
dimensionedSymmTensor sqr(const dimensionedVector &dv)
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimless
const dimensionSet dimLength
const dimensionSet dimTemperature
dimensionedScalar log(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
const dimensionSet dimTime
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionSet dimDensity
const dimensionSet dimVolume
defineTypeNameAndDebug(combustionModel, 0)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
word typedName(Name name)
Return the name of the object within the given type.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
const dimensionSet dimArea