30 template<
class Specie>
34 const coeffList& coeffs
42 template<
class Specie>
54 template<
class Specie>
64 template<
class Specie>
67 return 1/(C_[0] + (C_[1] + C_[2]*
T - C_[4]*
p)*
T - C_[3]*
p);
71 template<
class Specie>
78 template<
class Specie>
85 template<
class Specie>
92 template<
class Specie>
99 template<
class Specie>
106 template<
class Specie>
114 template<
class Specie>
121 template<
class Specie>
128 template<
class Specie>
135 template<
class Specie>
138 return this->
rho(p,
T)*(C_[1] + 2*C_[2]*
T - C_[4]*
p);
144 template<
class Specie>
150 const scalar Y1 = this->
Y();
151 Specie::operator+=(rp);
153 if (
mag(this->
Y()) > small)
155 C_ = (Y1*C_ + rp.Y()*rp.C_)/this->
Y();
160 template<
class Specie>
163 Specie::operator*=(
s);
169 template<
class Specie>
178 static_cast<const Specie&
>(rp1)
179 +
static_cast<const Specie&
>(rp2)
182 if (
mag(sp.Y()) < small)
192 return rPolynomial<Specie>
195 (rp1.Y()*rp1.C_ + rp2.Y()*rp2.C_)/sp.Y()
203 template<
class Specie>
207 const rPolynomial<Specie>& rp
210 return rPolynomial<Specie>
212 s*
static_cast<const Specie&
>(rp),
218 template<
class Specie>
221 const rPolynomial<Specie>& rp1,
222 const rPolynomial<Specie>& rp2
225 return rPolynomial<Specie>
227 static_cast<const Specie&
>(rp1) ==
static_cast<const Specie&
>(rp2),
228 rPolynomial<Specie>::coeffList::uniform(NaN)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Reciprocal polynomial equation of state for liquids and solids.
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].
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
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].
rPolynomial(const Specie &sp, const coeffList &coeffs)
Construct from components.
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 [].
autoPtr< rPolynomial > clone() const
Construct and return a clone.
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))
dimensionedSymmTensor sqr(const dimensionedVector &dv)
word name(const bool)
Return a word representation of a bool.
dimensioned< scalar > mag(const dimensioned< Type > &)
static scalar R(const scalar a, const scalar x)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
PtrList< volScalarField > & Y