53 template<
class ParcelType>
58 template<
class ParcelType>
69 template<
class ParcelType>
113 inline scalar
mass()
const;
116 inline scalar
d()
const;
119 inline scalar
sigmaT()
const;
125 inline scalar
omega()
const;
156 friend class Cloud<ParcelType>;
167 const label tetFacei,
192 bool newFormat =
true 213 autoPtr<DSMCParcel<ParcelType>>
operator()(Istream& is)
const 215 return autoPtr<DSMCParcel<ParcelType>>
217 new DSMCParcel<ParcelType>(mesh_, is,
true)
228 inline label
typeId()
const;
231 inline const vector&
U()
const;
234 inline scalar
Ei()
const;
251 template<
class TrackCloudType>
254 TrackCloudType&
cloud,
256 const scalar trackTime
264 template<
class TrackCloudType>
269 template<
class TrackCloudType>
273 template<
class TrackCloudType>
294 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...
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
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
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
static autoPtr< particle > Clone(const Derived &p)
Clone a particle.
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.