50#ifndef sutherlandTransport_H
51#define sutherlandTransport_H
103 inline void calcCoeffs
105 const scalar mu1,
const scalar T1,
106 const scalar mu2,
const scalar T2
132 const scalar mu1,
const scalar T1,
133 const scalar mu2,
const scalar T2
157 return "sutherland<" + Thermo::typeName() +
'>';
161 inline scalar
mu(
const scalar
p,
const scalar T)
const;
164 inline scalar
kappa(
const scalar
p,
const scalar T)
const;
167 inline scalar
alphah(
const scalar
p,
const scalar T)
const;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
friend Ostream & operator(Ostream &, const thermo &)
Transport package using Sutherland's formula.
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
static word typeName()
Return the instantiated type name.
static autoPtr< sutherlandTransport > New(const dictionary &dict)
sutherlandTransport(const Thermo &t, const dictionary &dict)
Construct from base thermo and dictionary.
sutherlandTransport(const word &, const sutherlandTransport &)
Construct as named copy.
void write(Ostream &os) const
Write to Ostream.
sutherlandTransport(const Thermo &t, const scalar mu1, const scalar T1, const scalar mu2, const scalar T2)
Construct from two viscosities.
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Construct from components.
autoPtr< sutherlandTransport > clone() const
Construct and return a clone.
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
sutherlandTransport(const dictionary &dict)
Construct from dictionary.
void operator+=(const sutherlandTransport &)
void operator*=(const scalar)
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)