32 template<
class ParcelType>
40 template<
class ParcelType>
46 mass_(
dict.
get<scalar>(
"mass")),
47 d_(
dict.
get<scalar>(
"diameter")),
48 internalDegreesOfFreedom_(
dict.
get<int>(
"internalDegreesOfFreedom")),
49 omega_(
dict.
get<scalar>(
"omega"))
53 template<
class ParcelType>
73 template<
class ParcelType>
84 ParcelType(
mesh, position, celli),
93 template<
class ParcelType>
101 template<
class ParcelType>
108 template<
class ParcelType>
116 template<
class ParcelType>
121 return internalDegreesOfFreedom_;
125 template<
class ParcelType>
135 template<
class ParcelType>
142 template<
class ParcelType>
149 template<
class ParcelType>
156 template<
class ParcelType>
163 template<
class ParcelType>
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label typeId_
Parcel type id.
scalar sigmaT() const
Return the reference total collision cross section.
constantProperties()
Null constructor, allows List of constantProperties to be.
scalar omega() const
Return the viscosity index.
direction internalDegreesOfFreedom() const
Return the internalDegreesOfFreedom.
scalar mass() const
Return const access to the particle mass [kg].
constexpr scalar pi(M_PI)
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].
PtrList< coordinateSystem > coordinates(solidRegions.size())
scalar Ei_
Internal energy of the Parcel, covering all non-translational.
scalar Ei() const
Return const access to internal energy.
Mesh consisting of general polyhedral cells.
vector U_
Velocity of Parcel [m/s].
label typeId() const
Return type id.
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.