41 #ifndef CollidingCloud_H 42 #define CollidingCloud_H 58 template<
class CloudType>
65 template<
class CloudType>
106 typename parcelType::constantProperties
constProps_;
125 template<
class TrackCloudType>
128 TrackCloudType&
cloud,
129 typename parcelType::trackingData&
td,
198 inline const typename parcelType::constantProperties&
230 template<
class TrackCloudType>
233 TrackCloudType&
cloud,
234 typename parcelType::trackingData&
td
void cloudReset(CollidingCloud< CloudType > &c)
Reset state of cloud.
autoPtr< IOobject > clone() const
Clone.
void evolve()
Evolve the cloud.
const word & cloudName() const
Return the cloud type.
const word & name() const noexcept
Return the object name.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
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.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
A class for handling words, derived from Foam::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 registry collection of lagrangian particles.
Templated collision model class.
Adds coolisions to kinematic clouds.
const uniformDimensionedVectorField & g
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 reference 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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
void setModels()
Set cloud sub-models.
virtual ~CollidingCloud()
Destructor.
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.