52 #ifndef constTransport_H
53 #define constTransport_H
62 template<
class Thermo>
class constTransport;
64 template<
class Thermo>
65 inline constTransport<Thermo>
operator+
67 const constTransport<Thermo>&,
68 const constTransport<Thermo>&
71 template<
class Thermo>
72 inline constTransport<Thermo>
operator*
78 template<
class Thermo>
90 template<
class Thermo>
139 return "const<" + Thermo::typeName() +
'>';
143 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
146 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
175 friend Ostream& operator<< <Thermo>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Transport package with constant properties.
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].
void operator+=(const constTransport &)
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
static word typeName()
Return the instantiated type name.
autoPtr< constTransport > clone() const
Construct and return a clone.
void write(Ostream &os) const
Write to Ostream.
constTransport(const Thermo &t, const scalar mu, const bool constPr, const scalar rPr, const scalar kappa)
Construct from components.
void operator*=(const scalar)
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
word name(const bool)
Return a word representation of a bool.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)