36 namespace diameterModels
76 forAll(popBal_.sizeGroups(), i)
78 const sizeGroup& fi = popBal_.sizeGroups()[i];
80 N_ += fi*fi.
phase()/fi.
x();
91 const sizeGroup& fi = popBal_.sizeGroups()[i];
95 driftRate += (popBal_.fluid().fvOptions()(
phase,
rho)&
rho)/(N_*
rho);
Base class for drift models.
const dimensionedScalar & rho() const
Return const-access to phase1 density.
const dimensionedScalar & x() const
Return representative volume of the sizeGroup.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Constant drift rate within all classes. Used for verification and validation of the drift formulation...
Class that solves the univariate population balance equation by means of a class method (also called ...
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
const phaseModel & phase() const
Return const-reference to the phase.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
const dimensionSet dimVolume(pow3(dimLength))
This class represents a single sizeGroup belonging to a velocityGroup. The main property of a sizeGro...
constantDrift(const populationBalanceModel &popBal, const dictionary &dict)
virtual void correct()
Correct diameter independent expressions.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Defines the attributes of an object for which implicit objectRegistry management is supported...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
addToRunTimeSelectionTable(driftModel, constantDrift, dictionary)
virtual void addToDriftRate(volScalarField &driftRate, const label i)
Add to driftRate.
defineTypeNameAndDebug(constantDrift, 0)
static constexpr const zero Zero
Global zero (0)