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*
75 const constTransport<Thermo>&
78 template<
class Thermo>
82 const constTransport<Thermo>&
90 template<
class Thermo>
145 return "const<" + Thermo::typeName() +
'>';
149 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
152 inline scalar
kappa(
const scalar p,
const scalar T)
const;
155 void write(Ostream& os)
const;
169 const constTransport&
172 friend constTransport
operator* <Thermo>
175 const constTransport&
181 friend Ostream& operator<< <Thermo>
184 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...
Transport package with constant properties.
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].