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)))));
dimensionedScalar Pr("Pr", dimless, laminarTransport)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void write(Ostream &os) const
Write to stream.
dimensionedScalar log10(const dimensionedScalar &ds)
dimensionedScalar exp(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
The Troe fall-off function.
TroeFallOffFunction(const scalar alpha, const scalar Tsss, const scalar Ts, const scalar Tss)
Construct from components.
stressControl lookup("compactNormalStress") >> compactNormalStress
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const dimensionedScalar c
Speed of light in a vacuum.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Istream & readEnd(const char *funcName)