Go to the documentation of this file.
30 template<
class ReactionRate,
class FallOffFunction>
34 const ReactionRate& k0,
35 const ReactionRate& kInf,
36 const FallOffFunction&
F,
43 thirdBodyEfficiencies_(tbes)
47 template<
class ReactionRate,
class FallOffFunction>
55 k0_(species,
dict.subDict(
"k0")),
56 kInf_(species,
dict.subDict(
"kInf")),
57 F_(
dict.subDict(
"F")),
58 thirdBodyEfficiencies_(species,
dict.subDict(
"thirdBodyEfficiencies"))
64 template<
class ReactionRate,
class FallOffFunction>
73 const scalar k0 = k0_(
p,
T,
c);
74 const scalar kInf = kInf_(
p,
T,
c);
76 const scalar
Pr = k0*thirdBodyEfficiencies_.M(
c)/kInf;
78 return kInf*(
Pr/(1 +
Pr))*F_(
T,
Pr);
82 template<
class ReactionRate,
class FallOffFunction>
101 thirdBodyEfficiencies_.
write(
os);
106 template<
class ReactionRate,
class FallOffFunction>
110 const FallOffReactionRate<ReactionRate, FallOffFunction>& forr
friend Ostream & operator(Ostream &, const FallOffReactionRate< ReactionRate, FallOffFunction > &)
volVectorField F(fluid.F())
virtual Ostream & beginBlock(const keyType &kw)
Generic templated field type.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
General class for handling unimolecular/recombination fall-off reactions.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual Ostream & endBlock()
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual bool write(const token &tok)=0
const dimensionedScalar c
FallOffReactionRate(const ReactionRate &k0, const ReactionRate &kInf, const FallOffFunction &F, const thirdBodyEfficiencies &tbes)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &os) const