32 namespace diameterModels
58 word shapeModelType(
dict.lookup(
"shapeModel"));
60 dictionaryConstructorTable::iterator cstrIter =
61 dictionaryConstructorTablePtr_->find(shapeModelType);
63 if (cstrIter == dictionaryConstructorTablePtr_->end())
66 <<
"Unknown shapeModel type "
68 <<
"Valid shapeModel types are : " <<
endl
69 << dictionaryConstructorTablePtr_->sortedToc()
73 return cstrIter()(
dict,
group, groupDict);
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...
shapeModel(const sizeGroup &group)
Construct from sizeGroup.
virtual void correct()
Correct physical diameter.
const sizeGroup & group() const
Return reference to size group.
virtual void addCoalescence(const volScalarField &Su, const sizeGroup &fj, const sizeGroup &fk)
Add coalescence contribution to secondary property source.
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, const dictionary &groupDict)
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.