Go to the documentation of this file.
87 #ifndef logPolynomialTransport_H
88 #define logPolynomialTransport_H
99 template<
class Thermo,
int PolySize>
class logPolynomialTransport;
101 template<
class Thermo,
int PolySize>
102 inline logPolynomialTransport<Thermo, PolySize>
operator+
104 const logPolynomialTransport<Thermo, PolySize>&,
105 const logPolynomialTransport<Thermo, PolySize>&
108 template<
class Thermo,
int PolySize>
115 template<
class Thermo,
int PolySize>
127 template<
class Thermo,
int PolySize=8>
146 inline static word coeffsName(
const char*
name)
148 return word(
name + (
"LogCoeffs<" + std::to_string(PolySize) +
'>'));
192 return "logPolynomial<" + Thermo::typeName() +
'>';
196 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
199 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
202 inline scalar
alphah(
const scalar
p,
const scalar
T)
const;
235 friend Ostream& operator<< <Thermo, PolySize>
A class for handling words, derived from Foam::string.
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
void operator+=(const logPolynomialTransport &)
void operator*=(const scalar)
void write(Ostream &os) const
Write to Ostream.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
autoPtr< logPolynomialTransport > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
static word typeName()
Return the instantiated type name.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Polynomial templated on size (order):
Transport package using polynomial functions of ln(T) for mu and kappa:
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].
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static autoPtr< logPolynomialTransport > New(const dictionary &dict)