75 scalar a_, b_, c_, d_, e_;
103 scalar
f(scalar, scalar
T)
const 105 return exp(a_ + b_/T + c_*
log(T) + d_*
pow(T, e_));
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Abstract base class for thermo-physical functions.
dimensionedScalar exp(const dimensionedScalar &ds)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
NSRDSfunc1(const scalar a, const scalar b, const scalar c, const scalar d, const scalar e)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeData(Ostream &os) const
Write the function coefficients.
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 doubleScalar e
Elementary charge.
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
friend Ostream & operator<<(Ostream &os, const NSRDSfunc1 &f)
NSRDS function number 101.
TypeName("NSRDSfunc1")
Runtime type information.