149 #ifndef populationBalanceModel_H 150 #define populationBalanceModel_H 165 namespace diameterModels
168 class coalescenceModel;
170 class binaryBreakupModel;
172 class nucleationModel;
225 phasePairTable phasePairs_;
288 label sourceUpdateCounter_;
293 void registerVelocityGroups();
297 void createPhasePairs();
301 void birthByCoalescence(
const label j,
const label k);
303 void deathByCoalescence(
const label i,
const label j);
305 void birthByBreakup(
const label k,
const label model);
307 void deathByBreakup(
const label i);
311 void birthByBinaryBreakup(
const label i,
const label j);
313 void deathByBinaryBreakup(
const label j,
const label i);
330 bool updateSources();
333 inline label nCorr()
const;
336 inline label sourceUpdateInterval()
const;
423 inline const phasePairTable&
phasePairs()
const;
Templated abstract base class for multiphase compressible turbulence models.
Base class for drift models.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return name.
virtual ~populationBalanceModel()
Destructor.
iNew(const phaseSystem &fluid, HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > &pDmdt)
const volVectorField & U() const
Return average velocity.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Class that solves the univariate population balance equation by means of a class method (also called ...
populationBalanceModel(const phaseSystem &fluid, const word &name, HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > &pDmdt)
const PtrList< dimensionedScalar > & v() const
Return the sizeGroup boundaries.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool isVelocityGroupPair(const phasePair &pair) const
Returns true if both phases are velocity groups and.
const phasePairTable & phasePairs() const
Return list of unordered phasePairs in this populationBalance.
const volScalarField & SuSp(const label i) const
Return semi-implicit source terms.
const dictionary & dict() const
Return populationBalanceCoeffs dictionary.
autoPtr< populationBalanceModel > operator()(Istream &is) const
word group() const
Return group (extension part of name)
label k
Boltzmann constant.
bool writeData(Ostream &) const
Dummy write for regIOobject.
const dimensionedScalar eta(const label i, const dimensionedScalar &v) const
Return allocation coefficient.
autoPtr< populationBalanceModel > clone() const
Return clone.
Base class for nucleation models.
const UPtrList< velocityGroup > & velocityGroups() const
Return the velocityGroups belonging to this populationBalance.
This class represents a single sizeGroup belonging to a velocityGroup. The main property of a sizeGro...
const phaseModel & continuousPhase() const
Return continuous phase.
Class to represent a system of phases and model interfacial transfers between them.
const phaseSystem & fluid() const
Return reference to the phaseSystem.
A class for handling words, derived from string.
const phaseCompressibleMomentumTransportModel & continuousTurbulence() const
Return reference to turbulence model of the continuous phase.
An STL-conforming hash table.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Return a pointer to a new populationBalanceModel object created on.
const UPtrList< sizeGroup > & sizeGroups() const
Return the sizeGroups belonging to this populationBalance.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Pimple control class. Provides time-loop control methods which exit the simulation once convergence c...
const volScalarField & alphas() const
Return total void of phases belonging to this populationBalance.
Mesh data needed to do the Finite Volume discretisation.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
const fvMesh & mesh() const
Return reference to the mesh.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const tmp< volScalarField > sigmaWithContinuousPhase(const phaseModel &dispersedPhase) const
Return the surface tension coefficient between a given dispersed.
A class for managing temporary objects.
void solve()
Solve the population balance equation.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
TypeName("populationBalanceModel")
Runtime type information.