52 coeffs_(dict.
lookup(
"coeffs"))
58 inline Foam::scalar Foam::powerSeriesReactionRate::operator()
67 if (
mag(beta_) > vSmall)
76 expArg += coeffs_[
n]/
pow(T,
n + 1);
94 if (
mag(beta_) > vSmall)
104 scalar cT = coeffs_[
n]/
pow(T,
n + 1);
111 return lta*(beta_+deriv)/T;
118 return NullObjectRef<List<Tuple2<label, scalar>>>();
#define forAll(list, i)
Loop across all elements in list.
const List< Tuple2< label, scalar > > & beta() const
Third-body efficiencies (beta = 1-alpha)
void write(Ostream &os) const
Write to stream.
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...
dimensionedScalar exp(const dimensionedScalar &ds)
powerSeriesReactionRate(const scalar A, const scalar beta, const scalar Ta, const FixedList< scalar, nCoeff_ > coeffs)
Construct from components.
Power series reaction rate.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A wordList with hashed indices for faster lookup by name.
dimensioned< scalar > mag(const dimensioned< Type > &)
scalar dcidT(const scalar p, const scalar T, const scalarField &c) const
Temperature derivative of the pressure dependent term.
virtual Ostream & write(const token &)=0
Write next token to stream.
scalar ddT(const scalar p, const scalar T, const scalarField &c) const
void dcidc(const scalar p, const scalar T, const scalarField &c, scalarField &dcidc) const
Species concentration derivative of the pressure dependent term.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.