Go to the documentation of this file.
33 #ifndef ORourkeCollision_H
34 #define ORourkeCollision_H
47 template<
class CloudType>
68 virtual void collide(
const scalar dt);
104 const word& modelName = typeName
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
virtual void collide(const scalar dt)
Main collision routine.
A class for handling words, derived from string.
TypeName("ORourke")
Runtime type information.
virtual ~ORourkeCollision()
Destructor.
Collision model by P.J. O'Rourke.
Templated stochastic collision model class.
ORourkeCollision(const dictionary &dict, CloudType &cloud, const word &modelName=typeName)
Construct from dictionary.
Switch coalescence_
Coalescence activation switch.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
CloudType::parcelType parcelType
Convenience typedef to the cloud's parcel 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.
virtual bool collideSorted(const scalar dt, parcelType &p1, parcelType &p2, scalar &m1, scalar &m2)
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual bool collideParcels(const scalar dt, parcelType &p1, parcelType &p2, scalar &m1, scalar &m2)
Collide parcels and return true if mass has changed.
const liquidMixtureProperties & liquids_
virtual autoPtr< StochasticCollisionModel< CloudType > > clone() const
Construct and return a clone.