Go to the documentation of this file.
110 #ifndef functionObjects_extractEulerianParticles_H
111 #define functionObjects_extractEulerianParticles_H
126 namespace functionObjects
132 class extractEulerianParticles
134 public fvMeshFunctionObject,
142 injectedParticleCloud
cloud_;
248 const label nRegionsNew,
273 const label localFaceI,
274 const label globalFaceI
283 TypeName(
"extractEulerianParticles");
316 virtual bool write();
List< label > labelList
A List of labels.
extractEulerianParticles(const word &name, const Time &runTime, const dictionary &dict)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
label nInjectorLocations_
A class for handling words, derived from Foam::string.
virtual bool read(const dictionary &)
A class for managing temporary objects.
Type faceValue(const GeometricField< Type, fvsPatchField, surfaceMesh > &field, const label localFaceI, const label globalFaceI) const
virtual void initialiseBins()
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
List< eulerianParticle > particles_
Map< label > regionToParticleMap_
virtual void collectParticle(const scalar time, const label regioni)
virtual void checkFaceZone()
A subset of mesh faces organised as a primitive patch.
virtual void calculateAddressing(const label nRegionsNew, const scalar time, labelList ®ionFaceIDs)
Generates particle size information from Eulerian calculations, e.g. VoF.
injectedParticleCloud cloud_
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual tmp< surfaceScalarField > phiU() const
void operator=(const extractEulerianParticles &)=delete
label nCollectedParticles_
globalIndex globalCoarseFaces_
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
const word & name() const noexcept
const Time & time() const
Macros to ease declaration of run-time selection tables.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
TypeName("extractEulerianParticles")
Base class for writing single files from the function objects.
virtual void setBlockedFaces(const surfaceScalarField &alphaf, const faceZone &fz, boolList &blockedFaces)
label nDiscardedParticles_
Generic GeometricField class.
virtual ~extractEulerianParticles()=default
virtual void accumulateParticleInfo(const surfaceScalarField &alphaf, const surfaceScalarField &phi, const labelList ®ionFaceIDs, const faceZone &fz)
labelList fineToCoarseAddr_