Go to the documentation of this file.
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>
83 template<
class Thermo,
template<
class>
class Type>
95 template<
class Thermo,
template<
class>
class Type>
99 public Type<thermo<Thermo, Type> >
104 static const scalar tol_;
107 static const int maxIter_;
120 scalar (
thermo::*
F)(
const scalar,
const scalar)
const,
121 scalar (
thermo::*dFdT)(
const scalar,
const scalar)
const,
135 inline thermo(
const Thermo& sp);
150 static word typeName()
153 Thermo::typeName() +
','
154 + Type<thermo<Thermo, Type> >::typeName();
182 static inline word heName();
185 inline scalar
he(
const scalar
p,
const scalar
T)
const;
188 inline scalar cv(
const scalar
p,
const scalar
T)
const;
191 inline scalar cpv(
const scalar
p,
const scalar
T)
const;
194 inline scalar gamma(
const scalar
p,
const scalar
T)
const;
198 inline scalar cpBycpv(
const scalar
p,
const scalar
T)
const;
201 inline scalar es(
const scalar
p,
const scalar
T)
const;
204 inline scalar ea(
const scalar
p,
const scalar
T)
const;
207 inline scalar
g(
const scalar
p,
const scalar
T)
const;
210 inline scalar a(
const scalar
p,
const scalar
T)
const;
216 inline scalar Cp(
const scalar
p,
const scalar
T)
const;
219 inline scalar Cv(
const scalar
p,
const scalar
T)
const;
222 inline scalar Cpv(
const scalar
p,
const scalar
T)
const;
225 inline scalar HE(
const scalar
p,
const scalar
T)
const;
228 inline scalar Hs(
const scalar
p,
const scalar
T)
const;
231 inline scalar Hc()
const;
234 inline scalar Ha(
const scalar
p,
const scalar
T)
const;
237 inline scalar S(
const scalar
p,
const scalar
T)
const;
240 inline scalar E(
const scalar
p,
const scalar
T)
const;
243 inline scalar Es(
const scalar
p,
const scalar
T)
const;
246 inline scalar Ea(
const scalar
p,
const scalar
T)
const;
249 inline scalar
G(
const scalar
p,
const scalar
T)
const;
252 inline scalar
A(
const scalar
p,
const scalar
T)
const;
259 inline scalar
K(
const scalar
p,
const scalar
T)
const;
264 inline scalar Kp(
const scalar
p,
const scalar
T)
const;
270 inline scalar Kc(
const scalar
p,
const scalar
T)
const;
347 inline void operator+=(
const thermo&);
348 inline void operator-=(
const thermo&);
350 inline void operator*=(
const scalar);
355 friend thermo operator+ <Thermo, Type>
361 friend thermo operator- <Thermo, Type>
367 friend thermo operator* <Thermo, Type>
373 friend thermo operator== <Thermo, Type>
382 friend Ostream& operator<< <Thermo, Type>
A class for handling words, derived from string.
const dimensionedScalar G
Newtonian constant of gravitation.
static word typeName()
Return the instantiated type name.
const dimensionedVector & g
simpleMatrix< scalar > A(Nc)
const dimensionedScalar F
Faraday constant: default SI units: [C/mol].
static const scalar tol_
Convergence tolerance of energy -> temperature inversion functions.
CGAL::Exact_predicates_exact_constructions_kernel K
Thermodynamic scalar constants.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A list of keyword definitions, which are a keyword followed by any number of values (e....
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.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
complex limit(const complex &, const complex &)
static const int maxIter_
Max number of iterations in energy->temperature inversion functions.
thermo< Thermo, Type > thermoType
The thermodynamics of the individual species'.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
word name(const complex &)
Return a string representation of a complex.