151 #ifndef populationBalanceModel_H 152 #define populationBalanceModel_H 155 #include "phasePair.H" 157 #include "phaseCompressibleTurbulenceModelFwd.H" 167 namespace diameterModels
170 class coalescenceModel;
172 class binaryBreakupModel;
174 class nucleationModel;
284 label sourceUpdateCounter_;
289 void registerVelocityGroups();
293 void createPhasePairs();
297 void birthByCoalescence(
const label j,
const label
k);
299 void deathByCoalescence(
const label i,
const label j);
301 void birthByBreakup(
const label
k,
const label model);
303 void deathByBreakup(
const label i);
307 void birthByBinaryBreakup(
const label i,
const label j);
309 void deathByBinaryBreakup(
const label j,
const label i);
311 void drift(
const label i);
313 void nucleation(
const label i);
326 bool updateSources();
329 inline label nCorr()
const;
332 inline label sourceUpdateInterval()
const;
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 a number of values (eg...
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.
const word & name() const noexcept
Return the object name.
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 tmp< volScalarField > sigmaWithContinuousPhase(const phaseModel &dispersedPhase) const
Return the surface tension coefficient between a given dispersed.
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.
autoPtr< populationBalanceModel > clone() const
Return clone.
Hashing functor for phasePairKey.
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 Foam::string.
A HashTable similar to std::unordered_map.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
An ordered or unorder pair of phase names. Typically specified as follows.
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 list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
PIMPLE control class to supply convergence information/checks for the PIMPLE loop.
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 phaseCompressibleTurbulenceModel & continuousTurbulence() const
Return reference to turbulence model of the continuous phase.
const fvMesh & mesh() const
Return reference to the mesh.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
void solve()
Solve the population balance equation.
const dimensionedScalar gamma(const label i, const dimensionedScalar &v) const
Return allocation coefficient.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
virtual ~populationBalanceModel()
Destructor.