70 namespace diameterModels
92 const velocityGroup& group_;
170 if (t.wordToken() != fName)
173 <<
"The name '" << t.wordToken() <<
"' should not "
174 <<
"have been provided for the fraction field "
176 <<
" of size-group #" << i_
177 <<
" of population balance " << group_.
popBalName()
178 <<
". Only the coefficients are required."
206 inline const phaseModel&
phase()
const;
209 inline const velocityGroup&
group()
const;
221 const shapeModel&
shape()
const;
224 const tmp<volScalarField>
a()
const;
227 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.
iNew(const velocityGroup &group, const label i0)
autoPtr< sizeGroup > operator()(Istream &is) const
autoPtr< sizeGroup > clone() const
Return clone.
const dimensionedScalar & dSph() const
Return representative spherical diameter of the sizeGroup.
void correct()
Correct secondary properties.
shapeModel & shape()
Return reference to the shape model.
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.
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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 NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#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.
VolField< scalar > volScalarField
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.