32 namespace diameterModels
61 word shapeModelType(
dict.lookup(
"shapeModel"));
63 dictionaryConstructorTable::iterator cstrIter =
64 dictionaryConstructorTablePtr_->find(shapeModelType);
66 if (cstrIter == dictionaryConstructorTablePtr_->end())
69 <<
"Unknown shapeModelType type "
71 <<
"Valid shapeModel types are : " <<
endl
72 << dictionaryConstructorTablePtr_->sortedToc()
Generic GeometricField class.
Base class for drift models.
Base class for nucleation models.
Base class for modelling the shape of the particles belonging to a size class through alternative dia...
virtual void correct()
Correct physical diameter.
virtual void addCoalescence(const volScalarField &Su, const sizeGroup &fj, const sizeGroup &fk)
Add coalescence contribution to secondary property source.
shapeModel(const dictionary &dict, const sizeGroup &group)
Construct from dictionary and sizeGroup.
const sizeGroup & SizeGroup() const
Return reference to size group.
virtual void addNucleation(const volScalarField &Su, const sizeGroup &fi, const nucleationModel &model)
Add nucleation contribution to secondary property source.
virtual void addBreakup(const volScalarField &Su, const sizeGroup &fj)
Add breakup contribution to secondary property source.
static autoPtr< shapeModel > New(const dictionary &dict, const sizeGroup &group)
virtual void addDrift(const volScalarField &Su, const sizeGroup &fu, const driftModel &model)
Add drift contribution to secondary property source.
virtual void reset()
Reset secondary property source.
virtual ~shapeModel()
Destructor.
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....
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const char *const group
Group name for atomic constants.
defineRunTimeSelectionTable(IATEsource, dictionary)
defineTypeNameAndDebug(constant, 0)
tmp< VolField< Type > > Su(const VolField< Type > &su, const VolField< Type > &vf)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.