77 #ifndef ParticleErosion_H 78 #define ParticleErosion_H 92 template<
class CloudType>
95 public CloudFunctionObject<CloudType>
106 autoPtr<volScalarField> QPtr_;
129 virtual void write();
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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 void preEvolve()
Pre-evolve hook.
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.
virtual ~ParticleErosion()
Destructor.
const CloudType & owner() const
Return const access to the owner cloud.
A class for handling words, derived from string.
virtual void write()
Write post-processing info.
List< label > labelList
A List of labels.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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.
A patch is a list of labels that address the faces in the global face list.
Templated base class for dsmc cloud.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("particleErosion")
Runtime type information.