54 #ifndef NSRDS7ThermophysicalFunction_H 55 #define NSRDS7ThermophysicalFunction_H 63 namespace thermophysicalFunctions
77 scalar a_, b_, c_, d_, e_;
105 scalar
f(scalar, scalar
T)
const 107 return a_ + b_*
sqr((c_/T)/
sinh(c_/T)) + d_*
sqr((e_/T)/
cosh(e_/T));
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
NSRDS-AICHE function number 107.
const dimensionedScalar & c
Speed of light in a vacuum.
scalar f(scalar, scalar T) const
Evaluate the function and return the result.
Abstract base class for thermo-physical functions.
const dimensionedScalar & b
Wien displacement law constant: default SI units: [m K].
virtual void write(Ostream &os) const =0
Write the function coefficients.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &os) const
Write the function coefficients.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar sinh(const dimensionedScalar &ds)
const doubleScalar e
Elementary charge.
dimensionedScalar cosh(const dimensionedScalar &ds)
NSRDS7(const scalar a, const scalar b, const scalar c, const scalar d, const scalar e)
Construct from components.
TypeName("NSRDS7")
Runtime type information.