36 #ifndef CollidingCloud_H 37 #define CollidingCloud_H 53 template<
class CloudType>
60 template<
class CloudType>
101 typename parcelType::constantProperties
constProps_;
120 template<
class TrackCloudType>
123 TrackCloudType&
cloud,
124 typename parcelType::trackingData& td,
193 inline const typename parcelType::constantProperties&
225 template<
class TrackCloudType>
228 TrackCloudType&
cloud,
229 typename parcelType::trackingData& td
void cloudReset(CollidingCloud< CloudType > &c)
Reset state of cloud.
autoPtr< IOobject > clone() const
Clone.
const word & name() const
Return name.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the specified type.
void evolve()
Evolve the cloud.
const word & cloudName() const
Return the cloud type.
const CollisionModel< CollidingCloud< CloudType > > & collision() const
Return const access to the collision model.
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.
void motion(TrackCloudType &cloud, typename parcelType::trackingData &td)
Particle motion.
void moveCollide(TrackCloudType &cloud, typename parcelType::trackingData &td, const scalar deltaT)
Move-collide particles.
A cloud is a collection of lagrangian particles.
Templated collision model class.
Adds coolisions to kinematic clouds.
const parcelType::constantProperties & constProps() const
Return the constant properties.
const dimensionedScalar mu
Atomic mass unit.
void restoreState()
Reset the current cloud to the previously stored state.
const fvMesh & mesh() const
Return references to the mesh.
void info()
Print cloud information.
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.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
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.
const dimensionedVector & g
Templated base class for dsmc cloud.
const CollidingCloud & cloudCopy() const
Return a reference to the cloud copy.
autoPtr< CollisionModel< CollidingCloud< CloudType > > > collisionModel_
Collision model.
void storeState()
Store the current cloud state.
scalar rotationalKineticEnergyOfSystem() const
Total rotational kinetic energy in the system.