204 #ifndef populationBalanceModel_H
205 #define populationBalanceModel_H
217 namespace diameterModels
220 class coalescenceModel;
222 class binaryBreakupModel;
224 class nucleationModel;
324 label sourceUpdateCounter_;
329 void registerVelocityGroups();
333 void initialiseDmdtfs();
335 void createPhasePairs();
339 void birthByCoalescence(
const label j,
const label k);
341 void deathByCoalescence(
const label i,
const label j);
343 void birthByBreakup(
const label k,
const label model);
345 void deathByBreakup(
const label i);
349 void birthByBinaryBreakup(
const label i,
const label j);
351 void deathByBinaryBreakup(
const label j,
const label i);
359 void correctDilatationError();
368 bool updateSources();
371 inline label sourceUpdateInterval()
const;
404 Info <<
"Setting up population balance: " <<
name <<
endl;
Generic GeometricField class.
An STL-conforming hash table.
word group() const
Return group (extension part of name)
const word & name() const
Return name.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for drift models.
Base class for nucleation models.
Return a pointer to a new populationBalanceModel object created on.
iNew(const phaseSystem &fluid)
autoPtr< populationBalanceModel > operator()(Istream &is) const
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
const HashTable< volScalarField > & sourceDilatation() const
Return dilatation obtained from source terms.
const phaseSystem & fluid() const
Return reference to the phaseSystem.
const dimensionedScalar eta(const label i, const dimensionedScalar &v) const
Return allocation coefficient.
bool writeData(Ostream &) const
Dummy write for regIOobject.
void correct()
Correct derived quantities.
const List< labelPair > & coalescencePairs() const
Return coalescence relevant size group pairs.
autoPtr< populationBalanceModel > clone() const
Return clone.
const List< labelPair > & binaryBreakupPairs() const
Return binary breakup relevant size group pairs.
const volVectorField & U() const
Return average velocity.
populationBalanceModel(const phaseSystem &fluid, const word &name)
Construct for a fluid.
const UPtrList< sizeGroup > & sizeGroups() const
Return the size groups belonging to this populationBalance.
Switch solveOnFinalIterOnly() const
Solve on final pimple iteration only.
const phaseModel & continuousPhase() const
Return continuous phase.
TypeName("populationBalanceModel")
Runtime type information.
const HashTable< const velocityGroup * > & velocityGroupPtrs() const
Return the velocity groups belonging to this populationBalance.
const volScalarField & alphas() const
Return total void of phases belonging to this populationBalance.
const dictionary & dict() const
Return populationBalanceCoeffs dictionary.
const tmp< volScalarField > sigmaWithContinuousPhase(const phaseModel &dispersedPhase) const
Return the surface tension coefficient between a given dispersed.
const fvMesh & mesh() const
Return reference to the mesh.
label nCorr() const
Return the number of corrections.
const phaseCompressible::momentumTransportModel & continuousTurbulence() const
Return reference to momentumTransport model of the continuous phase.
const volScalarField & Sp(const label i) const
Return implicit source terms.
virtual ~populationBalanceModel()
Destructor.
const phaseSystem::dmdtfTable & dmdtfs() const
Return reference to the interfacial mass transfer rates.
void solve()
Solve the population balance equation.
Single size class fraction field representing a fixed particle volume as defined by the user through ...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Templated abstract base class for multiphase compressible turbulence models.
Class to represent a system of phases and model interfacial transfers between them.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.