Go to the documentation of this file.
67 #ifndef polynomialSolidTransport_H
68 #define polynomialSolidTransport_H
79 template<
class Thermo,
int PolySize>
class polynomialSolidTransport;
81 template<
class Thermo,
int PolySize>
82 inline polynomialSolidTransport<Thermo, PolySize>
operator+
88 template<
class Thermo,
int PolySize>
95 template<
class Thermo,
int PolySize>
107 template<
class Thermo,
int PolySize=8>
122 inline static word coeffsName(
const char*
name)
124 return word(
name + (
"Coeffs<" + std::to_string(PolySize) +
'>'));
167 return "polynomial<" + Thermo::typeName() +
'>';
174 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
177 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
183 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].
A class for handling words, derived from Foam::string.
autoPtr< polynomialSolidTransport > clone() const
Construct and return a clone.
void write(Ostream &os) const
Write to Ostream.
vector Kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
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 a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
void operator*=(const scalar)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Polynomial templated on size (order):
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
static autoPtr< polynomialSolidTransport > New(const dictionary &dict)
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].