ParticleErosion(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
Function object to create a field of eroded volume, Q, on a specified list of patches. The volume is calculated by the model of Finnie et al. The implementation follows the description given by the review of Yadav et al.
virtual ~ParticleErosion()
Destructor.
virtual void write()
Write post-processing info.
label applyToPatch(const label globalPatchi) const
Returns local patchi if patch is in patchIds_ list.
virtual void postPatch(const parcelType &p, const polyPatch &pp, bool &keepParticle)
Post-patch hook.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("particleErosion")
Runtime type information.