Go to the documentation of this file.
35 #ifndef ORourkeCollision_H
36 #define ORourkeCollision_H
49 template<
class CloudType>
72 typename CloudType::parcelType::trackingData& td,
110 const word& modelName = typeName
A class for handling words, derived from Foam::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.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
CloudType::parcelType parcelType
Convenience typedef to the cloud's parcel type.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry 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.
virtual void collide(typename CloudType::parcelType::trackingData &td, const scalar dt)
Main collision routine.
const liquidMixtureProperties & liquids_
virtual autoPtr< StochasticCollisionModel< CloudType > > clone() const
Construct and return a clone.
bool coalescence_
Coalescence activated?