67 #ifndef polynomialSolidTransport_H 68 #define polynomialSolidTransport_H 79 template<
class Thermo,
int PolySize>
class polynomialSolidTransport;
81 template<
class Thermo,
int PolySize>
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>
void operator*=(const scalar)
void operator+=(const polynomialSolidTransport &)
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An isotropic regularisationRadius (same in all spatial directions)
Transport package using polynomial functions for solid kappa.
autoPtr< polynomialSolidTransport > clone() const
Construct and return a clone.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
vector Kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Polynomial templated on size (order):
static word typeName()
Return the instantiated type name.
static autoPtr< polynomialSolidTransport > New(const dictionary &dict)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
void write(Ostream &os) const
Write to Ostream.