66 #ifndef polynomialTransport_H 67 #define polynomialTransport_H 78 template<
class Thermo,
int PolySize>
class polynomialTransport;
80 template<
class Thermo,
int PolySize>
81 inline polynomialTransport<Thermo, PolySize>
operator+
83 const polynomialTransport<Thermo, PolySize>&,
84 const polynomialTransport<Thermo, PolySize>&
87 template<
class Thermo,
int PolySize>
88 inline polynomialTransport<Thermo, PolySize>
operator*
91 const polynomialTransport<Thermo, PolySize>&
94 template<
class Thermo,
int PolySize>
98 const polynomialTransport<Thermo, PolySize>&
106 template<
class Thermo,
int PolySize=8>
153 return "polynomial<" + Thermo::typeName() +
'>';
157 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
160 inline scalar
kappa(
const scalar p,
const scalar T)
const;
163 void write(Ostream& os)
const;
177 const polynomialTransport&
180 friend polynomialTransport
operator* <Thermo, PolySize>
183 const polynomialTransport&
189 friend Ostream& operator<< <Thermo, PolySize>
192 const polynomialTransport&
static word typeName()
Return the instantiated type name.
autoPtr< polynomialTransport > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void operator+=(const polynomialTransport &)
void operator*=(const scalar)
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static autoPtr< polynomialTransport > New(const dictionary &dict)
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
void write(Ostream &os) const
Write to Ostream.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Polynomial templated on size (order):
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].
Transport package using polynomial functions for mu and kappa.