54 #ifndef NSRDS14ThermophysicalFunction_H 55 #define NSRDS14ThermophysicalFunction_H 63 namespace thermophysicalFunctions
77 scalar Tc_, a_, b_, c_, d_;
105 scalar
f(scalar, scalar
T)
const 107 scalar Tdash =
min(T, Tc_ - rootVSmall);
109 scalar t = 1.0 - Tdash/Tc_;
111 a_*a_/(t + rootVSmall) + b_ - t
114 + t*(a_*d_ + t*(c_*c_/3.0 + t*(0.5*c_*d_ + 0.2*d_*d_*t)))
NSRDS14(const scalar Tc, const scalar a, const scalar b, const scalar c, const scalar d)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dimensionedScalar & c
Speed of light in a vacuum.
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
Write the function coefficients.
virtual void write(Ostream &os) const =0
Write the function coefficients.
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)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
TypeName("NSRDS14")
Runtime type information.
NSRDS function number 114.