38 #ifndef constTransport_H 39 #define constTransport_H 50 template<
class Thermo>
54 const constTransport<Thermo>&
57 template<
class Thermo>
58 inline constTransport<Thermo>
operator*
61 const constTransport<Thermo>&
64 template<
class Thermo>
68 const constTransport<Thermo>&
76 template<
class Thermo>
123 return "const<" + Thermo::typeName() +
'>';
127 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
130 inline scalar
kappa(
const scalar p,
const scalar T)
const;
133 inline scalar
alphah(
const scalar p,
const scalar T)
const;
139 void write(Ostream& os)
const;
156 const constTransport&
159 friend constTransport
operator* <Thermo>
162 const constTransport&
168 friend Ostream& operator<< <Thermo>
171 const constTransport&
dimensionedScalar Pr("Pr", dimless, laminarTransport)
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
A list of keyword definitions, which are a keyword followed by any number of values (e...
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
static word typeName()
Return the instantiated type name.
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
void write(Ostream &os) const
Write to Ostream.
A class for handling words, derived from string.
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 T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
void operator*=(const scalar)
void operator+=(const constTransport &)
void operator=(const constTransport &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< constTransport > New(const dictionary &dict)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].