51 A_(dict.
lookup<scalar>(
"A")),
52 beta_(dict.
lookup<scalar>(
"beta")),
53 Ta_(dict.
lookup<scalar>(
"Ta")),
54 B_(dict.
lookup<scalar>(
"B")),
55 C_(dict.
lookup<scalar>(
"C"))
61 inline Foam::scalar Foam::LandauTellerReactionRate::operator()
71 if (
mag(beta_) > vSmall)
78 if (
mag(Ta_) > vSmall)
90 expArg += C_/
pow(T, 2.0/3.0);
93 if (
mag(expArg) > vSmall)
112 if (
mag(beta_) > vSmall)
114 lta *=
pow(T, beta_);
120 if (
mag(Ta_) > vSmall)
127 if (
mag(B_) > vSmall)
129 scalar BT = B_/
cbrt(T);
134 if (
mag(C_) > vSmall)
136 scalar CT = C_/
pow(T, 2.0/3.0);
141 if (
mag(expArg) > vSmall)
146 return lta*(beta_+deriv)/T;
153 return NullObjectRef<List<Tuple2<label, scalar>>>();
161 const scalarField& c,
172 const scalarField& c,
LandauTellerReactionRate(const scalar A, const scalar beta, const scalar Ta, const scalar B, const scalar C)
Construct from components.
virtual Ostream & write(const char)=0
Write character.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void dcidc(const scalar p, const scalar T, const scalarField &c, const label li, scalarField &dcidc) const
Species concentration derivative of the pressure dependent term.
scalar dcidT(const scalar p, const scalar T, const scalarField &c, const label li) const
Temperature derivative of the pressure dependent term.
const List< Tuple2< label, scalar > > & beta() const
Third-body efficiencies (beta = 1-alpha)
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar cbrt(const dimensionedScalar &ds)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
void write(Ostream &os) const
Write to stream.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Landau-Teller reaction rate.
A wordList with hashed indices for faster lookup by name.
scalar ddT(const scalar p, const scalar T, const scalarField &c, const label li) const
dimensioned< scalar > mag(const dimensioned< Type > &)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.