Go to the documentation of this file.
41 #ifndef CollidingCloud_H
42 #define CollidingCloud_H
58 template<
class CloudType>
65 template<
class CloudType>
125 template<
class TrackCloudType>
128 TrackCloudType&
cloud,
198 inline const typename parcelType::constantProperties&
230 template<
class TrackCloudType>
233 TrackCloudType&
cloud,
234 typename parcelType::trackingData& td
Adds coolisions to kinematic clouds.
void cloudReset(CollidingCloud< CloudType > &c)
Reset state of cloud.
A class for handling words, derived from Foam::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.
void moveCollide(TrackCloudType &cloud, typename parcelType::trackingData &td, const scalar deltaT)
Move-collide particles.
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.
CloudType cloudType
Type of cloud this cloud was instantiated for.
void restoreState()
Reset the current cloud to the previously stored state.
Class to hold thermo particle constant properties.
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 reference to the mesh.
word name(const complex &c)
Return string representation of complex.
void motion(TrackCloudType &cloud, typename parcelType::trackingData &td)
Particle motion.
void setModels()
Set cloud sub-models.
Templated base class for dsmc cloud.
Mesh data needed to do the Finite Volume discretisation.
ParticleType particleType
const uniformDimensionedVectorField & g
parcelType::constantProperties constProps_
Thermo parcel constant properties.
const CollisionModel< CollidingCloud< CloudType > > & collision() const
Return const access to the collision model.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
void storeState()
Store the current cloud state.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
virtual ~CollidingCloud()
Destructor.
ParcelType::trackingData trackingData
Use base tracking data.
CollidingCloud< CloudType > collidingCloudType
Convenience typedef for this cloud type.
const dimensionedScalar c
Speed of light in a vacuum.
autoPtr< CollisionModel< CollidingCloud< CloudType > > > collisionModel_
Collision model.
Templated collision model class.