30 template<
class Specie>
39 template<
class Specie>
50 template<
class Specie>
58 template<
class Specie>
66 template<
class Specie>
78 template<
class Specie>
81 return p/(this->
R()*
T);
85 template<
class Specie>
92 template<
class Specie>
99 template<
class Specie>
106 template<
class Specie>
109 return 1.0/(this->
R()*
T);
113 template<
class Specie>
120 template<
class Specie>
129 template<
class Specie>
132 Specie::operator+=(pg);
136 template<
class Specie>
139 Specie::operator-=(pg);
143 template<
class Specie>
146 Specie::operator*=(s);
152 template<
class Specie>
161 static_cast<const Specie&
>(pg1)
162 + static_cast<const Specie&>(pg2)
167 template<
class Specie>
176 static_cast<const Specie&
>(pg1)
177 - static_cast<const Specie&>(pg2)
182 template<
class Specie>
193 template<
class Specie>
void operator*=(const scalar)
static autoPtr< perfectGas > New(Istream &is)
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
void operator+=(const perfectGas &)
A class for handling words, derived from string.
scalar s(const scalar p, const scalar T) const
Return entropy [J/(kmol K)].
const dimensionedScalar Pstd
Standard pressure.
void operator-=(const perfectGas &)
Perfect gas equation of state.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
autoPtr< perfectGas > clone() const
Construct and return a clone.
scalar h(const scalar p, const scalar T) const
Return enthalpy departure [J/kmol].
scalar psi(scalar p, scalar T) const
Return compressibility rho/p [s^2/m^2].
scalar cpMcv(scalar p, scalar T) const
Return (cp - cv) [J/(kmol K].
#define R(A, B, C, D, E, F, K, M)
scalar Z(scalar p, scalar T) const
Return compression factor [].
perfectGas(const Specie &sp)
Construct from components.
const scalar RR
Universal gas constant (default in [J/(kmol K)])
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar cp(scalar p, scalar T) const
Return cp departure [J/(kmol K].