51 A_(
dict.get<scalar>(
"A")),
52 beta_(
dict.get<scalar>(
"beta")),
53 Ta_(
dict.get<scalar>(
"Ta")),
60inline 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);
96 os.writeKeyword(
"A") << A_ <<
nl;
97 os.writeKeyword(
"beta") << beta_ <<
nl;
98 os.writeKeyword(
"Ta") << Ta_ <<
nl;
99 os.writeKeyword(
"b") << b_ <<
nl;
106 const JanevReactionRate& jrr
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
A 1D vector of objects of type <T> with a fixed length <N>.
Janev, Langer, Evans and Post reaction rate.
void write(Ostream &os) const
Write to stream.
JanevReactionRate(const scalar A, const scalar beta, const scalar Ta, const FixedList< scalar, nb_ > b)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Lookup type of boundary radiation properties.
OBJstream os(runTime.globalPath()/outputName)
dimensionedScalar exp(const dimensionedScalar &ds)
hashedWordList speciesTable
A table of species as a hashedWordList.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar log(const dimensionedScalar &ds)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
constexpr char nl
The newline '\n' character (0x0a).
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)