73 namespace diameterModels
94 const velocityGroup& group_;
168 if (t.wordToken() != fName)
171 <<
"The name '" << t.wordToken() <<
"' should not "
172 <<
"have been provided for the fraction field "
174 <<
" of size-group #" << i_
175 <<
" of population balance " << group_.
popBalName()
176 <<
". Only the coefficients are required."
204 inline const phaseModel&
phase()
const;
207 inline const velocityGroup&
group()
const;
222 const tmp<volScalarField>
a()
const;
225 const tmp<volScalarField>
d()
const;
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
readOption
Enumeration defining the read options.
bool & registerObject()
Register object created from this IOobject with registry if true.
const word & name() const
Return name.
static word groupName(Name name, const word &group)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void putBack(const token &)
Put back token.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const phaseModel & phase() const
Return the phase.
Return a pointer to a new sizeGroup created from Istream.
iNew(const velocityGroup &group, const label i0)
autoPtr< sizeGroup > operator()(Istream &is) const
const dimensionedScalar & dSph() const
Return representative spherical diameter of the sizeGroup.
void correct()
Correct secondary properties.
const dimensionedScalar & x() const
Return representative volume of the sizeGroup.
static tmp< volScalarField > field(const word &name, const label i, const velocityGroup &group)
Return IO a size-group field. Construction helper.
const velocityGroup & group() const
Return const-reference to the velocityGroup.
static IOobject fieldIo(const word &name, const label i, const velocityGroup &group, const IOobject::readOption r=IOobject::NO_READ, const bool registerObject=true)
Return IO for a size-group field. Construction helper.
virtual ~sizeGroup()
Destructor.
const tmp< volScalarField > a() const
Return representative surface area of the sizeGroup.
const phaseModel & phase() const
Return const-reference to the phase.
autoPtr< shapeModel > & shapeModelPtr()
Return reference to diameterModel of the phase.
autoPtr< sizeGroup > clone() const
Return clone.
sizeGroup(const label i, const dictionary &dict, const velocityGroup &group)
Construct from index, dictionary and velocity group.
label i() const
Return index of the size group within the population balance.
const tmp< volScalarField > d() const
Return representative diameter of the sizeGroup.
Computes the Sauter mean diameter based on a user specified size distribution, defined in terms of si...
const word & popBalName() const
Return name of populationBalance this velocityGroup belongs to.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const word & name() const
Return the name of this phase.
A class for managing temporary objects.
A token holds items read from Istream.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
VolField< scalar > volScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.