78 #ifndef populationBalanceSizeDistribution_H 79 #define populationBalanceSizeDistribution_H 91 namespace functionObjects
98 class populationBalanceSizeDistribution
100 public fvMeshFunctionObject,
184 word functionTypeSymbolicName();
193 scalar averageCoordinateValue
200 scalar weightedAverage
210 TypeName(
"populationBalanceSizeDistribution");
249 virtual bool write();
static const NamedEnum< functionType, 6 > functionTypeNames_
Function type names.
virtual bool write()
Calculate and write the size distribution.
virtual bool execute()
Execute, currently does nothing.
const word & name() const
Return the name of this functionObject.
virtual bool read(const dictionary &)
Read the populationBalanceSizeDistribution data.
void operator=(const populationBalanceSizeDistribution &)=delete
Disallow default bitwise assignment.
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...
static const NamedEnum< coordinateType, 4 > coordinateTypeNames_
Coordinate type names.
Writes out the size distribution determined by a population balance model, either for the entire doma...
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
static const List< T > & null()
Return a null List.
coordinateType
Coordinate type enumeration.
weightType
Enumeration for the weight 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< weightType, 4 > weightTypeNames_
Names of the weight 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))
populationBalanceSizeDistribution(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
Single size class fraction field representing a fixed particle volume as defined by the user through ...
A class for handling words, derived from string.
virtual ~populationBalanceSizeDistribution()
Destructor.
functionType
Function type enumeration.
Mesh data needed to do the Finite Volume discretisation.
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.
TypeName("populationBalanceSizeDistribution")
Runtime type information.
functionObject base class for writing single files