Go to the documentation of this file.
51 A_(
dict.get<scalar>(
"A")),
52 beta_(
dict.get<scalar>(
"beta")),
53 Ta_(
dict.get<scalar>(
"Ta")),
54 coeffs_(
dict.lookup(
"coeffs"))
60 inline Foam::scalar Foam::powerSeriesReactionRate::operator()
69 if (
mag(beta_) > VSMALL)
78 expArg += coeffs_[
n]/
pow(
T,
n + 1);
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
void write(Ostream &os) const
Write to stream.
dimensionedScalar exp(const dimensionedScalar &ds)
#define forAll(list, i)
Loop across all elements in list.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
powerSeriesReactionRate(const scalar A, const scalar beta, const scalar Ta, const FixedList< scalar, nCoeff_ > coeffs)
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
Power series reaction rate.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...