36namespace 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);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Base class for drift models.
Constant drift rate within all classes. Used for verification and validation of the drift formulation...
virtual void correct()
Correct diameter independent expressions.
virtual void addToDriftRate(volScalarField &driftRate, const label i)
Add to driftRate.
Class that solves the univariate population balance equation by means of a class method (also called ...
This class represents a single sizeGroup belonging to a velocityGroup. The main property of a sizeGro...
const dimensionedScalar & x() const
Return representative volume of the sizeGroup.
const phaseModel & phase() const
Return const-reference to the phase.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const dimensionedScalar & rho() const
Return const-access to phase1 density.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
const dimensionSet dimVolume(pow3(dimLength))
#define forAll(list, i)
Loop across all elements in list.