71 #ifndef polynomialTransport_H
72 #define polynomialTransport_H
83 template<
class Thermo,
int PolySize>
class polynomialTransport;
85 template<
class Thermo,
int PolySize>
86 inline polynomialTransport<Thermo, PolySize>
operator+
88 const polynomialTransport<Thermo, PolySize>&,
89 const polynomialTransport<Thermo, PolySize>&
92 template<
class Thermo,
int PolySize>
93 inline polynomialTransport<Thermo, PolySize>
operator*
99 template<
class Thermo,
int PolySize>
111 template<
class Thermo,
int PolySize=8>
152 return "polynomial<" + Thermo::typeName() +
'>';
156 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
159 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
188 friend Ostream& operator<< <Thermo, PolySize>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Polynomial templated on size (order):
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Transport package using polynomial functions of temperature for the dynamic viscosity and thermal con...
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/m/s].
polynomialTransport(const Thermo &t, const Polynomial< PolySize > &muPoly, const Polynomial< PolySize > &kappaPoly)
Construct from components.
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.
autoPtr< polynomialTransport > clone() const
Construct and return a clone.
void operator+=(const polynomialTransport &)
void operator*=(const scalar)
A class for handling words, derived from string.
void T(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.