149 #ifndef populationBalanceModel_H 150 #define populationBalanceModel_H 166 namespace diameterModels
169 class coalescenceModel;
171 class binaryBreakupModel;
173 class nucleationModel;
226 phasePairTable phasePairs_;
289 label sourceUpdateCounter_;
294 void registerVelocityGroups();
298 void createPhasePairs();
302 void birthByCoalescence(
const label j,
const label k);
304 void deathByCoalescence(
const label i,
const label j);
306 void birthByBreakup(
const label k,
const label model);
308 void deathByBreakup(
const label i);
312 void birthByBinaryBreakup(
const label i,
const label j);
314 void deathByBinaryBreakup(
const label j,
const label i);
331 bool updateSources();
334 inline label nCorr()
const;
337 inline label sourceUpdateInterval()
const;
421 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.
const volScalarField & Sp(const label i) const
Return implicit source terms.
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)
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 List< labelPair > & coalescencePairs() const
Return coalescence relevant size group pairs.
const phaseCompressible::momentumTransportModel & continuousTurbulence() const
Return reference to turbulence model of the continuous phase.
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 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.
void correct()
Correct derived quantities.
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.
const List< labelPair > & binaryBreakupPairs() const
Return binary breakup relevant size group pairs.
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.