72 #ifndef polynomialTransport_H 73 #define polynomialTransport_H 84 template<
class Thermo,
int PolySize>
class polynomialTransport;
86 template<
class Thermo,
int PolySize>
87 inline polynomialTransport<Thermo, PolySize>
operator+
89 const polynomialTransport<Thermo, PolySize>&,
90 const polynomialTransport<Thermo, PolySize>&
93 template<
class Thermo,
int PolySize>
94 inline polynomialTransport<Thermo, PolySize>
operator*
97 const polynomialTransport<Thermo, PolySize>&
100 template<
class Thermo,
int PolySize>
104 const polynomialTransport<Thermo, PolySize>&
112 template<
class Thermo,
int PolySize=8>
159 return "polynomial<" + Thermo::typeName() +
'>';
163 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
166 inline scalar
kappa(
const scalar p,
const scalar T)
const;
169 inline scalar
alphah(
const scalar p,
const scalar T)
const;
175 void write(Ostream& os)
const;
192 const polynomialTransport&
195 friend polynomialTransport
operator* <Thermo, PolySize>
198 const polynomialTransport&
204 friend Ostream& operator<< <Thermo, PolySize>
207 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 &)
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
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/mK].
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/ms].
Transport package using polynomial functions for mu and kappa.
void operator=(const polynomialTransport &)