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;
189 inline scalar
cp(
const scalar
p,
const scalar
T)
const;
192 inline scalar ha(
const scalar
p,
const scalar
T)
const;
195 inline scalar hs(
const scalar
p,
const scalar
T)
const;
198 inline scalar hc()
const;
201 inline scalar
s(
const scalar
p,
const scalar
T)
const;
204 inline scalar
he(
const scalar
p,
const scalar
T)
const;
207 inline scalar cv(
const scalar
p,
const scalar
T)
const;
210 inline scalar es(
const scalar
p,
const scalar
T)
const;
213 inline scalar ea(
const scalar
p,
const scalar
T)
const;
216 inline scalar g(
const scalar
p,
const scalar
T)
const;
219 inline scalar a(
const scalar
p,
const scalar
T)
const;
226 inline scalar
K(
const scalar
p,
const scalar
T)
const;
231 inline scalar Kp(
const scalar
p,
const scalar
T)
const;
237 inline scalar Kc(
const scalar
p,
const scalar
T)
const;
271 inline static scalar
T
280 const bool diagnostics =
false
332 inline scalar dKcdTbyKc(
const scalar
p,
const scalar
T)
const;
335 inline scalar dcpdT(
const scalar
p,
const scalar
T)
const;
346 inline void operator+=(
const thermo&);
347 inline void operator*=(
const scalar);
352 friend thermo operator+ <Thermo, Type>
358 friend thermo operator* <Thermo, Type>
364 friend thermo operator== <Thermo, Type>
373 friend Ostream& operator<< <Thermo, Type>
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
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/mol].
Thermodynamic scalar constants.
const dimensionedScalar G
Newtonian constant of gravitation.
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 &)
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
fluidMulticomponentThermo & thermo