Go to the documentation of this file.
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;
415 inline const phasePairTable&
phasePairs()
const;
const phaseSystem & fluid() const
Return reference to the phaseSystem.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
PIMPLE control class to supply convergence information/checks for the PIMPLE loop.
Hashing functor for phasePairKey.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const volScalarField & alphas() const
Return total void of phases belonging to this populationBalance.
Return a pointer to a new populationBalanceModel object created on.
iNew(const phaseSystem &fluid, HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > &pDmdt)
const UPtrList< velocityGroup > & velocityGroups() const
Return the velocityGroups belonging to this populationBalance.
const fvMesh & mesh() const
Return reference to the mesh.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
This diameterModel is intended for use with a populationBalanceModel in order to simulate polydispers...
An ordered or unorder pair of phase names. Typically specified as follows.
const PtrList< dimensionedScalar > & v() const
Return the sizeGroup boundaries.
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 ...
virtual ~populationBalanceModel()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
const phaseModel & continuousPhase() const
Return continuous phase.
A HashTable similar to std::unordered_map.
autoPtr< populationBalanceModel > clone() const
Return clone.
const word & name() const noexcept
Return name.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
populationBalanceModel(const phaseSystem &fluid, const word &name, HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > &pDmdt)
void solve()
Solve the population balance equation.
Templated wrapper class to provide compressible turbulence models thermal diffusivity based thermal t...
const phaseCompressibleTurbulenceModel & continuousTurbulence() const
Return reference to turbulence model of the continuous phase.
label k
Boltzmann constant.
const volVectorField & U() const
Return average velocity.
word group() const
Return group (extension part of name)
const phasePairTable & phasePairs() const
Return list of unordered phasePairs in this populationBalance.
Class to represent a system of phases and model interfacial transfers between them.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const dictionary & dict() const
Return populationBalanceCoeffs dictionary.
autoPtr< populationBalanceModel > operator()(Istream &is) const
const dimensionedScalar gamma(const label i, const dimensionedScalar &v) const
Return allocation coefficient.
const UPtrList< sizeGroup > & sizeGroups() const
Return the sizeGroups belonging to this populationBalance.
bool writeData(Ostream &) const
Dummy write for regIOobject.
const tmp< volScalarField > sigmaWithContinuousPhase(const phaseModel &dispersedPhase) const
Return the surface tension coefficient between a given dispersed.