36 #ifndef CollidingCloud_H 37 #define CollidingCloud_H 53 template<
class CloudType>
60 template<
class CloudType>
101 typename parcelType::constantProperties
constProps_;
120 template<
class TrackData>
121 void moveCollide(TrackData& td,
const scalar deltaT);
188 inline const typename parcelType::constantProperties&
227 template<
class TrackData>
228 void motion(TrackData& td);
void cloudReset(CollidingCloud< CloudType > &c)
Reset state of cloud.
scalar rotationalKineticEnergyOfSystem() const
Total rotational kinetic energy in the system.
virtual bool hasWallImpactDistance() const
If the collision model controls the wall interaction,.
void evolve()
Evolve the cloud.
const CollisionModel< CollidingCloud< CloudType > > & collision() const
Return const access to the collision model.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
const parcelType::constantProperties & constProps() const
Return the constant properties.
void moveCollide(TrackData &td, const scalar deltaT)
Move-collide particles.
CloudType cloudType
Type of cloud this cloud was instantiated for.
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
CollidingCloud< CloudType > collidingCloudType
Convenience typedef for this cloud type.
A class for handling words, derived from string.
Foam::autoPtr< IOobject > clone() const
Clone.
Templated collision model class.
Adds coolisions to kinematic clouds.
void motion(TrackData &td)
Particle motion.
const dimensionedVector & g
virtual void readFields()
Read the field data for the cloud of particles. Dummy at.
const dimensionedScalar mu
Atomic mass unit.
void restoreState()
Reset the current cloud to the previously stored state.
void info()
Print cloud information.
const fvMesh & mesh() const
Return refernce to the mesh.
Mesh data needed to do the Finite Volume discretisation.
const dimensionedScalar c
Speed of light in a vacuum.
parcelType::constantProperties constProps_
Thermo parcel constant properties.
const word & cloudName() const
Return the cloud type.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void setModels()
Set cloud sub-models.
virtual ~CollidingCloud()
Destructor.
Templated base class for dsmc cloud.
autoPtr< CollisionModel< CollidingCloud< CloudType > > > collisionModel_
Collision model.
void storeState()
Store the current cloud state.
const word & name() const
Return name.
const CollidingCloud & cloudCopy() const
Return a reference to the cloud copy.