55 #ifndef WLFTransport_H 56 #define WLFTransport_H 67 template<
class Thermo>
74 template<
class Thermo>
81 template<
class Thermo>
93 template<
class Thermo>
121 return dict.subDict(
"transport").get<scalar>(
key);
150 return "WLF<" + Thermo::typeName() +
'>';
154 inline scalar
mu(
const scalar
p,
const scalar
T)
const;
157 inline scalar
kappa(
const scalar
p,
const scalar
T)
const;
160 inline scalar
alphah(
const scalar
p,
const scalar
T)
const;
193 friend Ostream& operator<< <Thermo>
WLFTransport(const word &, const WLFTransport &)
Construct as named copy.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void operator*=(const scalar)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
static word typeName()
Return the instantiated type name.
A class for handling words, derived from Foam::string.
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
An Ostream is an abstract base class for all output systems (streams, files, token lists...
autoPtr< WLFTransport > clone() const
Construct and return a clone.
static autoPtr< WLFTransport > New(const dictionary &dict)
Transport package using the Williams-Landel-Ferry model.
OBJstream os(runTime.globalPath()/outputName)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
void operator+=(const WLFTransport &)
void write(Ostream &os) const
Write to Ostream.