33 namespace diameterModels
59 word shapeModelType(
dict.lookup(
"shapeModel"));
61 dictionaryConstructorTable::iterator cstrIter =
62 dictionaryConstructorTablePtr_->find(shapeModelType);
64 if (cstrIter == dictionaryConstructorTablePtr_->end())
67 <<
"Unknown shapeModel type "
69 <<
"Valid shapeModel types are : " <<
endl
70 << dictionaryConstructorTablePtr_->sortedToc()
74 return cstrIter()(
dict,
group, groupDict);
89 return group.group().popBal().sizeGroups()[
group.i()].shape();
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Base class for modelling the shape of the particles belonging to a size class through alternative dia...
shapeModel(const sizeGroup &group)
Construct from sizeGroup.
static const shapeModel & model(const sizeGroup &)
Return the shape model for a given size group.
virtual void correct()
Correct physical diameter.
const sizeGroup & group() const
Return reference to size group.
virtual void addCoalescence(const volScalarField::Internal &Su, const sizeGroup &fj, const sizeGroup &fk)
Add coalescence contribution to secondary property source.
static autoPtr< shapeModel > New(const dictionary &dict, const sizeGroup &group, const dictionary &groupDict)
virtual void reset()
Reset secondary property source.
virtual ~shapeModel()
Destructor.
virtual void addBreakup(const volScalarField::Internal &Su, const sizeGroup &fj)
Add breakup contribution to secondary property source.
Single size class fraction field representing a fixed particle volume as defined by the user through ...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.