Go to the documentation of this file.
54 template<
class ParcelType>
59 template<
class ParcelType>
70 template<
class ParcelType>
114 inline scalar
mass()
const;
117 inline scalar
d()
const;
120 inline scalar
sigmaT()
const;
126 inline scalar
omega()
const;
157 friend class Cloud<ParcelType>;
168 const label tetFacei,
193 bool newFormat =
true
230 inline label
typeId()
const;
233 inline const vector&
U()
const;
236 inline scalar
Ei()
const;
253 template<
class TrackCloudType>
256 TrackCloudType&
cloud,
258 const scalar trackTime
266 template<
class TrackCloudType>
271 template<
class TrackCloudType>
275 template<
class TrackCloudType>
296 friend Ostream& operator<< <ParcelType>
const vector & U() const
Return const 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.
bool hitPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a patch.
Class to hold DSMC particle constant properties.
void hitProcessorPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a.
TypeName("DSMCParcel")
Runtime type information.
Factory class to read-construct particles used for.
label typeId() const
Return type id.
constantProperties()
Null constructor, allows List of constantProperties to be.
autoPtr< DSMCParcel< ParcelType > > operator()(Istream &is) const
label typeId_
Parcel type id.
Mesh consisting of general polyhedral cells.
static void readFields(Cloud< DSMCParcel< ParcelType >> &c)
scalar sigmaT() const
Return the reference total collision cross section.
direction internalDegreesOfFreedom() const
Return the internalDegreesOfFreedom.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
PtrList< coordinateSystem > coordinates(solidRegions.size())
scalar omega() const
Return the viscosity index.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
vector U_
Velocity of Parcel [m/s].
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual autoPtr< particle > clone() const
Construct and return a clone.
scalar Ei_
Internal energy of the Parcel, covering all non-translational.
iNew(const polyMesh &mesh)
scalar mass() const
Return const access to the particle mass [kg].
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
Move the parcel.
void hitWallPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a wallPatch.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
static void writeFields(const Cloud< DSMCParcel< ParcelType >> &c)
Base cloud calls templated on particle type.
ParcelType::trackingData trackingData
Use base tracking data.
scalar d() const
Return const access to the hard sphere diameter [m].
const dimensionedScalar c
Speed of light in a vacuum.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar Ei() const
Return const access to internal energy.
static const std::size_t sizeofFields
Size in bytes of the fields.