53 template<
class Thermo,
template<
class>
class Type>
class thermo;
55 template<
class Thermo,
template<
class>
class Type>
56 inline thermo<Thermo, Type>
operator+
58 const thermo<Thermo, Type>&,
59 const thermo<Thermo, Type>&
62 template<
class Thermo,
template<
class>
class Type>
63 inline thermo<Thermo, Type>
operator*
66 const thermo<Thermo, Type>&
69 template<
class Thermo,
template<
class>
class Type>
70 inline thermo<Thermo, Type>
operator==
72 const thermo<Thermo, Type>&,
73 const thermo<Thermo, Type>&
76 template<
class Thermo,
template<
class>
class Type>
80 const thermo<Thermo, 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_;
113 scalar (
thermo::*F)(
const scalar,
const scalar)
const,
114 scalar (
thermo::*dFdT)(
const scalar,
const scalar)
const,
116 const bool diagnostics =
false 129 inline thermo(
const Thermo& sp);
141 static word typeName()
144 Thermo::typeName() +
',' 145 + Type<thermo<Thermo, Type>>::typeName();
149 static inline word heName();
183 inline scalar Cpv(
const scalar p,
const scalar
T)
const;
186 inline scalar gamma(
const scalar p,
const scalar T)
const;
190 inline scalar CpByCpv(
const scalar p,
const scalar T)
const;
193 inline scalar HE(
const scalar p,
const scalar T)
const;
196 inline scalar
G(
const scalar p,
const scalar T)
const;
199 inline scalar A(
const scalar p,
const scalar T)
const;
205 inline scalar
cp(
const scalar p,
const scalar T)
const;
208 inline scalar ha(
const scalar p,
const scalar T)
const;
211 inline scalar hs(
const scalar p,
const scalar T)
const;
214 inline scalar hc()
const;
217 inline scalar
s(
const scalar p,
const scalar T)
const;
220 inline scalar
he(
const scalar p,
const scalar T)
const;
223 inline scalar cv(
const scalar p,
const scalar T)
const;
226 inline scalar es(
const scalar p,
const scalar T)
const;
229 inline scalar ea(
const scalar p,
const scalar T)
const;
232 inline scalar
g(
const scalar p,
const scalar T)
const;
235 inline scalar a(
const scalar p,
const scalar T)
const;
242 inline scalar
K(
const scalar p,
const scalar T)
const;
247 inline scalar Kp(
const scalar p,
const scalar T)
const;
253 inline scalar Kc(
const scalar p,
const scalar T)
const;
326 inline scalar dKcdTbyKc(
const scalar p,
const scalar T)
const;
329 inline scalar dcpdT(
const scalar p,
const scalar T)
const;
335 void write(Ostream& os)
const;
340 inline void operator+=(
const thermo&);
341 inline void operator*=(
const scalar);
346 friend thermo operator+ <Thermo, Type>
352 friend thermo
operator* <Thermo, Type>
358 friend thermo
operator== <Thermo, Type>
367 friend Ostream& operator<< <Thermo, Type>
scalar Hs(const scalar p, const scalar T) const
A list of keyword definitions, which are a keyword followed by any number of values (e...
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
Thermodynamic scalar constants.
rhoReactionThermo & thermo
CGAL::Exact_predicates_exact_constructions_kernel K
complex limit(const complex &, const complex &)
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))
A class for handling words, derived from string.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
word name(const complex &)
Return a string representation of a complex.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
const dimensionedVector & g
const dimensionedScalar & G
Newtonian constant of gravitation.