38 #ifndef constTransport_H 39 #define constTransport_H 50 template<
class Thermo>
54 const constTransport<Thermo>&
57 template<
class Thermo>
58 inline constTransport<Thermo>
operator*
61 const constTransport<Thermo>&
64 template<
class Thermo>
68 const constTransport<Thermo>&
76 template<
class Thermo>
123 return "const<" + Thermo::typeName() +
'>';
127 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
130 inline scalar
kappa(
const scalar p,
const scalar T)
const;
133 void write(Ostream& os)
const;
147 const constTransport&
150 friend constTransport
operator* <Thermo>
153 const constTransport&
159 friend Ostream& operator<< <Thermo>
162 const constTransport&
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
A list of keyword definitions, which are a keyword followed by any number of values (e...
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
static word typeName()
Return the instantiated type name.
void write(Ostream &os) const
Write to Ostream.
A class for handling words, derived from string.
autoPtr< constTransport > clone() const
Construct and return a clone.
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)
void operator*=(const scalar)
void operator+=(const constTransport &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< constTransport > New(const dictionary &dict)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].