Go to the documentation of this file.
33 #ifndef TrajectoryCollision_H
34 #define TrajectoryCollision_H
46 template<
class CloudType>
68 virtual void collide(
const scalar dt);
TypeName("trajectory")
Runtime type information.
virtual bool collideParcels(const scalar dt, parcelType &p1, parcelType &p2, scalar &m1, scalar &m2)
Collide parcels and return true if mass has changed.
scalar cTime_
Time coefficient.
virtual autoPtr< StochasticCollisionModel< CloudType > > clone() const
Construct and return a clone.
Collision model by P.J. O'Rourke.
CloudType::parcelType parcelType
Convenience typedef to the cloud's parcel type.
virtual ~TrajectoryCollision()
Destructor.
TrajectoryCollision(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
Trajectory collision model by N. Nordin, based on O'Rourke's collision model.
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 void collide(const scalar dt)
Main collision routine.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
scalar cSpace_
Space coefficient.