47 #ifndef StandardWallInteraction_H
48 #define StandardWallInteraction_H
60 template<
class CloudType>
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Templated patch interaction model class.
virtual autoPtr< PatchInteractionModel< CloudType > > clone() const
Construct and return a clone using supplied owner cloud.
label nStick_
Number of parcels stuck to patches.
scalar massStick_
Mass of parcels stuck to patches.
scalar massEscape_
Mass of parcels escaped.
virtual void info(Ostream &os)
Write patch interaction info to stream.
StandardWallInteraction(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
scalar mu_
Restitution coefficient.
TypeName("standardWallInteraction")
Runtime type information.
label nEscape_
Number of parcels escaped.
scalar e_
Elasticity coefficient.
virtual bool correct(typename CloudType::parcelType &p, const polyPatch &pp, bool &keepParticle)
Apply velocity correction.
virtual ~StandardWallInteraction()
Destructor.
PatchInteractionModel< CloudType >::interactionType interactionType_
Interaction type.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A cloud is a collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A patch is a list of labels that address the faces in the global face list.
const dictionary & dict() const
Return const access to the cloud dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.