32 namespace diameterModels
50 Info<<
"Selecting nucleation model for "
53 dictionaryConstructorTable::iterator cstrIter =
54 dictionaryConstructorTablePtr_->find(
type);
56 if (cstrIter == dictionaryConstructorTablePtr_->end())
59 <<
"Unknown nucleation model type "
61 <<
"Valid nucleation model types : " <<
endl
62 << dictionaryConstructorTablePtr_->sortedToc()
84 popBal.fluid().phases()[
dict.lookup(
"velocityGroup")].diameter()
const word & name() const
Return name.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for nucleation models.
virtual void precompute()
Precompute diameter independent expressions.
const dictionary & dict() const
Return reference to model dictionary.
nucleationModel(const populationBalanceModel &popBal, const dictionary &dict)
const populationBalanceModel & popBal() const
Return reference to the populationBalanceModel.
static autoPtr< nucleationModel > New(const word &type, const populationBalanceModel &popBal, const dictionary &dict)
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
Computes the Sauter mean diameter based on a user specified size distribution, defined in terms of si...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
defineRunTimeSelectionTable(IATEsource, dictionary)
defineTypeNameAndDebug(constant, 0)
errorManipArg< error, int > exit(error &err, const int errNo=1)
To & refCast(From &r)
Reference type cast template function.
Ostream & endl(Ostream &os)
Add newline and flush stream.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.