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;
172 friend class Cloud<ParcelType>;
185 const label tetFaceI,
235 inline const vector&
U()
const;
238 inline scalar
Ei()
const;
255 template<
class TrackData>
256 bool move(TrackData& td,
const scalar trackTime);
263 template<
class TrackData>
269 const scalar trackFraction,
275 template<
class TrackData>
283 template<
class TrackData>
292 template<
class TrackData>
317 friend Ostream& operator<< <ParcelType>
scalar d() const
Return const access to the hard sphere diameter [m].
label typeId() const
Return type id.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar Ei_
Internal energy of the Parcel, covering all non-translational.
virtual autoPtr< particle > clone() const
Construct and return a clone.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static void readFields(Cloud< DSMCParcel< ParcelType > > &c)
A list of keyword definitions, which are a keyword followed by any number of values (e...
A patch is a list of labels that address the faces in the global face list.
void hitProcessorPatch(const processorPolyPatch &, TrackData &td)
Overridable function to handle the particle hitting a.
void hitWallPatch(const wallPolyPatch &, TrackData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
Neighbour processor patch.
direction internalDegreesOfFreedom() const
Return the internalDegreesOfFreedom.
DSMCParcel(const polyMesh &mesh, const vector &position, const vector &U, const scalar Ei, const label cellI, const label tetFaceI, const label tetPtI, const label typeId)
Construct from components.
constantProperties()
Null constructor, allows List of constantProperties to be.
Factory class to read-construct particles used for.
static void writeFields(const Cloud< DSMCParcel< ParcelType > > &c)
scalar Ei() const
Return const access to internal energy.
TypeName("DSMCParcel")
Runtime type information.
A cloud is a collection of lagrangian particles.
Template function to specify if the data of a type are contiguous.
Mesh consisting of general polyhedral cells.
Class to hold DSMC particle constant properties.
vector U_
Velocity of Parcel [m/s].
scalar sigmaT() const
Return the reference total collision cross section.
label typeId_
Parcel type id.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionedScalar c
Speed of light in a vacuum.
const vector & U() const
Return const access to velocity.
Base cloud calls templated on particle type.
scalar mass() const
Return const access to the particle mass [kg].
Templated base class for dsmc cloud.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
scalar omega() const
Return the viscosity index.
bool hitPatch(const polyPatch &, TrackData &td, const label patchI, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
This function object reads fields from the time directories and adds them to the mesh database for fu...
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Class used to pass kinematic tracking data to the trackToFace function.
bool move(TrackData &td, const scalar trackTime)
Move the parcel.