38 namespace heatTransferModels
57 const bool registerObject
71 vapourPhaseName_(
dict.lookup(
"vapourPhase")),
72 liquidPhaseName_(
dict.lookup(
"liquidPhase")),
77 dict.subDict(
"heatTransferModel"),
83 relax_(
dict.lookupOrDefault<scalar>(
"relax", scalar(1))),
84 seedFraction_(
dict.lookupOrDefault<scalar>(
"nucleationSeedFraction", 1
e-4)),
85 partitioningModel_(nullptr),
86 nucleationSiteModel_(nullptr),
87 departureDiamModel_(nullptr),
88 departureFreqModel_(nullptr),
106 IOobject::groupName(
"departureDiameter", interface_.
name()),
107 interface_.mesh().time().
timeName(),
119 IOobject::groupName(
"departureFrequency", interface_.
name()),
120 interface_.mesh().time().
timeName(),
128 nucleationSiteDensity_
132 IOobject::groupName(
"nucleationSites", interface_.
name()),
133 interface_.mesh().time().
timeName(),
146 interface_.mesh().time().
timeName(),
159 interface_.mesh().time().
timeName(),
172 interface_.mesh().time().
timeName(),
185 interface_.mesh().time().
timeName(),
190 heatTransferModel_->
K()
196 dict.subDict(
"partitioningModel")
199 nucleationSiteModel_ =
202 dict.subDict(
"nucleationSiteModel")
205 departureDiamModel_ =
208 dict.subDict(
"departureDiameterModel")
211 departureFreqModel_ =
214 dict.subDict(
"departureFrequencyModel")
231 const scalar residualAlpha
238 const phaseModel& solid = interface_.dispersed();
255 (K_*lThermo.
T() + otherK*sThermo.
T())
256 /
max(K_ + otherK, smallK);
266 .Tsat(
liquid.thermo().p())()
271 vThermo.
ha(lThermo.
p(), Tsat) - lThermo.
ha()
276 partitioningModel_->wetFraction(
liquid/
max(1 - solid, small));
280 departureDiamModel_->dDeparture
292 departureFreqModel_->fDeparture
304 nucleationSiteDensity_ =
305 nucleationSiteModel_->nucleationSiteDensity
330 lrho*lCp*(Tsat -
min(Tsurface_, Tsat))/(lrho*L)
335 wetFraction_*4.8*
exp(
min(-Ja/80,
log(vGreat)))
340 min(
pi*
sqr(dDep_)*nucleationSiteDensity_*Al/4, scalar(1))
345 min(
pi*
sqr(dDep_)*nucleationSiteDensity_*Al/4, scalar(5))
352 relax_*(1.0/6.0)*A2E*dDep_*vrho*fDep_*Av
353 + (1 - relax_)*dmdtf_;
363 *
sqrt((0.8/
max(fDep_, smallF))/(
pi*(lkappa/lCp)/lrho))
369 + relax_*(A2*hQ*
max(Tsurface_ - lThermo.
T(), zeroT))*Av;
373 heatTransferModel_->K(residualAlpha)
374 + (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,...
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].
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...
virtual volScalarField & p()=0
Pressure [Pa].
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.
phaseInterfaceKey activePhaseInterface() const
Key for the phase change phaseInterface.
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 autoPtr< diameterModel > & dPtr() const
Return const-reference to diameterModel of the 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 fluid 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)
const dimensionSet dimEnergy
dimensionedSymmTensor sqr(const dimensionedVector &dv)
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
word name(const complex &)
Return a string representation of a complex.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)