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
dimensionedScalar Pr("Pr", dimless, laminarTransport)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual Ostream & endBlock()
Write end block group.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
void write(Ostream &os) const
Write to stream.
volVectorField F(fluid.F())
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
FallOffReactionRate(const ReactionRate &k0, const ReactionRate &kInf, const FallOffFunction &F, const thirdBodyEfficiencies &tbes)
Construct from components.
friend Ostream & operator(Ostream &, const FallOffReactionRate< ReactionRate, FallOffFunction > &)
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
const dimensionedScalar c
Speed of light in a vacuum.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.