30 template<
class ReactionRate,
class ChemicallyActivationFunction>
34 ChemicallyActivationFunction
37 const ReactionRate& k0,
38 const ReactionRate& kInf,
39 const ChemicallyActivationFunction&
F,
46 thirdBodyEfficiencies_(tbes)
50 template<
class ReactionRate,
class ChemicallyActivationFunction>
54 ChemicallyActivationFunction
64 thirdBodyEfficiencies_(species,
dict)
70 template<
class ReactionRate,
class ChemicallyActivationFunction>
74 ChemicallyActivationFunction
82 scalar k0 = k0_(
p,
T,
c);
83 scalar kInf = kInf_(
p,
T,
c);
85 scalar
Pr = k0*thirdBodyEfficiencies_.M(
c)/kInf;
87 return k0*(1/(1 +
Pr))*F_(
T,
Pr);
91 template<
class ReactionRate,
class ChemicallyActivationFunction>
95 ChemicallyActivationFunction
101 thirdBodyEfficiencies_.write(
os);
105 template<
class ReactionRate,
class ChemicallyActivationFunction>
110 <ReactionRate, ChemicallyActivationFunction>& carr
dimensionedScalar Pr("Pr", dimless, laminarTransport)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
volVectorField F(fluid.F())
General class for handling chemically-activated bimolecular reactions.
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)
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.