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*
85 const sutherlandTransport<Thermo>&
88 template<
class Thermo>
92 const sutherlandTransport<Thermo>&
100 template<
class Thermo>
115 inline void calcCoeffs
117 const scalar mu1,
const scalar T1,
118 const scalar mu2,
const scalar T2
141 const scalar mu1,
const scalar T1,
142 const scalar mu2,
const scalar T2
166 return "sutherland<" + Thermo::typeName() +
'>';
170 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
173 inline scalar
kappa(
const scalar p,
const scalar T)
const;
176 void write(Ostream& os)
const;
190 const sutherlandTransport&
193 friend sutherlandTransport
operator* <Thermo>
196 const sutherlandTransport&
202 friend Ostream& operator<< <Thermo>
205 const sutherlandTransport&
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
void operator+=(const sutherlandTransport &)
static word typeName()
Return the instantiated type name.
A class for handling words, derived from string.
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Construct from components.
autoPtr< sutherlandTransport > clone() const
Construct and return a clone.
static autoPtr< sutherlandTransport > New(const dictionary &dict)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator*=(const scalar)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].
void write(Ostream &os) const
Write to Ostream.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Transport package using Sutherland's formula for viscosity: