Go to the documentation of this file.
32 #include "phaseCompressibleTurbulenceModel.H"
33 #include "virtualMassModel.H"
34 #include "phaseSystem.H"
40 namespace diameterModels
42 namespace coalescenceModels
67 beta_(dimensionedScalar::getOrDefault(
"beta",
dict,
dimless, 2.05)),
68 C1_(dimensionedScalar::getOrDefault(
"C1",
dict,
dimless, 1.0))
82 const sizeGroup& fi = popBal_.sizeGroups()[i];
83 const sizeGroup& fj = popBal_.sizeGroups()[j];
84 const phaseModel& continuousPhase = popBal_.continuousPhase();
91 popBal_.continuousPhase()
99 popBal_.continuousPhase()
107 *
cbrt(popBal_.continuousTurbulence().epsilon()*fi.
d())
112 pi/4.0*
sqr(fi.
d() + fj.
d())*uij
123 continuousPhase.
rho()*fi.
d()*
sqr(uij)
124 /popBal_.sigmaWithContinuousPhase(fi.
phase())
131 <<
"A virtual mass model for " << fi.
phase().
name() <<
" in "
132 << popBal_.continuousPhase().name() <<
" is not specified. This is "
Base class for coalescence models.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
const phaseModel & phase() const
Return const-reference to the phase.
virtual tmp< volScalarField > rho() const =0
Return the density field.
dimensionedScalar exp(const dimensionedScalar &ds)
addToRunTimeSelectionTable(coalescenceModel, constantCoalescence, dictionary)
dimensionedScalar pow3(const dimensionedScalar &ds)
virtual tmp< volScalarField > Cvm() const =0
Return the virtual mass coefficient.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
This class represents a single sizeGroup belonging to a velocityGroup. The main property of a sizeGro...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Class that solves the univariate population balance equation by means of a class method (also called ...
Macros for easy insertion into run-time selection tables.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const word & name() const
Return the name of this phase.
const dimensionedScalar & d() const
Return representative diameter of the sizeGroup.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
constexpr scalar pi(M_PI)
dimensionedScalar sqrt(const dimensionedScalar &ds)
defineTypeNameAndDebug(constantCoalescence, 0)
virtual void addToCoalescenceRate(volScalarField &coalescenceRate, const label i, const label j)
Add to coalescenceRate.
dimensionedScalar cbrt(const dimensionedScalar &ds)
Luo(const populationBalanceModel &popBal, const dictionary &dict)