62 /constant::physicoChemical::
RR.value()
79 inline Foam::scalar Foam::LandauTellerReactionRate::operator()
89 if (
mag(beta_) > vSmall)
96 if (
mag(Ta_) > vSmall)
101 if (
mag(B_) > vSmall)
103 expArg += B_/
cbrt(
T);
106 if (
mag(C_) > vSmall)
111 if (
mag(expArg) > vSmall)
130 if (
mag(beta_) > vSmall)
132 lta *=
pow(
T, beta_);
138 if (
mag(Ta_) > vSmall)
145 if (
mag(B_) > vSmall)
147 scalar BT = B_/
cbrt(
T);
152 if (
mag(C_) > vSmall)
159 if (
mag(expArg) > vSmall)
164 return lta*(beta_ + deriv)/
T;
Graphite solid properties.
Landau-Teller reaction rate.
void preEvaluate() const
Pre-evaluation hook.
void postEvaluate() const
Post-evaluation hook.
void write(Ostream &os) const
Write to stream.
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.
LandauTellerReactionRate(const scalar A, const scalar beta, const scalar Ta, const scalar B, const scalar C)
Construct from components.
scalar ddT(const scalar p, const scalar T, const scalarField &c, const label li) const
The derivative of the rate w.r.t. temperature.
bool hasDdc() const
Is the rate a function of concentration?
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & write(const char)=0
Write character.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Dimension set for the base types.
A wordList with hashed indices for faster lookup by name.
const dimensionedScalar RR
Universal gas constant: default SI units: [J/kmol/K].
const dimensionedScalar c
Speed of light in a vacuum.
static const coefficient B("B", dimless, 18.678)
static const coefficient A("A", dimPressure, 611.21)
dimensionedScalar exp(const dimensionedScalar &ds)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimEnergy
const dimensionSet dimless
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimTemperature
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimMoles
void cbrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)