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 215 autoPtr<DSMCParcel<ParcelType>>
operator()(Istream& is)
const 217 return autoPtr<DSMCParcel<ParcelType>>
219 new DSMCParcel<ParcelType>(mesh_, is,
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>
TypeName("DSMCParcel")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
label typeId_
Parcel type id.
virtual autoPtr< particle > clone() const
Construct and return a clone.
void hitWallPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a wallPatch.
scalar sigmaT() const
Return the reference total collision cross section.
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.
A cloud is a registry collection of lagrangian particles.
direction internalDegreesOfFreedom() const
Return the internalDegreesOfFreedom.
scalar mass() const
Return const access to the particle mass [kg].
Base cloud calls templated on particle type.
autoPtr< DSMCParcel< ParcelType > > operator()(Istream &is) const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
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.
void hitProcessorPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a.
bool move(TrackCloudType &cloud, trackingData &td, const scalar trackTime)
Move the parcel.
PtrList< coordinateSystem > coordinates(solidRegions.size())
const dimensionedScalar c
Speed of light in a vacuum.
bool hitPatch(TrackCloudType &, trackingData &)
Overridable function to handle the particle hitting a patch.
ParcelType::trackingData trackingData
Use base tracking data.
scalar Ei_
Internal energy of the Parcel, covering all non-translational.
scalar Ei() const
Return const access to internal energy.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
vector U_
Velocity of Parcel [m/s].
label typeId() const
Return type id.
Tensor of scalars, i.e. Tensor<scalar>.
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.
iNew(const polyMesh &mesh)
static const std::size_t sizeofFields
Size in bytes of the fields.
const vector & U() const
Return const access to velocity.