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")),
60 inline Foam::scalar Foam::JanevReactionRate::operator()
69 if (
mag(beta_) > VSMALL)
76 if (
mag(Ta_) > VSMALL)
83 for (
int n=0;
n<nb_;
n++)
85 expArg += b_[
n]*
pow(lnT,
n);
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
Janev, Langer, Evans and Post reaction rate.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dimensionedScalar log(const dimensionedScalar &ds)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
virtual Ostream & writeKeyword(const keyType &kw)
Write the keyword followed by an appropriate indentation.
JanevReactionRate(const scalar A, const scalar beta, const scalar Ta, const FixedList< scalar, nb_ > b)
Construct from components.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &os) const
Write to stream.