Go to the documentation of this file.
47 alpha_(
dict.
get<scalar>(
"alpha")),
48 Tsss_(
dict.
get<scalar>(
"Tsss")),
56 inline Foam::scalar Foam::TroeFallOffFunction::operator()
62 scalar logFcent =
log10
66 (1 - alpha_)*
exp(-
T/Tsss_) + alpha_*
exp(-
T/Ts_) +
exp(-Tss_/
T),
71 scalar
c = -0.4 - 0.67*logFcent;
72 static const scalar d = 0.14;
73 scalar
n = 0.75 - 1.27*logFcent;
76 return pow(10.0, logFcent/(1.0 +
sqr((logPr +
c)/(
n - d*(logPr +
c)))));
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
dimensionedScalar exp(const dimensionedScalar &ds)
The Troe fall-off function.
TroeFallOffFunction(const scalar alpha, const scalar Tsss, const scalar Ts, const scalar Tss)
Construct from components.
dimensionedScalar log10(const dimensionedScalar &ds)
dimensionedScalar Pr("Pr", dimless, laminarTransport)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
void write(Ostream &os) const
Write to stream.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
const dimensionedScalar c
Speed of light in a vacuum.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...