Go to the documentation of this file.
38 #ifndef constTransport_H
39 #define constTransport_H
50 template<
class Thermo>
57 template<
class Thermo>
64 template<
class Thermo>
71 template<
class Thermo>
78 template<
class Thermo>
90 template<
class Thermo>
143 return "const<" + Thermo::typeName() +
'>';
147 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
150 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
153 inline scalar
alphah(
const scalar
p,
const scalar
T)
const;
202 friend Ostream& operator<< <Thermo>
void operator-=(const constTransport &)
A class for handling words, derived from string.
void operator+=(const constTransport &)
scalar rPr_
Reciprocal Prandtl Number [].
void write(Ostream &os) const
Write to Ostream.
static autoPtr< constTransport > New(Istream &is)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static word typeName()
Return the instantiated type name.
scalar mu_
Constant dynamic viscosity [Pa.s].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
dimensionedScalar Pr("Pr", dimless, laminarTransport)
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
constTransport(const Thermo &t, const scalar mu, const scalar Pr)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
constTransport & operator=(const constTransport &)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
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 operator*=(const scalar)