163#ifndef Foam_functionObjects_regionSizeDistribution_H
164#define Foam_functionObjects_regionSizeDistribution_H
191 public functionObjects::fvMeshFunctionObject,
218 mutable autoPtr<coordSetWriter> formatterPtr_;
221 autoPtr<coordinateSystem> csysPtr_;
236 scalar nDownstreamBins_;
239 scalar maxDownstream_;
249 void writeAlphaFields
251 const regionSplit& regions,
253 const Map<scalar>& regionVolume,
258 labelHashSet findPatchRegions(
const regionSplit&)
const;
266 const word& fieldName,
271 const coordSet& coords
277 const word& fieldName,
279 const regionSplit& regions,
285 const coordSet& coords
326 virtual bool write();
A HashTable to objects of type <T> with a label key.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Holds list of sampling positions.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Creates a droplet size distribution via interrogating a continuous phase fraction field.
TypeName("regionSizeDistribution")
Runtime type information.
regionSizeDistribution(const word &name, const Time &runTime, const dictionary &)
Construct for given objectRegistry and dictionary.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
regionSizeDistribution(const regionSizeDistribution &)=delete
No copy construct.
virtual ~regionSizeDistribution()=default
void operator=(const regionSizeDistribution &)=delete
No copy assignment.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function-object results.
Base class for writing single files from the function objects.
writeFile(const objectRegistry &obr, const fileName &prefix, const word &name="undefined", const bool writeToFile=true, const string &ext=".dat")
Construct from objectRegistry, prefix, fileName.
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
A class for managing temporary objects.
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< label > labelList
A List of labels.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Forwards and collection of common volume field types.