34 namespace wallBoilingModels
36 namespace departureDiameterModels
52 template<
class ScalarFieldType>
54 Foam::wallBoilingModels::departureDiameterModels::TolubinskiKostanchuk::
57 const ScalarFieldType& Tl,
58 const ScalarFieldType& Tsatw
69 return max(
min(dRef*
exp(- (Tsatw - Tl)/T45), dMax), dMin);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
A class for managing temporary objects.
Base class for bubble departure diameter models.
virtual void write(Ostream &os) const
Write to stream.
Tolubinski-Kostanchuk correlation for bubble departure diameter.
TolubinskiKostanchuk(const dictionary &dict)
Construct from a dictionary.
virtual ~TolubinskiKostanchuk()
Destructor.
virtual void write(Ostream &os) const
Write to stream.
virtual tmp< scalarField > dDeparture(const phaseModel &liquid, const phaseModel &vapour, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L) const
Calculate and return the departure diameter field for a wall patch.
label calculate(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance)
Calculate distance data from patches.
addToRunTimeSelectionTable(departureDiameterModel, KocamustafaogullariIshiiDepartureDiameter, dictionary)
defineTypeNameAndDebug(KocamustafaogullariIshiiDepartureDiameter, 0)
dimensionedScalar exp(const dimensionedScalar &ds)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimLength
const dimensionSet dimTemperature
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)