53 template<
class Thermo,
template<
class>
class Type>
class thermo;
55 template<
class Thermo,
template<
class>
class Type>
62 template<
class Thermo,
template<
class>
class Type>
69 template<
class Thermo,
template<
class>
class Type>
76 template<
class Thermo,
template<
class>
class Type>
88 template<
class Thermo,
template<
class>
class Type>
92 public Type<thermo<Thermo, Type>>
97 static const scalar tol_;
100 static const int maxIter_;
114 inline thermo(
const Thermo& sp);
126 static word typeName()
129 Thermo::typeName() +
','
130 + Type<thermo<Thermo, Type>>::typeName();
134 static inline bool enthalpy();
137 static inline word heName();
171 inline scalar Cpv(
const scalar
p,
const scalar
T)
const;
174 inline scalar gamma(
const scalar
p,
const scalar
T)
const;
177 inline scalar
he(
const scalar
p,
const scalar
T)
const;
180 inline scalar g(
const scalar
p,
const scalar
T)
const;
183 inline scalar a(
const scalar
p,
const scalar
T)
const;
190 inline scalar
K(
const scalar
p,
const scalar
T)
const;
195 inline scalar Kp(
const scalar
p,
const scalar
T)
const;
201 inline scalar Kc(
const scalar
p,
const scalar
T)
const;
206 inline scalar Kx(
const scalar
p,
const scalar
T)
const;
231 inline static scalar
T
240 const bool diagnostics =
false
292 inline scalar dKcdTbyKc(
const scalar
p,
const scalar
T)
const;
303 inline void operator+=(
const thermo&);
304 inline void operator*=(
const scalar);
309 friend thermo operator+ <Thermo, Type>
315 friend thermo operator* <Thermo, Type>
321 friend thermo operator== <Thermo, Type>
330 friend Ostream& operator<< <Thermo, Type>
scalar hs(const scalar p, const scalar T) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for handling words, derived from string.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const dimensionedScalar F
Faraday constant: default SI units: [C/kmol].
Thermodynamic scalar constants.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
word name(const bool)
Return a word representation of a bool.
complex limit(const complex &, const complex &)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
fluidMulticomponentThermo & thermo