73 #ifndef WLFTransport_H
74 #define WLFTransport_H
83 template<
class Thermo>
class WLFTransport;
85 template<
class Thermo>
86 inline WLFTransport<Thermo>
operator+
88 const WLFTransport<Thermo>&,
89 const WLFTransport<Thermo>&
92 template<
class Thermo>
93 inline WLFTransport<Thermo>
operator*
96 const WLFTransport<Thermo>&
99 template<
class Thermo>
111 template<
class Thermo>
170 return "WLF<" + Thermo::typeName() +
'>';
174 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
177 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
206 friend Ostream& operator<< <Thermo>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Transport package using the Williams-Landel-Ferry model for viscosity of polymer melts:
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].
void operator+=(const WLFTransport &)
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
static word typeName()
Return the instantiated type name.
void write(Ostream &os) const
Write to Ostream.
WLFTransport(const Thermo &t, const scalar mu0, const scalar Tr, const scalar C1, const scalar C2, const scalar Pr)
Construct from components.
autoPtr< WLFTransport > clone() const
Construct and return a clone.
void operator*=(const scalar)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
const dimensionedScalar mu0
Magnetic constant/permeability of free space: default SI units: [H/m].
word name(const bool)
Return a word representation of a bool.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)