204 #ifndef populationBalanceModel_H 205 #define populationBalanceModel_H 218 namespace diameterModels
221 class coalescenceModel;
223 class binaryBreakupModel;
225 class nucleationModel;
330 label sourceUpdateCounter_;
335 void registerVelocityGroups();
339 void createPhasePairs();
343 void birthByCoalescence(
const label j,
const label k);
345 void deathByCoalescence(
const label i,
const label j);
347 void birthByBreakup(
const label k,
const label model);
349 void deathByBreakup(
const label i);
353 void birthByBinaryBreakup(
const label i,
const label j);
355 void deathByBinaryBreakup(
const label j,
const label i);
363 void correctDilatationError();
372 bool updateSources();
375 inline label sourceUpdateInterval()
const;
424 Info <<
"Setting up population balance: " << name <<
endl;
Templated abstract base class for multiphase compressible turbulence models.
Base class for drift models.
const word & name() const
Return name.
virtual ~populationBalanceModel()
Destructor.
const volScalarField & Sp(const label i) const
Return implicit source terms.
const volVectorField & U() const
Return average velocity.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
populationBalanceModel(const phaseSystem &fluid, const word &name, HashPtrTable< volScalarField, phaseInterfaceKey, phaseInterfaceKey::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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Word-pair based class used for keying interface models in hash tables.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
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.
label nCorr() const
Return the number of corrections.
Single size class fraction field representing a fixed particle volume as defined by the user through ...
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.
const HashTable< volScalarField > & sourceDilatation() const
Return dilatation obtained from source terms.
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...
iNew(const phaseSystem &fluid, phaseSystem::dmdtfTable &pDmdt)
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 size groups 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.
Switch solveOnFinalIterOnly() const
Solve on final pimple iteration only.
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.
const HashTable< const velocityGroup * > & velocityGroupPtrs() const
Return the velocity groups belonging to this populationBalance.