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>
92 os.beginBlock(
"kInf");
100 os.beginBlock(
"thirdBodyEfficiencies");
101 thirdBodyEfficiencies_.write(
os);
106 template<
class ReactionRate,
class FallOffFunction>
friend Ostream & operator(Ostream &, const FallOffReactionRate< ReactionRate, FallOffFunction > &)
volVectorField F(fluid.F())
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)
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
Write token to stream or otherwise handle it.
const dimensionedScalar c
Speed of light in a vacuum.
FallOffReactionRate(const ReactionRate &k0, const ReactionRate &kInf, const FallOffFunction &F, const thirdBodyEfficiencies &tbes)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &os) const
Write to stream.