93 #ifndef Foam_ParticlePostProcessing_H 94 #define Foam_ParticlePostProcessing_H 109 template<
class CloudType>
110 class ParticlePostProcessing
112 public CloudFunctionObject<CloudType>,
113 public functionObjects::writeFile
123 cloudFunctionObjectTools::collector collector_;
126 scalar maxStoredParcels_;
135 List<DynamicList<scalar>> times_;
138 List<DynamicList<string>> data_;
144 void writeFileHeader(Ostream&
os)
const;
198 const typename parcelType::trackingData&
td 205 const typename parcelType::trackingData&
td 212 virtual void write();
TypeName("particlePostProcessing")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
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.
ParticlePostProcessing(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
void operator=(const ParticlePostProcessing< CloudType > &)=delete
No copy assignment.
virtual bool postPatch(const parcelType &p, const polyPatch &pp, const typename parcelType::trackingData &td)
Post-patch hook.
A class for handling words, derived from Foam::string.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
label maxStoredParcels() const noexcept
Return maximum number of parcels to store per surface.
Writes out various standard Lagrangian data elements of particles hitting on a given list of patches ...
OBJstream os(runTime.globalPath()/outputName)
virtual void write()
Write post-processing info.
virtual bool postFace(const parcelType &p, const typename parcelType::trackingData &td)
Post-face hook.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual ~ParticlePostProcessing()=default
Destructor.
Templated base class for dsmc cloud.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())