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>;
183 const label tetFacei,
247 inline const vector&
U()
const;
250 inline scalar
Ei()
const;
267 template<
class TrackData>
268 bool move(TrackData& td,
const scalar trackTime);
275 template<
class TrackData>
281 const scalar trackFraction,
287 template<
class TrackData>
295 template<
class TrackData>
304 template<
class TrackData>
329 friend Ostream& operator<< <ParcelType>
TypeName("DSMCParcel")
Runtime type information.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void hitWallPatch(const wallPolyPatch &, TrackData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool move(TrackData &td, const scalar trackTime)
Move the parcel.
label typeId_
Parcel type id.
Template function to specify if the data of a type are contiguous.
Class used to pass kinematic tracking data to the trackToFace function.
void hitProcessorPatch(const processorPolyPatch &, TrackData &td)
Overridable function to handle the particle hitting a.
bool hitPatch(const polyPatch &, TrackData &td, const label patchi, const scalar trackFraction, const tetIndices &tetIs)
Overridable function to handle the particle hitting a patch.
virtual autoPtr< particle > clone() const
Construct and return a clone.
scalar sigmaT() const
Return the reference total collision cross section.
Neighbour processor patch.
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].
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
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].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
PtrList< coordinateSystem > coordinates(solidRegions.size())
const dimensionedScalar c
Speed of light in a vacuum.
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].
A patch is a list of labels that address the faces in the global face list.
label typeId() const
Return type id.
Templated base class for dsmc cloud.
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.