65 #ifndef FaceInteraction_H 66 #define FaceInteraction_H 81 template<
class CloudType>
Face zone-based particle interactions.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
particles escape/are removed
particles stick to the faceZone faces
virtual ~FaceInteraction()=default
Destructor.
const word & modelName() const
Return const access to the name of the sub-model.
bool processParticle(const parcelType &p, const label localZonei)
Return true if this particle will be assessed.
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
A class for handling words, derived from Foam::string.
TypeName("faceInteraction")
Runtime type information.
CloudType::parcelType parcelType
Convenience typedef for parcel type.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual autoPtr< CloudFunctionObject< CloudType > > clone() const
Construct and return a clone.
particles rebound from the faceZone faces
virtual void postFace(const parcelType &p, bool &keepParticle)
Post-face hook.
void write()
Write post-processing info.
interactionType
Enumeration defining the interaction types.
FaceInteraction(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Base class for writing single files from the function objects.
Templated base class for dsmc cloud.
Templated cloud function object base class.
static const Enum< interactionType > interactionTypeNames_
Names for the interaction types.