33 namespace wallBoilingModels
35 namespace partitioningModels
51 template<
class ScalarFieldType>
53 Foam::wallBoilingModels::partitioningModels::Lavieville::calculate
55 const ScalarFieldType& alphaLiquid
59 pos0(alphaLiquid - alphaCrit_)
61 1 - 0.5*
exp(-20*(alphaLiquid - alphaCrit_))
63 +
neg(alphaLiquid - alphaCrit_)
65 0.5*
pow(alphaLiquid/alphaCrit_, 20*alphaCrit_)
78 alphaCrit_(
dict.lookup<scalar>(
"alphaCrit"))
88 alphaCrit_(model.alphaCrit_)
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....
A class for managing temporary objects.
Base class for wall heat flux partitioning models.
virtual void write(Ostream &os) const
Write to stream.
Lavieville 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 ~Lavieville()
Destructor.
Lavieville(const dictionary &dict)
Construct from a dictionary.
label calculate(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance)
Calculate distance data from patches.
defineTypeNameAndDebug(cosine, 0)
addToRunTimeSelectionTable(partitioningModel, cosine, dictionary)
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionedScalar neg(const dimensionedScalar &ds)