75 #ifndef functionObjects_populationBalanceMoments_H 76 #define functionObjects_populationBalanceMoments_H 85 namespace functionObjects
92 class populationBalanceMoments
94 public fvMeshFunctionObject
173 word coordinateTypeSymbolicName();
176 word weightTypeSymbolicName();
179 word defaultFldName();
182 word integerMomentFldName();
203 TypeName(
"populationBalanceMoments");
239 virtual bool write();
virtual bool read(const dictionary &)
Read the data.
const word & name() const
Return the name of this functionObject.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
weightType
Enumeration for the weight types.
virtual bool write()
Write the moment fields.
populationBalanceMoments(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
static const NamedEnum< momentType, 4 > momentTypeNames_
Names of the moment types.
static const List< T > & null()
Return a null List.
momentType
Enumeration for the moment types.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
virtual wordList fields() const
Return the list of fields required.
static const NamedEnum< coordinateType, 3 > coordinateTypeNames_
Names of the coordinate types.
static const NamedEnum< meanType, 3 > meanTypeNames_
Names of the mean types.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A class for handling words, derived from string.
Calculates and writes out integral (integer moments) or mean properties (mean, variance, standard deviation) of a size distribution determined by a population balance model. Requires solver post-processing.
static const NamedEnum< weightType, 3 > weightTypeNames_
Names of the weight types.
TypeName("populationBalanceMoments")
Runtime type information.
coordinateType
Enumeration for the coordinate types.
virtual ~populationBalanceMoments()
Destructor.
meanType
Enumeration for the mean types.
void operator=(const populationBalanceMoments &)=delete
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
virtual bool execute()
Calculate the moment fields.