44 #ifndef sutherlandTransport_H 45 #define sutherlandTransport_H 56 template<
class Thermo>
60 const sutherlandTransport<Thermo>&
63 template<
class Thermo>
64 inline sutherlandTransport<Thermo>
operator-
66 const sutherlandTransport<Thermo>&,
67 const sutherlandTransport<Thermo>&
70 template<
class Thermo>
71 inline sutherlandTransport<Thermo>
operator*
74 const sutherlandTransport<Thermo>&
77 template<
class Thermo>
78 inline sutherlandTransport<Thermo>
operator==
80 const sutherlandTransport<Thermo>&,
81 const sutherlandTransport<Thermo>&
84 template<
class Thermo>
88 const sutherlandTransport<Thermo>&
96 template<
class Thermo>
111 inline void calcCoeffs
113 const scalar mu1,
const scalar T1,
114 const scalar mu2,
const scalar T2
137 const scalar mu1,
const scalar T1,
138 const scalar mu2,
const scalar T2
168 return "sutherland<" + Thermo::typeName() +
'>';
172 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
175 inline scalar
kappa(
const scalar p,
const scalar T)
const;
178 inline scalar
alphah(
const scalar p,
const scalar T)
const;
184 void write(Ostream& os)
const;
203 const sutherlandTransport&
206 friend sutherlandTransport
operator- <Thermo>
208 const sutherlandTransport&,
209 const sutherlandTransport&
212 friend sutherlandTransport
operator* <Thermo>
215 const sutherlandTransport&
218 friend sutherlandTransport
operator== <Thermo>
220 const sutherlandTransport&,
221 const sutherlandTransport&
227 friend Ostream& operator<< <Thermo>
230 const sutherlandTransport&
A list of keyword definitions, which are a keyword followed by any number of values (e...
void operator+=(const sutherlandTransport &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void write(Ostream &os) const
Write to Ostream.
static autoPtr< sutherlandTransport > New(Istream &is)
autoPtr< sutherlandTransport > clone() const
Construct and return a clone.
static word typeName()
Return the instantiated type name.
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
A class for handling words, derived from string.
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Construct from components.
void operator-=(const sutherlandTransport &)
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)
void operator=(const sutherlandTransport &)
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
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.