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