47 a_(dict.
lookup<scalar>(
"a")),
48 b_(dict.
lookup<scalar>(
"b")),
49 c_(dict.
lookup<scalar>(
"c")),
50 d_(dict.
lookup<scalar>(
"d")),
51 e_(dict.
lookup<scalar>(
"e"))
57 inline Foam::scalar Foam::SRIFallOffFunction::operator()
77 scalar dXdPr = -X*X*2*
log10(Pr)/Pr/
log(10.0);
83 *(a_*b_*
exp(-b_/T)/
sqr(T) -
exp(-T/c_)/c_)
84 /(a_*
exp(-b_/T) +
exp(-T/c_))
85 + dXdPr*dPrdT*
log(a_*
exp(-b_/T) +
exp(-T/c_))
99 scalar dXdPr = -X*X*2*
log10(Pr)/Pr/
log(10.0);
100 scalar dXdc = dXdPr*dPrdc;
101 return F*dXdc*
log(a_*
exp(-b_/T) +
exp(-T/c_));
virtual Ostream & write(const char)=0
Write character.
The SRI fall-off function.
dimensionedScalar log(const dimensionedScalar &ds)
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)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
scalar ddc(const scalar Pr, const scalar F, const scalar dPrdc, const scalar T) const
void write(Ostream &os) const
Write to stream.
const dimensionedScalar c
Speed of light in a vacuum.
stressControl lookup("compactNormalStress") >> compactNormalStress
SRIFallOffFunction(const scalar a, const scalar b, const scalar c, const scalar d, const scalar e)
Construct from components.
dimensionedScalar exp(const dimensionedScalar &ds)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
scalar ddT(const scalar Pr, const scalar F, const scalar dPrdT, const scalar T) const
dimensionedScalar log10(const dimensionedScalar &ds)
const dimensionedScalar e
Elementary charge.