35#ifndef ORourkeCollision_H
36#define ORourkeCollision_H
49template<
class CloudType>
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Collision model by P.J. O'Rourke.
virtual bool collideParcels(const scalar dt, parcelType &p1, parcelType &p2, scalar &m1, scalar &m2)
Collide parcels and return true if mass has changed.
bool coalescence_
Coalescence activated?
virtual bool collideSorted(const scalar dt, parcelType &p1, parcelType &p2, scalar &m1, scalar &m2)
TypeName("ORourke")
Runtime type information.
const liquidMixtureProperties & liquids_
virtual void collide(typename CloudType::parcelType::trackingData &td, const scalar dt)
Main collision routine.
virtual autoPtr< StochasticCollisionModel< CloudType > > clone() const
Construct and return a clone.
CloudType::parcelType parcelType
Convenience typedef to the cloud's parcel type.
virtual ~ORourkeCollision()
Destructor.
Templated stochastic collision model class.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Class used to pass data into container.
const dictionary & dict() const
Return const access to the cloud dictionary.
const word & modelName() const
Return const access to the name of the sub-model.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.