33 template<
class CompType,
class Sol
idThermo>
41 template<
class CompType,
class Sol
idThermo>
49 template<
class CompType,
class Sol
idThermo>
58 template<
class CompType,
class Sol
idThermo>
69 template<
class CompType,
class Sol
idThermo>
76 IOobject::NO_REGISTER,
80 auto& RRs = tRRs.ref();
84 for (label i=0; i < nSolids_; i++)
93 template<
class CompType,
class Sol
idThermo>
100 IOobject::NO_REGISTER,
104 auto& RRs = tRRsHs.ref();
106 if (this->chemistry_)
111 for (label i=0; i < nSolids_; i++)
116 RRs_[i][cellI]*solidThermo_[i].Hs(
p[cellI],
T[cellI]);
PtrList< volScalarField::Internal > & RRs()
Write access to source terms for solids.
const PtrList< Reaction< SolidThermo > > & reactions() const
The reactions.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
#define forAll(list, i)
Loop across all elements in list.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimVolume(pow3(dimLength))
const dimensionSet dimEnergy
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
tmp< DimensionedField< scalar, volMesh > > RRsHs() const
Return net solid sensible enthalpy.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
label nReaction() const
The number of reactions.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)