34 template<
class CloudType>
43 template<
class CloudType>
51 template<
class CloudType>
56 const word& modelName,
57 const word& objectType
77 template<
class CloudType>
84 outputDir_(ppm.outputDir_)
90 template<
class CloudType>
93 const typename parcelType::trackingData& td
98 template<
class CloudType>
101 const typename parcelType::trackingData& td
104 if (this->owner().time().writeTime())
111 template<
class CloudType>
122 template<
class CloudType>
132 template<
class CloudType>
141 template<
class CloudType>
148 template<
class CloudType>
virtual void postEvolve(const typename parcelType::trackingData &td)
Post-evolve hook.
virtual void preEvolve(const typename parcelType::trackingData &td)
Pre-evolve hook.
A class for handling file names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Base class for cloud sub-models.
const Time & time() const
Return the top-level database.
const CloudType & owner() const
Return const access to the owner cloud.
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
fileName writeTimeDir() const
Return the output time path.
A class for handling words, derived from Foam::string.
const Time & time() const noexcept
Return time registry.
virtual fileName localPath() const
Output directory.
static word timeName(const scalar t, const int precision=precision_)
Return time name of given scalar time formatted with the given precision.
static bool clean(std::string &str)
Cleanup filename string, possibly applies other transformations such as changing the path separator e...
const fileName & outputDir() const
Return the output path.
const fvMesh & mesh() const
Return reference to the mesh.
vector point
Point is a vector.
static word outputPrefix
Directory prefix.
virtual void postFace(const parcelType &p, bool &keepParticle)
Post-face hook.
A patch is a list of labels that address the faces in the global face list.
CloudFunctionObject(CloudType &owner)
Construct null from owner.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Templated base class for dsmc cloud.
Templated cloud function object base class.
virtual void postMove(parcelType &p, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
fileName globalPath() const
Return global path for the case.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.