Go to the documentation of this file.
51 template<
class ParcelType>
56 template<
class ParcelType>
67 template<
class ParcelType>
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>
const vector & U() const
Return const access to velocity.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
Class used to pass kinematic tracking data to the trackToFace function.
Class to hold DSMC particle constant properties.
scalar mass_
Particle mass [kg] (constant)
TypeName("DSMCParcel")
Runtime type information.
Factory class to read-construct particles used for.
label typeId() const
Return type id.
void hitWallPatch(const wallPolyPatch &, TrackData &td, const tetIndices &)
Overridable function to handle the particle hitting a wallPatch.
constantProperties()
Null constructor, allows List of constantProperties to be.
autoPtr< DSMCParcel< ParcelType > > operator()(Istream &is) const
scalar omega_
Viscosity index.
This function object reads fields from the time directories and adds them to the mesh database for fu...
label typeId_
Parcel type id.
Mesh consisting of general polyhedral cells.
static void readFields(Cloud< DSMCParcel< ParcelType > > &c)
static void writeFields(const Cloud< DSMCParcel< ParcelType > > &c)
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 sigmaT() const
Return the reference total collision cross section.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
direction internalDegreesOfFreedom() const
Return the internalDegreesOfFreedom.
void hitProcessorPatch(const processorPolyPatch &, TrackData &td)
Overridable function to handle the particle hitting a.
trackingData(DSMCCloud< DSMCParcel< ParcelType > > &cloud)
Construct from components.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static const std::size_t sizeofFields_
Size in bytes of the fields.
A patch is a list of labels that address the faces in the global face list.
scalar omega() const
Return the viscosity index.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Neighbour processor patch.
vector U_
Velocity of Parcel [m/s].
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
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].
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...
A cloud is a collection of lagrangian particles.
Template function to specify if the data of a type are contiguous.
scalar d_
Particle hard sphere diameter [m] (constant)
bool move(TrackData &td, const scalar trackTime)
Move the parcel.
Base cloud calls templated on particle type.
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.
TrackingData(DSMCCloud< DSMCParcel< ParcelType > > &cloud)
direction internalDegreesOfFreedom_
Internal degrees of freedom.