36namespace wallBoilingModels
38namespace partitioningModels
54Foam::wallBoilingModels::partitioningModels::
58 alphaLiquid1_(
dict.get<scalar>(
"alphaLiquid1")),
59 alphaLiquid0_(
dict.get<scalar>(
"alphaLiquid0"))
73 pos0(alphaLiquid1_ - alphaLiquid)
75 neg(alphaLiquid0_ - alphaLiquid)
82 *(alphaLiquid - alphaLiquid0_)
83 /(alphaLiquid1_ - alphaLiquid0_)
88 +
neg(alphaLiquid1_ - alphaLiquid);
96 os.writeEntry(
"alphaLiquid1", alphaLiquid1_);
97 os.writeEntry(
"alphaLiquid0", alphaLiquid0_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
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 a number of values (eg,...
virtual bool write()
Write the output fields.
A class for managing temporary objects.
Base class for wall heat flux partitioning models.
A cosine model for wall heat flux partitioning based on Tentner et al. (2006) for boiling flows.
virtual tmp< scalarField > fLiquid(const scalarField &alphaLiquid) const
Calculate and return the wall heat-flux partitioning.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
constexpr scalar pi(M_PI)
dimensionedScalar pos0(const dimensionedScalar &ds)
dimensionedScalar neg(const dimensionedScalar &ds)
dimensionedScalar cos(const dimensionedScalar &ds)