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>;
167 const label tetFacei,
231 inline const vector&
U()
const;
234 inline scalar
Ei()
const;
251 template<
class TrackCloudType>
254 TrackCloudType&
cloud,
256 const scalar trackTime
263 template<
class TrackCloudType>
280 friend Ostream& operator<< <ParcelType>
TypeName("DSMCParcel")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
label typeId_
Parcel type id.
Template function to specify if the data of a type are contiguous.
virtual autoPtr< particle > clone() const
Construct and return a clone.
const dimensionedScalar c
Speed of light in a vacuum.
void hitWallPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a wallPatch.
scalar sigmaT() const
Return the reference total collision cross section.
static void readFields(Cloud< DSMCParcel< ParcelType >> &c)
static void writeFields(const Cloud< DSMCParcel< ParcelType >> &c)
constantProperties()
Null constructor, allows List of constantProperties to be.
scalar omega() const
Return the viscosity index.
Class to hold DSMC particle constant properties.
Factory class to read-construct particles used for.
A cloud is a collection of lagrangian particles.
direction internalDegreesOfFreedom() const
Return the internalDegreesOfFreedom.
scalar mass() const
Return const access to the particle mass [kg].
Base cloud calls templated on particle type.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
scalar d() const
Return const access to the hard sphere diameter [m].
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
Move the parcel.
virtual void transformProperties(const transformer &)
Transform the physical properties of the particle.
ParcelType::trackingData trackingData
Use base tracking data.
scalar Ei_
Internal energy of the Parcel, covering all non-translational.
scalar Ei() const
Return const access to internal energy.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
vector U_
Velocity of Parcel [m/s].
label typeId() const
Return type id.
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.
const vector & U() const
Return const access to velocity.