Go to the documentation of this file.
29 #include "phaseSystem.H"
36 namespace diameterModels
80 N_ += fi*fi.
phase()/fi.
x();
91 const sizeGroup& fi = popBal_.sizeGroups()[i];
95 driftRate += (popBal_.fluid().fvOptions()(
phase,
rho)&
rho)/(N_*
rho);
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,...
virtual void addToDriftRate(volScalarField &driftRate, const label i)
Add to driftRate.
const phaseModel & phase() const
Return const-reference to the phase.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
static constexpr const zero Zero
Global zero (0)
constantDrift(const populationBalanceModel &popBal, const dictionary &dict)
static word timeName(const scalar t, const int precision=precision_)
#define forAll(list, i)
Loop across all elements in list.
const fvMesh & mesh() const
Return reference to the mesh.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
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 ...
defineTypeNameAndDebug(constantDrift, 0)
Macros for easy insertion into run-time selection tables.
virtual void correct()
Correct diameter independent expressions.
const Time & time() const
Return the top-level database.
Base class for drift models.
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.
const dimensionSet dimVolume(pow3(dimLength))
const dimensionedScalar & x() const
Return representative volume of the sizeGroup.
addToRunTimeSelectionTable(driftModel, constantDrift, dictionary)
Constant drift rate within all classes. Used for verification and validation of the drift formulation...
const UPtrList< sizeGroup > & sizeGroups() const
Return the sizeGroups belonging to this populationBalance.
const dimensionedScalar & rho() const
Return const-access to phase1 density.