75 scalar a_, b_, c_, d_;
105 scalar
f(scalar, scalar
T)
const 107 return a_*
pow(T, b_)/(1.0 + c_/T + d_/
sqr(T));
A list of keyword definitions, which are a keyword followed by any number of values (e...
NSRDS function number 102.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
friend Ostream & operator<<(Ostream &os, const NSRDSfunc2 &f)
Abstract base class for thermo-physical functions.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
NSRDSfunc2(const scalar a, const scalar b, const scalar c, const scalar d)
Construct from components.
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
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)
TypeName("NSRDSfunc2")
Runtime type information.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionedScalar c
Speed of light in a vacuum.
void writeData(Ostream &os) const
Write the function coefficients.