71 #ifndef polynomialTransport_H 72 #define polynomialTransport_H 83 template<
class Thermo,
int PolySize>
class polynomialTransport;
85 template<
class Thermo,
int PolySize>
86 inline polynomialTransport<Thermo, PolySize>
operator+
88 const polynomialTransport<Thermo, PolySize>&,
89 const polynomialTransport<Thermo, PolySize>&
92 template<
class Thermo,
int PolySize>
93 inline polynomialTransport<Thermo, PolySize>
operator*
96 const polynomialTransport<Thermo, PolySize>&
99 template<
class Thermo,
int PolySize>
103 const polynomialTransport<Thermo, PolySize>&
111 template<
class Thermo,
int PolySize=8>
158 return "polynomial<" + Thermo::typeName() +
'>';
162 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
165 inline scalar
kappa(
const scalar p,
const scalar T)
const;
168 void write(Ostream& os)
const;
182 const polynomialTransport&
185 friend polynomialTransport
operator* <Thermo, PolySize>
188 const polynomialTransport&
194 friend Ostream& operator<< <Thermo, PolySize>
197 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 of temperature for the dynamic viscosity and thermal con...