62 #ifndef sutherlandTransport_H
63 #define sutherlandTransport_H
72 template<
class Thermo>
class sutherlandTransport;
74 template<
class Thermo>
75 inline sutherlandTransport<Thermo>
operator+
77 const sutherlandTransport<Thermo>&,
78 const sutherlandTransport<Thermo>&
81 template<
class Thermo>
82 inline sutherlandTransport<Thermo>
operator*
88 template<
class Thermo>
100 template<
class Thermo>
115 inline void calcCoeffs
167 return "sutherland<" + Thermo::typeName() +
'>';
171 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
174 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
203 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...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Transport package using Sutherland's formula for viscosity:
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
static word typeName()
Return the instantiated type name.
void write(Ostream &os) const
Write to Ostream.
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Construct from components.
autoPtr< sutherlandTransport > clone() const
Construct and return a clone.
void operator+=(const sutherlandTransport &)
void operator*=(const scalar)
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)