36 namespace diameterModels
38 namespace nucleationModels
86 d_.value() < velGroup_.sizeGroups().first().d().value()
87 || d_.value() > velGroup_.sizeGroups().last().d().value()
91 <<
"Departure diameter " << d_.value() <<
" m outside of range [" 92 << velGroup_.sizeGroups().first().d().value() <<
", " 93 << velGroup_.sizeGroups().last().d().value() <<
"] m" <<
endl 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_))
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
addToRunTimeSelectionTable(nucleationModel, constantNucleation, dictionary)
const dimensionedScalar & rho() const
Return const-access to phase1 density.
virtual void addToNucleationRate(volScalarField &nucleationRate, const label i)
Add to nucleationRate.
const dimensionedScalar & x() const
Return representative volume of the sizeGroup.
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 ...
Type & refCast(U &obj)
A dynamic_cast (for references) to Type reference.
Ostream & endl(Ostream &os)
Add newline and flush stream.
This diameterModel is intended for use with a populationBalanceModel in order to simulate polydispers...
const phaseModel & phase() const
Return const-reference to the phase.
Macros for easy insertion into run-time selection tables.
Base class for nucleation models.
This class represents a single sizeGroup belonging to a velocityGroup. The main property of a sizeGro...
A class for handling words, derived from Foam::string.
virtual void correct()
Correct diameter independent expressions.
defineTypeNameAndDebug(constantNucleation, 0)
dimensionedScalar pow3(const dimensionedScalar &ds)
#define WarningInFunction
Report a warning using Foam::Warning.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
constantNucleation(const populationBalanceModel &popBal, const dictionary &dict)
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...
Defines the attributes of an object for which implicit objectRegistry management is supported...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...