Go to the documentation of this file.
36 #ifndef polynomialSolidTransport_H
37 #define polynomialSolidTransport_H
50 template<
class Thermo,
int PolySize>
57 template<
class Thermo,
int PolySize>
64 template<
class Thermo,
int PolySize>
71 template<
class Thermo,
int PolySize>
78 template<
class Thermo,
int PolySize>
90 template<
class Thermo,
int PolySize=8>
150 return "polynomial<" + Thermo::typeName() +
'>';
157 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
160 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
166 inline scalar
alphah(
const scalar
p,
const scalar
T)
const;
213 friend Ostream& operator<< <Thermo, PolySize>
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
static autoPtr< polynomialSolidTransport > New(Istream &is)
A class for handling words, derived from string.
polynomialSolidTransport(const Thermo &t, const Polynomial< PolySize > &kappaPoly)
Construct from components.
autoPtr< polynomialSolidTransport > clone() const
Construct and return a clone.
void write(Ostream &os) const
Write to Ostream.
void operator-=(const polynomialSolidTransport &)
vector Kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Transport package using polynomial functions for solid kappa.
static word typeName()
Return the instantiated type name.
static const bool isotropic
Is the thermal conductivity isotropic.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Polynomial< PolySize > kappaCoeffs_
Thermal conductivity polynomial coefficients.
void operator*=(const scalar)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
void operator+=(const polynomialSolidTransport &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].