Go to the documentation of this file.
95 #ifndef ParticleCollector_H
96 #define ParticleCollector_H
112 template<
class CloudType>
138 const label parcelType_;
141 bool removeCollected_;
180 bool negateParcelsOppositeNormal_;
183 const word surfaceFormat_;
221 void initConcentricCircles();
224 void collectParcelPolygon
231 void collectParcelConcentricCircles
289 const point& position0,
A class for handling words, derived from Foam::string.
ParticleCollector(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
void write()
Write post-processing info.
const word & modelName() const
Return const access to the name of the sub-model.
TypeName("particleCollector")
Runtime type information.
Generic templated field type.
const dictionary & dict() const
Return const access to the cloud dictionary.
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
const CloudType & owner() const
Return const access to the owner cloud.
Templated base class for dsmc cloud.
A cylindrical coordinate system (r-theta-z). The coordinate system angle theta is always in radians.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Templated cloud function object base class.
bool resetOnWrite() const
Should data be reset on write?
virtual ~ParticleCollector()=default
Destructor.
const wordList area
Standard area field types (scalar, vector, tensor, etc)
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Function object to collect the parcel mass- and mass flow rate over a set of polygons....
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.