Go to the documentation of this file.
44 #ifndef sutherlandTransport_H
45 #define sutherlandTransport_H
56 template<
class Thermo>
63 template<
class Thermo>
70 template<
class Thermo>
77 template<
class Thermo>
84 template<
class Thermo>
96 template<
class Thermo>
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;
227 friend Ostream& operator<< <Thermo>
A class for handling words, derived from string.
sutherlandTransport & operator=(const sutherlandTransport &)
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
static word typeName()
Return the instantiated type name.
void write(Ostream &os) const
Write to Ostream.
void operator-=(const sutherlandTransport &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
autoPtr< sutherlandTransport > clone() const
Construct and return a clone.
Transport package using Sutherland's formula.
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar readCoeff(const word &coeffName, const dictionary &dict)
Read coefficient from dictionary.
void calcCoeffs(const scalar mu1, const scalar T1, const scalar mu2, const scalar T2)
Calculate the Sutherland coefficients.
static autoPtr< sutherlandTransport > New(Istream &is)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void operator+=(const sutherlandTransport &)
void operator*=(const scalar)
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...