49 A_(dict.
lookup<scalar>(
"A")),
50 beta_(dict.
lookup<scalar>(
"beta")),
51 Ta_(dict.
lookup<scalar>(
"Ta")),
52 coeffs_(dict.
lookup(
"coeffs"))
58 inline Foam::scalar Foam::powerSeriesReactionRate::operator()
68 if (
mag(beta_) > vSmall)
77 expArg += coeffs_[
n]/
pow(T,
n + 1);
96 if (
mag(beta_) > vSmall)
106 scalar cT = coeffs_[
n]/
pow(T,
n + 1);
113 return lta*(beta_+deriv)/T;
120 return NullObjectRef<List<Tuple2<label, scalar>>>();
128 const scalarField& c,
139 const scalarField& c,
#define forAll(list, i)
Loop across all elements in list.
const List< Tuple2< label, scalar > > & beta() const
Third-body efficiencies (beta = 1-alpha)
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.
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...
scalar ddT(const scalar p, const scalar T, const scalarField &c, const label li) const
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...
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
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 label li) const
Temperature derivative of the pressure dependent term.
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.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.