Go to the documentation of this file.
35 #ifndef ParticleErosion_H
36 #define ParticleErosion_H
50 template<
class CloudType>
135 const scalar trackFraction,
scalar K_
Ratio of normal and tangential forces - default=2.
A class for handling words, derived from string.
label applyToPatch(const label globalPatchI) const
Returns local patchI if patch is in patchIds_ list.
autoPtr< volScalarField > QPtr_
Particle erosion field.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
TypeName("particleErosion")
Runtime type information.
virtual ~ParticleErosion()
Destructor.
scalar p_
Plastic flow stress - typical metal value = 2.7 GPa.
const CloudType & owner() const
Return const access to the owner cloud.
virtual void write()
Write post-processing info.
const word & modelName() const
Return const access to the name of the sub-model.
CloudType::parcelType parcelType
Convenience typedef for parcel type.
virtual void preEvolve()
Pre-evolve hook.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dictionary & dict() const
Return const access to the cloud dictionary.
A patch is a list of labels that address the faces in the global face list.
labelList patchIDs_
List of patch indices to post-process.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual void postPatch(const parcelType &p, const polyPatch &pp, const scalar trackFraction, const tetIndices &tetIs, bool &keepParticle)
Post-patch hook.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Templated cloud function object base class.
Creates particle erosion field, Q.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
ParticleErosion(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
scalar psi_
Ratio between depth of contact and length of cut - default=2.