40 const bool registerObject
103 if (
dict.found(
"value"))
106 <<
"A 'value' entry should not be specified for size-group #"
107 <<
i <<
" of population balance "
109 <<
". Instead, the value should be initialised within the field, "
110 << this->
name() <<
" (or the default field, "
112 <<
", as appropriate)."
137 return shapeModel_->a();
144 return shapeModel_->d();
150 shapeModel_->correct();
const Mesh & mesh() const
Return mesh.
Generic GeometricField class.
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.
IOobject(const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
Construct from name, instance, registry, io options.
const word & name() const
Return name.
static word groupName(Name name, const word &group)
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.
Base class for modelling the shape of the particles belonging to a size class through alternative dia...
void correct()
Correct secondary properties.
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.
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.
Templated form of IOobject providing type information for file reading and header type checking.
bool headerOk()
Read header (uses typeGlobalFile to find file) and check.
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.
const char *const group
Group name for atomic constants.
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.
dimensionedScalar pow3(const dimensionedScalar &ds)
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimLength
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)