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)))
NSRDS function number 114.
friend Ostream & operator<<(Ostream &os, const NSRDSfunc14 &f)
NSRDSfunc14(const scalar Tc, 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.
void writeData(Ostream &os) const
Write the function coefficients.
TypeName("NSRDSfunc14")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
thermophysicalFunction()
Construct null.
OBJstream os(runTime.globalPath()/outputName)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.