30template<
class ReactionRate,
class FallOffFunction>
34 const ReactionRate& k0,
35 const ReactionRate& kInf,
36 const FallOffFunction&
F,
43 thirdBodyEfficiencies_(tbes)
47template<
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"))
64template<
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);
82template<
class ReactionRate,
class FallOffFunction>
101 thirdBodyEfficiencies_.
write(
os);
106template<
class ReactionRate,
class FallOffFunction>
General class for handling unimolecular/recombination fall-off reactions.
friend Ostream & operator(Ostream &, const FallOffReactionRate< ReactionRate, FallOffFunction > &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & endBlock()
Write end block group.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
OBJstream os(runTime.globalPath()/outputName)
volVectorField F(fluid.F())
dimensionedScalar Pr("Pr", dimless, laminarTransport)