31template<
class ParcelType>
36 pMin_(this->dict_, 0.0),
37 constantVolume_(this->dict_, false),
38 volUpdateType_(this->dict_, mUndefined)
42template<
class ParcelType>
50 constantVolume_(
cp.constantVolume_),
51 volUpdateType_(
cp.volUpdateType_)
55template<
class ParcelType>
62 pMin_(this->dict_,
"pMin", 1000.0),
63 constantVolume_(this->dict_,
"constantVolume", false),
64 volUpdateType_(this->dict_,
"volumeUpdateMethod")
69 if (this->dict_.found(
"constantVolume"))
73 else if (this->dict_.readIfPresent(
"volumeUpdateMethod", updateName))
76 if (updateName ==
"constantRho")
80 else if (updateName ==
"constantVolume")
84 else if (updateName ==
"updateRhoAndVol")
93 <<
"Unknown volumeUpdateMethod type " << updateName
94 <<
"\n\nValid volumeUpdateMethod types :\n"
95 <<
"(constantRho constantVolume updateRhoAndVol)" <<
nl
106template<
class ParcelType>
112 const label tetFacei,
122template<
class ParcelType>
130 ParcelType(
mesh, position, celli),
136template<
class ParcelType>
142 const label tetFacei,
145 const scalar nParticle0,
147 const scalar dTarget0,
150 const vector& angularMomentum0,
183template<
class ParcelType>
187 return pMin_.value();
191template<
class ParcelType>
195 return constantVolume_.value();
199template<
class ParcelType>
203 return volUpdateType_.value();
209template<
class ParcelType>
216template<
class ParcelType>
223template<
class ParcelType>
230template<
class ParcelType>
238template<
class ParcelType>
246template<
class ParcelType>
253template<
class ParcelType>
Class to hold reacting parcel constant properties.
label volUpdateType() const
Return const access to the constant volume flag.
bool constantVolume() const
Return const access to the constant volume flag.
scalar pMin() const
Return const access to the minimum pressure.
constantProperties()
Null constructor.
Reacting parcel class with one/two-way coupling with the continuous phase.
const scalarField & Y() const
Return const access to mass fractions of mixture [].
scalarField Y_
Mass fractions of mixture [].
const scalarField & YGas() const
Return const access to mass fractions of gases.
scalar mass0() const
Return const access to initial mass [kg].
scalar mass0_
Initial mass [kg].
const scalarField & YSolid() const
Return const access to mass fractions of solids.
const scalarField & YLiquid() const
Return const access to mass fractions of liquids.
void setValue(const Type &value)
Set the value.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
A class for handling words, derived from Foam::string.
PtrList< coordinateSystem > coordinates(solidRegions.size())
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)
scalarList Y0(nSpecie, Zero)
const volScalarField & cp