Go to the documentation of this file.
45 alpha_(
readScalar(is.readBegin(
"TroeFallOffFunction(Istream&)"))),
50 is.
readEnd(
"TroeFallOffFunction(Istream&)");
65 inline Foam::scalar Foam::TroeFallOffFunction::operator()
71 scalar logFcent =
log10
75 (1 - alpha_)*
exp(-
T/Tsss_) + alpha_*
exp(-
T/Ts_) +
exp(-Tss_/
T),
80 scalar
c = -0.4 - 0.67*logFcent;
81 static const scalar d = 0.14;
82 scalar
n = 0.75 - 1.27*logFcent;
85 return pow(10.0, logFcent/(1.0 +
sqr((logPr +
c)/(
n - d*(logPr +
c)))));
Istream & readEnd(const char *funcName)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
dimensionedScalar exp(const dimensionedScalar &ds)
The Troe fall-off function.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
TroeFallOffFunction(const scalar alpha, const scalar Tsss, const scalar Ts, const scalar Tss)
Construct from components.
dimensionedScalar log10(const dimensionedScalar &ds)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar Pr("Pr", dimless, laminarTransport)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by any number of values (e....
void write(Ostream &os) const
Write to stream.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
const dimensionedScalar c
Speed of light in a vacuum.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
stressControl lookup("compactNormalStress") >> compactNormalStress