28 template<
class ParcelType>
33 pMin_(this->dict_, 0.0),
34 constantVolume_(this->dict_, false)
38 template<
class ParcelType>
44 ParcelType::constantProperties(cp),
46 constantVolume_(cp.constantVolume_)
50 template<
class ParcelType>
56 ParcelType::constantProperties(parentDict),
57 pMin_(this->dict_,
"pMin", 1000.0),
58 constantVolume_(this->dict_,
word(
"constantVolume"))
62 template<
class ParcelType>
72 ParcelType(mesh, position, celli, tetFacei, tetPtI),
79 template<
class ParcelType>
88 const scalar nParticle0,
90 const scalar dTarget0,
93 const vector& angularMomentum0,
127 template<
class ParcelType>
131 return pMin_.
value();
135 template<
class ParcelType>
139 return constantVolume_.
value();
145 template<
class ParcelType>
152 template<
class ParcelType>
159 template<
class ParcelType>
166 template<
class ParcelType>
173 template<
class ParcelType>
180 template<
class ParcelType>
Class to hold reacting parcel constant properties.
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...
scalarField Y_
Mass fractions of mixture [].
const Type & value() const
Return the value.
const scalarField & Y() const
Return const access to mass fractions of mixture [].
bool constantVolume() const
Return const access to the constant volume flag.
scalar mass0() const
Return const access to initial mass [kg].
A class for handling words, derived from string.
scalar pMin() const
Return const access to the minimum pressure.
ReactingParcel(const polyMesh &mesh, const vector &position, const label celli, const label tetFacei, const label tetPtI)
Construct from owner, position, and cloud owner.
scalar pc() const
Return the owner cell pressure [Pa].
constantProperties()
Null constructor.
Mesh consisting of general polyhedral cells.
scalar mass0_
Initial mass [kg].