51 template<
class ParcelType>
56 template<
class ParcelType>
67 template<
class ParcelType>
75 static const std::size_t sizeofFields_;
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>;
168 label& nLocateBoundaryHits,
198 inline const vector&
U()
const;
201 inline scalar
Ei()
const;
218 template<
class TrackCloudType>
225 template<
class TrackCloudType>
242 friend Ostream& operator<< <ParcelType>
Base cloud calls templated on particle type.
Class to hold DSMC particle constant properties.
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.
static void readFields(Cloud< DSMCParcel< ParcelType >> &c)
label typeId_
Parcel type id.
label typeId() const
Return type id.
const vector & U() const
Return const access to velocity.
bool move(TrackCloudType &cloud, trackingData &td)
Move the parcel.
scalar Ei() const
Return const access to internal energy.
static autoPtr< DSMCParcel > New(Istream &is)
Construct from Istream and return.
ParcelType::trackingData trackingData
Use base tracking data.
virtual autoPtr< particle > clone() const
Construct and return a clone.
TypeName("DSMCParcel")
Runtime type information.
static void writeFields(const Cloud< DSMCParcel< ParcelType >> &c)
virtual void transformProperties(const transformer &)
Transform the physical properties of the particle.
void hitWallPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a wallPatch.
vector U_
Velocity of Parcel [m/s].
DSMCParcel(const polyMesh &mesh, const vector &position, const label celli, label &nLocateBoundaryHits, const vector &U, const scalar Ei, const label typeId)
Construct from a position and a cell, searching for the rest of the.
scalar Ei_
Internal energy of the Parcel, covering all non-translational.
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,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A cloud is a collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
Template function to specify if the data of a type are contiguous.
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.