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>
101 return 1.0/(this->
R()*
T);
105 template<
class Specie>
112 template<
class Specie>
121 template<
class Specie>
124 Specie::operator+=(pg);
128 template<
class Specie>
131 Specie::operator*=(s);
137 template<
class Specie>
146 static_cast<const Specie&
>(pg1) + static_cast<const Specie&>(pg2)
151 template<
class Specie>
162 template<
class Specie>
171 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 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.
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].