30 template<
class Specie>
39 template<
class Specie>
50 template<
class Specie>
58 template<
class Specie>
70 template<
class Specie>
73 return p/(this->
R()*
T);
77 template<
class Specie>
84 template<
class Specie>
91 template<
class Specie>
98 template<
class Specie>
105 template<
class Specie>
112 template<
class Specie>
115 return 1.0/(this->
R()*
T);
119 template<
class Specie>
126 template<
class Specie>
135 template<
class Specie>
138 Specie::operator+=(pg);
142 template<
class Specie>
145 Specie::operator*=(s);
151 template<
class Specie>
160 static_cast<const Specie&
>(pg1) + static_cast<const Specie&>(pg2)
165 template<
class Specie>
176 template<
class Specie>
185 static_cast<const Specie&
>(pg1) == static_cast<const Specie&>(pg2)
void operator*=(const scalar)
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar S(const scalar p, const scalar T) const
Return entropy [J/kg/K].
scalar Cv(scalar p, scalar T) const
Return Cv departure [J/(kg K].
scalar H(const scalar p, const scalar T) const
Return enthalpy departure [J/kg].
scalar Cp(scalar p, scalar T) const
Return Cp departure [J/(kg K].
scalar psi(scalar p, scalar T) const
Return compressibility rho/p [s^2/m^2].
void operator+=(const perfectGas &)
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))
autoPtr< perfectGas > clone() const
Construct and return a clone.
A class for handling words, derived from string.
const dimensionedScalar Pstd
Standard pressure.
scalar E(const scalar p, const scalar T) const
Return internal energy departure [J/kg].
Perfect gas equation of state.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
static autoPtr< perfectGas > New(const dictionary &dict)
#define R(A, B, C, D, E, F, K, M)
perfectGas(const Specie &sp)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar Z(scalar p, scalar T) const
Return compression factor [].
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].