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