Go to the documentation of this file.
31 template<
class ParcelType>
36 pMin_(this->dict_, 0.0),
37 constantVolume_(this->dict_, false),
38 volUpdateType_(this->dict_, mUndefined)
42 template<
class ParcelType>
50 constantVolume_(
cp.constantVolume_),
51 volUpdateType_(
cp.volUpdateType_)
55 template<
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
106 template<
class ParcelType>
109 const polyMesh&
mesh,
112 const label tetFacei,
122 template<
class ParcelType>
130 ParcelType(
mesh, position, celli),
136 template<
class ParcelType>
142 const label tetFacei,
145 const scalar nParticle0,
147 const scalar dTarget0,
150 const vector& angularMomentum0,
153 const constantProperties& constProps
183 template<
class ParcelType>
187 return pMin_.value();
191 template<
class ParcelType>
195 return constantVolume_.value();
199 template<
class ParcelType>
203 return volUpdateType_.value();
209 template<
class ParcelType>
216 template<
class ParcelType>
223 template<
class ParcelType>
230 template<
class ParcelType>
238 template<
class ParcelType>
246 template<
class ParcelType>
253 template<
class ParcelType>
const scalarField & YSolid() const
A class for handling words, derived from Foam::string.
const volScalarField & cp
const scalarField & Y() const
Mesh consisting of general polyhedral cells.
const scalarField & YLiquid() const
Generic templated field type.
PtrList< coordinateSystem > coordinates(solidRegions.size())
label volUpdateType() const
const scalarField & YGas() const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
ReactingParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
void setValue(const Type &value)
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool constantVolume() const
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
#define FatalIOErrorInFunction(ios)
Barycentric< scalar > barycentric
A scalar version of the templated Barycentric.
scalarList Y0(nSpecie, Zero)