33 namespace wallBoilingModels
35 namespace partitioningModels
51 template<
class ScalarFieldType>
53 Foam::wallBoilingModels::partitioningModels::linear::calculate
55 const ScalarFieldType& alphaLiquid
63 (alphaLiquid - alphaLiquid0_)/(alphaLiquid1_ - alphaLiquid0_),
79 alphaLiquid0_(
dict.lookup<scalar>(
"alphaLiquid0")),
80 alphaLiquid1_(
dict.lookup<scalar>(
"alphaLiquid1"))
90 alphaLiquid0_(model.alphaLiquid0_),
91 alphaLiquid1_(model.alphaLiquid1_)
139 writeEntry(os,
"alphaLiquid0", alphaLiquid0_);
140 writeEntry(os,
"alphaLiquid1", alphaLiquid1_);
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for managing temporary objects.
Base class for wall heat flux partitioning models.
virtual void write(Ostream &os) const
Write to stream.
Linear wall heat flux partitioning model.
virtual tmp< scalarField > wetFraction(const scalarField &alphaLiquid) const
Return the wet fraction.
virtual void write(Ostream &os) const
Write to stream.
virtual ~linear()
Destructor.
linear(const dictionary &dict)
Construct from a dictionary.
label calculate(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, GeoMesh > &distance)
Calculate distance data from patches.
defineTypeNameAndDebug(cosine, 0)
addToRunTimeSelectionTable(partitioningModel, cosine, dictionary)
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)