51 const populationBalanceModel& popBal,
55 driftModel(popBal,
dict),
76 forAll(popBal_.sizeGroups(), i)
80 N_ += fi*fi.
phase()/fi.
x();
91 const sizeGroup& fi = popBal_.sizeGroups()[i];
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.
const populationBalanceModel & popBal() const
Return reference to the populationBalanceModel.
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.
driftModel(const populationBalanceModel &popBal, const dictionary &dict)
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.
constantDrift(const populationBalanceModel &popBal, const dictionary &dict)
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.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static constexpr const zero Zero
Global zero (0).
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
const dimensionSet dimVolume(pow3(dimLength))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define forAll(list, i)
Loop across all elements in list.