78 #ifndef populationBalanceSizeDistribution_H
79 #define populationBalanceSizeDistribution_H
91 namespace functionObjects
98 class populationBalanceSizeDistribution
100 public fvMeshFunctionObject
159 const word popBalName_;
186 word functionTypeSymbolicName();
195 scalar averageCoordinateValue
203 scalar weightedAverage
214 TypeName(
"populationBalanceSizeDistribution");
253 virtual bool write();
static const List< word > & null()
Return a null List.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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 functionObject.
Writes out the size distribution determined by a population balance model, either for the entire doma...
virtual wordList fields() const
Return the list of fields required.
weightType
Enumeration for the weight types.
TypeName("populationBalanceSizeDistribution")
Runtime type information.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
void operator=(const populationBalanceSizeDistribution &)=delete
Disallow default bitwise assignment.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
populationBalanceSizeDistribution(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
virtual void movePoints(const polyMesh &)
Update for mesh motion.
functionType
Function type enumeration.
coordinateType
Coordinate type enumeration.
virtual ~populationBalanceSizeDistribution()
Destructor.
static const NamedEnum< weightType, 4 > weightTypeNames_
Names of the weight types.
static const NamedEnum< functionType, 6 > functionTypeNames_
Function type names.
virtual bool execute()
Execute, currently does nothing.
static const NamedEnum< coordinateType, 4 > coordinateTypeNames_
Coordinate type names.
virtual bool write()
Calculate and write the size distribution.
virtual bool read(const dictionary &)
Read the populationBalanceSizeDistribution data.
functionObject base class for writing single files
cellZone selection or generation class with caching of zone volume
Mesh data needed to do the Finite Volume discretisation.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.