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>
138 template<
class Specie>
141 const scalar Y1 = this->
Y();
142 Specie::operator+=(rc);
144 if (
mag(this->
Y()) > small)
146 rho_ = this->
Y()/(Y1/rho_ + rc.Y()/rc.rho_);
151 template<
class Specie>
154 Specie::operator*=(s);
160 template<
class Specie>
169 static_cast<const Specie&>(rc1)
170 + static_cast<const Specie&>(rc2)
173 if (
mag(sp.Y()) < small)
186 sp.Y()/(rc1.Y()/rc1.rho_ + rc2.Y()/rc2.rho_)
192 template<
class Specie>
203 template<
class Specie>
212 static_cast<const Specie&
>(rc1) == static_cast<const Specie&>(rc2),
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...
RhoConst (rho = const) of state.