104 #ifndef functionObjects_regionSizeDistribution_H 105 #define functionObjects_regionSizeDistribution_H 123 namespace functionObjects
130 class regionSizeDistribution
132 public fvMeshFunctionObject
160 autoPtr<writer<scalar>> formatterPtr_;
163 autoPtr<coordinateSystem> coordSysPtr_;
169 Map<Type> regionSum(
const regionSplit&,
const Field<Type>&)
const;
173 List<Type> extractData(
const UList<label>& keys,
const Map<Type>&)
178 const coordSet& coords,
179 const word& valueName,
185 void writeAlphaFields
202 const word& fieldName,
212 const word& fieldName,
260 virtual bool write();
void operator=(const regionSizeDistribution &)=delete
Disallow default bitwise assignment.
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
virtual bool write()
Calculate the regionSizeDistribution and write.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual bool execute()
Do nothing.
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...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
regionSizeDistribution(const word &name, const Time &runTime, const dictionary &)
Construct for given objectRegistry and dictionary.
TypeName("regionSizeDistribution")
Runtime type information.
Creates a size distribution via interrogating a continuous phase fraction field.
Holds list of sampling positions.
A class for handling words, derived from string.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual bool read(const dictionary &)
Read the regionSizeDistribution data.
virtual ~regionSizeDistribution()
List< wordRe > wordReList
A List of wordRe (word or regular expression)
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
A class for managing temporary objects.