Go to the documentation of this file.
46 for (
int i=0; i<n_; i++)
57 const dictionary&
dict
65 FixedList<Tuple2<scalar, scalar>, n_> coeffs(
dict.lookup(
"coeffs"));
69 A_[i] = coeffs[i].first();
70 Ta_[i] = coeffs[i].second();
77 inline Foam::scalar Foam::LangmuirHinshelwoodReactionRate::operator()
84 return A_[0]*
exp(-Ta_[0]/
T)/
89 *(1 + A_[4]*
exp(-Ta_[4]/
T)*
pow(
c[no_], 0.7))
100 coeffs[i].
first() = A_[i];
101 coeffs[i].second() = Ta_[i];
111 const LangmuirHinshelwoodReactionRate& lhrr
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
dimensionedScalar exp(const dimensionedScalar &ds)
Generic templated field type.
LangmuirHinshelwoodReactionRate(const scalar A[], const scalar Ta[], const label co, const label c3h6, const label no)
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
hashedWordList speciesTable
A table of species as a hashedWordList.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual bool write(const token &tok)=0
virtual Ostream & writeKeyword(const keyType &kw)
Power series reaction rate.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
void write(Ostream &os) const
A 1D vector of objects of type <T> with a fixed length <N>.
const dimensionedScalar c
An Ostream is an abstract base class for all output systems (streams, files, token lists,...