Go to the documentation of this file.
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 moveCollide(TrackData &td, const scalar deltaT)
Move-collide particles.
Adds coolisions to kinematic clouds.
void cloudReset(CollidingCloud< CloudType > &c)
Reset state of cloud.
A class for handling words, derived from string.
const dimensionedScalar mu
Atomic mass unit.
virtual autoPtr< Cloud< parcelType > > clone(const word &name)
Construct and return clone based on (this) with new name.
void evolve()
Evolve the cloud.
scalar rotationalKineticEnergyOfSystem() const
Total rotational kinetic energy in the system.
void info()
Print cloud information.
CollidingCloud(const CollidingCloud &)
Disallow default bitwise copy construct.
const dimensionedVector & g
const parcelType::constantProperties & constProps() const
Return the constant properties.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
virtual bool hasWallImpactDistance() const
If the collision model controls the wall interaction,.
This function object reads fields from the time directories and adds them to the mesh database for fu...
CloudType cloudType
Type of cloud this cloud was instantiated for.
void restoreState()
Reset the current cloud to the previously stored state.
const CollidingCloud & cloudCopy() const
Return a reference to the cloud copy.
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
const word & cloudName() const
Return the cloud type.
const fvMesh & mesh() const
Return refernce to the mesh.
void setModels()
Set cloud sub-models.
const CollisionModel< CollidingCloud< CloudType > > & collision() const
Return const access to the collision model.
Templated base class for dsmc cloud.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
ParticleType particleType
parcelType::constantProperties constProps_
Thermo parcel constant properties.
void motion(TrackData &td)
Particle motion.
void storeState()
Store the current cloud state.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~CollidingCloud()
Destructor.
autoPtr< CollidingCloud< CloudType > > cloudCopyPtr_
Cloud copy pointer.
CollidingCloud< CloudType > collidingCloudType
Convenience typedef for this cloud type.
const dimensionedScalar c
Speed of light in a vacuum.
Generic GeometricField class.
autoPtr< CollisionModel< CollidingCloud< CloudType > > > collisionModel_
Collision model.
word name(const complex &)
Return a string representation of a complex.
Templated collision model class.
void operator=(const CollidingCloud &)
Disallow default bitwise assignment.