Go to the documentation of this file.
29 #include "phaseSystem.H"
36 namespace diameterModels
38 namespace nucleationModels
65 refCast<const velocityGroup>
91 <<
"Departure diameter " << d_.
value() <<
" m outside of range ["
92 << velGroup_.
sizeGroups().first().d().value() <<
", "
94 <<
" The nucleation rate is set to zero." <<
endl
95 <<
" Adjust discretization over property space to suppress this"
109 const sizeGroup& fi = popBal_.sizeGroups()[i];
114 popBal_.gamma(i, velGroup_.formFactor()*
pow3(d_))
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const phaseModel & phase() const
Return const-reference to the phase.
A class for handling words, derived from Foam::string.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Constant nucleation rate within all classes. Used for verification and validation of the nucleation f...
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
Base class for nucleation models.
const fvMesh & mesh() const
Return reference to the mesh.
virtual void correct()
Correct diameter independent expressions.
dimensionedScalar pow3(const dimensionedScalar &ds)
virtual void addToNucleationRate(volScalarField &nucleationRate, const label i)
Add to nucleationRate.
const Type & lookupObject(const word &name, const bool recursive=false) const
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,...
constantNucleation(const populationBalanceModel &popBal, const dictionary &dict)
Class that solves the univariate population balance equation by means of a class method (also called ...
Macros for easy insertion into run-time selection tables.
defineTypeNameAndDebug(constantNucleation, 0)
addToRunTimeSelectionTable(nucleationModel, constantNucleation, dictionary)
const PtrList< sizeGroup > & sizeGroups() const
Return sizeGroups belonging to this velocityGroup.
const dimensionedScalar & x() const
Return representative volume of the sizeGroup.
#define WarningInFunction
Report a warning using Foam::Warning.
const dimensionedScalar & rho() const
Return const-access to phase1 density.