30 template<
class Specie>
44 template<
class Specie>
56 template<
class Specie>
66 template<
class Specie>
73 template<
class Specie>
80 template<
class Specie>
87 template<
class Specie>
94 template<
class Specie>
101 template<
class Specie>
108 template<
class Specie>
115 template<
class Specie>
122 template<
class Specie>
125 return p/(
rho(p, T)*this->
R()*
T);
129 template<
class Specie>
136 template<
class Specie>
145 template<
class Specie>
148 const scalar Y1 = this->
Y();
149 Specie::operator+=(rc);
151 if (
mag(this->
Y()) > small)
153 rho_ = this->
Y()/(Y1/rho_ + rc.Y()/rc.rho_);
158 template<
class Specie>
161 Specie::operator*=(s);
167 template<
class Specie>
176 static_cast<const Specie&>(rc1)
177 + static_cast<const Specie&>(rc2)
180 if (
mag(sp.Y()) < small)
193 sp.Y()/(rc1.Y()/rc1.rho_ + rc2.Y()/rc2.rho_)
199 template<
class Specie>
210 template<
class Specie>
219 static_cast<const Specie&
>(rc1) == static_cast<const Specie&>(rc2),
scalar alphav(const scalar p, const scalar T) const
Return volumetric coefficient of thermal expansion [1/T].
scalar Sp(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cp/T [J/kg/K].
void operator+=(const rhoConst &)
scalar E(const scalar p, const scalar T) const
Return internal energy contribution [J/kg].
scalar psi(scalar p, scalar T) const
Return compressibility [s^2/m^2].
scalar H(const scalar p, const scalar T) const
Return enthalpy contribution [J/kg].
scalar Z(scalar p, scalar T) const
Return compression factor [].
rhoConst(const Specie &sp, const scalar rho)
Construct from components.
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
scalar Cp(scalar p, scalar T) const
Return Cp contribution [J/(kg K].
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
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))
A class for handling words, derived from string.
scalar Cv(scalar p, scalar T) const
Return Cv contribution [J/(kg K].
autoPtr< rhoConst > clone() const
Construct and return a clone.
scalar Sv(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cv/T [J/kg/K].
#define R(A, B, C, D, E, F, K, M)
PtrList< volScalarField > & Y
void operator*=(const scalar)
dimensioned< scalar > mag(const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Constant density equations of state.