53template<
class ParcelType>
58template<
class ParcelType>
69template<
class ParcelType>
113 inline scalar
mass()
const;
116 inline scalar
d()
const;
119 inline scalar
sigmaT()
const;
125 inline scalar
omega()
const;
156 friend class Cloud<ParcelType>;
167 const label tetFacei,
192 bool newFormat =
true
213 autoPtr<DSMCParcel<ParcelType>>
operator()(Istream& is)
const
228 inline label
typeId()
const;
231 inline const vector&
U()
const;
234 inline scalar
Ei()
const;
251 template<
class TrackCloudType>
254 TrackCloudType&
cloud,
256 const scalar trackTime
264 template<
class TrackCloudType>
269 template<
class TrackCloudType>
273 template<
class TrackCloudType>
294 friend Ostream& operator<< <ParcelType>
Base cloud calls templated on particle type.
scalar d() const
Return const access to the hard sphere diameter [m].
constantProperties()
Null constructor, allows List of constantProperties to be.
scalar omega() const
Return the viscosity index.
scalar mass() const
Return const access to the particle mass [kg].
scalar sigmaT() const
Return the reference total collision cross section.
direction internalDegreesOfFreedom() const
Return the internalDegreesOfFreedom.
autoPtr< DSMCParcel< ParcelType > > operator()(Istream &is) const
iNew(const polyMesh &mesh)
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
virtual void transformProperties(const vector &separation)
Transform the physical properties of the particle.
void hitProcessorPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a.
virtual autoPtr< particle > clone() const
Return a clone.
static const std::size_t sizeofFields
bool hitPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a patch.
particle::trackingData trackingData
static void readFields(Cloud< DSMCParcel< particle > > &c)
static void writeFields(const Cloud< DSMCParcel< ParcelType > > &c)
DSMCParcel(const polyMesh &mesh, const vector &position, const label celli, const vector &U, const scalar Ei, const label typeId)
Construct from a position and a cell, searching for the rest of the.
DSMCParcel(const polyMesh &mesh, Istream &is, bool readFields=true, bool newFormat=true)
Construct from Istream.
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
Move the parcel.
vector & U()
Return access to velocity.
DSMCParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const vector &U, const scalar Ei, const label typeId)
Construct from components.
void hitWallPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a wallPatch.
scalar & Ei()
Return access to internal energy.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
vector position() const
Return current particle position.
static autoPtr< particle > Clone(const Derived &p)
Clone a particle.
const polyMesh & mesh() const noexcept
Return the mesh database.
const barycentric & coordinates() const noexcept
Return current particle coordinates.
Mesh consisting of general polyhedral cells.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
Barycentric< scalar > barycentric
A scalar version of the templated Barycentric.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.