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>
120 template<
class Specie>
123 return 1.0/(this->
R()*
T);
127 template<
class Specie>
134 template<
class Specie>
141 template<
class Specie>
150 template<
class Specie>
153 Specie::operator+=(pg);
157 template<
class Specie>
160 Specie::operator*=(s);
166 template<
class Specie>
175 static_cast<const Specie&
>(pg1) + static_cast<const Specie&>(pg2)
180 template<
class Specie>
191 template<
class Specie>
200 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 Sv(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cv/T [J/kg/K].
scalar Sp(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cp/T [J/kg/K].
scalar Cv(scalar p, scalar T) const
Return Cv contribution [J/(kg K].
scalar H(const scalar p, const scalar T) const
Return enthalpy contribution [J/kg].
scalar Cp(scalar p, scalar T) const
Return Cp contribution [J/(kg K].
scalar psi(scalar p, scalar T) const
Return compressibility [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.
scalar E(const scalar p, const scalar T) const
Return internal energy contribution [J/kg].
Perfect gas equation of state:
const dimensionedScalar Pstd
Standard pressure.
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...
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
scalar Z(scalar p, scalar T) const
Return compression factor [].
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
scalar alphav(const scalar p, const scalar T) const
Return volumetric coefficient of thermal expansion [1/T].