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, coordinates, celli, tetFacei, tetPti),
78 template<
class ParcelType>
86 ParcelType(mesh, position, celli),
94 template<
class ParcelType>
102 template<
class ParcelType>
106 return constantVolume_.
value();
112 template<
class ParcelType>
119 template<
class ParcelType>
126 template<
class ParcelType>
133 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 [].
ReactingParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
bool constantVolume() const
Return const access to the constant volume flag.
const Type & value() const
Return the value.
A class for handling words, derived from string.
scalar pMin() const
Return const access to the minimum pressure.
scalar mass0() const
Return const access to initial mass [kg].
constantProperties()
Null constructor.
Mesh consisting of general polyhedral cells.
scalar mass0_
Initial mass [kg].
const scalarField & Y() const
Return const access to mass fractions of mixture [].