172#ifndef Foam_functionObjects_regionSizeDistribution_H
173#define Foam_functionObjects_regionSizeDistribution_H
190namespace functionObjects
197class regionSizeDistribution
199 public functionObjects::fvMeshFunctionObject,
226 mutable autoPtr<coordSetWriter> formatterPtr_;
229 autoPtr<coordinateSystem> csysPtr_;
244 scalar nDownstreamBins_;
247 scalar maxDownstream_;
257 void writeAlphaFields
259 const regionSplit& regions,
260 const Map<label>& keepRegions,
261 const Map<scalar>& regionVolume,
266 Map<label> findPatchRegions(
const regionSplit&)
const;
274 const word& fieldName,
279 const coordSet& coords
285 const word& fieldName,
287 const regionSplit& regions,
293 const coordSet& coords
318 void operator=(
const regionSizeDistribution&) =
delete;
328 virtual bool read(
const dictionary&);
334 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.
regionSizeDistribution(const regionSizeDistribution &)=delete
No copy construct.
virtual ~regionSizeDistribution()=default
void operator=(const regionSizeDistribution &)=delete
No copy assignment.
virtual bool execute()
Do nothing.
virtual bool write()
Calculate the regionSizeDistribution and write.
virtual bool read(const dictionary &)
Read the regionSizeDistribution data.
Base class for writing single files from the function objects.
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
A class for managing temporary objects.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.