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>
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.
scalar sigmaT() const
Return the reference total collision cross section.
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.
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.
scalar omega() const
Return the viscosity index.
label typeId() const
Return type id.
Neighbour processor patch.
static void readFields(Cloud< DSMCParcel< ParcelType >> &c)
scalar d() const
Return const access to the hard sphere diameter [m].
static void writeFields(const Cloud< DSMCParcel< ParcelType >> &c)
constantProperties()
Null constructor, allows List of constantProperties to be.
Class to hold DSMC particle constant properties.
Factory class to read-construct particles used for.
A cloud is a collection of lagrangian particles.
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...
direction internalDegreesOfFreedom() const
Return the internalDegreesOfFreedom.
const vector & U() const
Return const access to velocity.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar Ei() const
Return const access to internal energy.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
virtual autoPtr< particle > clone() const
Construct and return a clone.
const dimensionedScalar c
Speed of light in a vacuum.
scalar Ei_
Internal energy of the Parcel, covering all non-translational.
scalar mass() const
Return const access to the particle mass [kg].
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.
Templated base class for dsmc cloud.