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 cylindrical coordinate system (r-theta-z). The coordinate system angle theta is always in radians...
virtual ~ParticleCollector()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
ParticleCollector(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
void write()
Write post-processing info.
const word & modelName() const
Return const access to the name of the sub-model.
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
TypeName("particleCollector")
Runtime type information.
Generic templated field type.
const wordList area
Standard area field types (scalar, vector, tensor, etc)
A class for handling words, derived from Foam::string.
bool resetOnWrite() const
Should data be reset on write?
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
vector point
Point is a vector.
Function object to collect the parcel mass- and mass flow rate over a set of polygons. The polygons can either be specified by sets of user- supplied points, or in a concentric circles arrangement. If a parcel is 'collected', it can be flagged to be removed from the domain using the removeCollected entry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated base class for dsmc cloud.
Templated cloud function object base class.