30 template<
class Specie>
37 template<
class Specie>
48 template<
class Specie>
58 template<
class Specie>
61 return p/(this->
R()*
T);
65 template<
class Specie>
72 template<
class Specie>
79 template<
class Specie>
86 template<
class Specie>
93 template<
class Specie>
100 template<
class Specie>
108 template<
class Specie>
111 return 1.0/(this->
R()*
T);
115 template<
class Specie>
122 template<
class Specie>
129 template<
class Specie>
138 template<
class Specie>
141 Specie::operator+=(pg);
145 template<
class Specie>
148 Specie::operator*=(
s);
154 template<
class Specie>
163 static_cast<const Specie&
>(pg1) +
static_cast<const Specie&
>(pg2)
168 template<
class Specie>
172 const perfectGas<Specie>& pg
175 return perfectGas<Specie>(
s*
static_cast<const Specie&
>(pg));
179 template<
class Specie>
182 const perfectGas<Specie>& pg1,
183 const perfectGas<Specie>& pg2
186 return perfectGas<Specie>
188 static_cast<const Specie&
>(pg1) ==
static_cast<const Specie&
>(pg2)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Perfect gas equation of state:
scalar Cv(scalar p, scalar T) const
Return Cv contribution [J/(kg K].
scalar psi(scalar p, scalar T) const
Return compressibility [s^2/m^2].
scalar alphav(const scalar p, const scalar T) const
Return volumetric coefficient of thermal expansion [1/T].
scalar e(const scalar p, const scalar T) const
Return internal energy contribution [J/kg].
autoPtr< perfectGas > clone() const
Construct and return a clone.
perfectGas(const Specie &sp)
Construct from components.
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
void operator+=(const perfectGas &)
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [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 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 Z(scalar p, scalar T) const
Return compression factor [].
void operator*=(const scalar)
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
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.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const dimensionedScalar Pstd
Standard pressure.
word name(const bool)
Return a word representation of a bool.
dimensionedScalar log(const dimensionedScalar &ds)
static scalar R(const scalar a, const scalar x)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)