81 #ifndef logPolynomialTransport_H 82 #define logPolynomialTransport_H 93 template<
class Thermo,
int PolySize>
class logPolynomialTransport;
95 template<
class Thermo,
int PolySize>
96 inline logPolynomialTransport<Thermo, PolySize>
operator+
98 const logPolynomialTransport<Thermo, PolySize>&,
99 const logPolynomialTransport<Thermo, PolySize>&
102 template<
class Thermo,
int PolySize>
103 inline logPolynomialTransport<Thermo, PolySize>
operator*
106 const logPolynomialTransport<Thermo, PolySize>&
109 template<
class Thermo,
int PolySize>
113 const logPolynomialTransport<Thermo, PolySize>&
121 template<
class Thermo,
int PolySize=8>
177 return "logPolynomial<" + Thermo::typeName() +
'>';
181 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
184 inline scalar
kappa(
const scalar p,
const scalar T)
const;
187 inline scalar
alphah(
const scalar p,
const scalar T)
const;
193 void write(Ostream& os)
const;
210 const logPolynomialTransport&
213 friend logPolynomialTransport
operator* <Thermo, PolySize>
216 const logPolynomialTransport&
222 friend Ostream& operator<< <Thermo, PolySize>
225 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...
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
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/mK].
void operator=(const logPolynomialTransport &)