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"))
69 inline Foam::scalar Foam::LandauTellerReactionRate::operator()
79 if (
mag(beta_) > vSmall)
86 if (
mag(Ta_) > vSmall)
98 expArg += C_/
pow(T, 2.0/3.0);
101 if (
mag(expArg) > vSmall)
120 if (
mag(beta_) > vSmall)
122 lta *=
pow(T, beta_);
128 if (
mag(Ta_) > vSmall)
135 if (
mag(B_) > vSmall)
137 scalar BT = B_/
cbrt(T);
142 if (
mag(C_) > vSmall)
144 scalar CT = C_/
pow(T, 2.0/3.0);
149 if (
mag(expArg) > vSmall)
154 return lta*(beta_+deriv)/T;
168 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.
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool hasDdc() const
Is the rate a function of concentration?
A list of keyword definitions, which are a keyword followed by any number of values (e...
void postEvaluate() const
Post-evaluation hook.
void ddc(const scalar p, const scalar T, const scalarField &c, const label li, scalarField &ddc) const
The derivative of the rate w.r.t. concentration.
void preEvaluate() const
Pre-evaluation hook.
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 T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
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
The derivative of the rate w.r.t. temperature.
dimensioned< scalar > mag(const dimensioned< Type > &)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.