151 #ifndef populationBalanceModel_H 152 #define populationBalanceModel_H 155 #include "phasePair.H" 157 #include "phaseCompressibleTurbulenceModelFwd.H" 166 namespace diameterModels
169 class coalescenceModel;
171 class binaryBreakupModel;
173 class nucleationModel;
220 phasePairTable phasePairs_;
282 void registerVelocityAndSizeGroups();
286 void createPhasePairs();
290 void birthByCoalescence(
const label j,
const label k);
292 void deathByCoalescence(
const label i,
const label j);
294 void birthByBreakup(
const label k,
const label model);
296 void deathByBreakup(
const label i);
300 void birthByBinaryBreakup(
const label i,
const label j);
302 void deathByBinaryBreakup(
const label j,
const label i);
304 void drift(
const label i);
306 void nucleation(
const label i);
398 inline const phasePairTable&
phasePairs()
const;
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.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const phasePairTable & phasePairs() const
Return list of unordered phasePairs in this populationBalance.
const dimensionedScalar gamma(const label i, const dimensionedScalar &v) const
Return allocation coefficient.
const dictionary & dict() const
Return populationBalanceCoeffs dictionary.
autoPtr< populationBalanceModel > operator()(Istream &is) const
This diameterModel is intended for use with a populationBalanceModel in order to simulate polydispers...
word group() const
Return group (extension part of name)
label k
Boltzmann constant.
bool writeData(Ostream &) const
Dummy write for regIOobject.
const List< velocityGroup * > & velocityGroups() const
Return the velocityGroups belonging to this populationBalance.
autoPtr< populationBalanceModel > clone() const
Return clone.
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 List< sizeGroup * > & sizeGroups() const
Return the sizeGroups belonging to this populationBalance.
An STL-conforming hash table.
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 phaseCompressibleTurbulenceModel & continuousTurbulence() const
Return reference to turbulence model of the continuous phase.
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...