75 #ifndef logPolynomialTransport_H 76 #define logPolynomialTransport_H 87 template<
class Thermo,
int PolySize>
class logPolynomialTransport;
89 template<
class Thermo,
int PolySize>
90 inline logPolynomialTransport<Thermo, PolySize>
operator+
92 const logPolynomialTransport<Thermo, PolySize>&,
93 const logPolynomialTransport<Thermo, PolySize>&
96 template<
class Thermo,
int PolySize>
97 inline logPolynomialTransport<Thermo, PolySize>
operator*
100 const logPolynomialTransport<Thermo, PolySize>&
103 template<
class Thermo,
int PolySize>
107 const logPolynomialTransport<Thermo, PolySize>&
115 template<
class Thermo,
int PolySize=8>
169 return "logPolynomial<" + Thermo::typeName() +
'>';
173 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
176 inline scalar
kappa(
const scalar p,
const scalar T)
const;
179 void write(Ostream& os)
const;
193 const logPolynomialTransport&
196 friend logPolynomialTransport
operator* <Thermo, PolySize>
199 const logPolynomialTransport&
205 friend Ostream& operator<< <Thermo, PolySize>
208 const logPolynomialTransport&
autoPtr< logPolynomialTransport > clone() const
Construct and return a clone.
static autoPtr< logPolynomialTransport > New(const dictionary &dict)
A list of keyword definitions, which are a keyword followed by any number of values (e...
void operator+=(const logPolynomialTransport &)
A class for handling words, derived from string.
static word typeName()
Return the instantiated type name.
void operator*=(const scalar)
void write(Ostream &os) const
Write to Ostream.
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)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].
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...
Transport package using polynomial functions of ln(T) for mu and kappa:
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].