30 template<
class Specie,
int PolySize>
42 template<
class Specie,
int PolySize>
50 rhoCoeffs_(ip.rhoCoeffs_)
54 template<
class Specie,
int PolySize>
67 template<
class Specie,
int PolySize>
74 return rhoCoeffs_.value(
T);
78 template<
class Specie,
int PolySize>
85 return p/this->
rho(p,
T);
89 template<
class Specie,
int PolySize>
100 template<
class Specie,
int PolySize>
111 template<
class Specie,
int PolySize>
122 template<
class Specie,
int PolySize>
133 template<
class Specie,
int PolySize>
144 template<
class Specie,
int PolySize>
155 template<
class Specie,
int PolySize>
166 template<
class Specie,
int PolySize>
177 template<
class Specie,
int PolySize>
184 return -rhoCoeffs_.derivative(
T)/
rho(
p,
T);
190 template<
class Specie,
int PolySize>
200 template<
class Specie,
int PolySize>
203 Specie::operator*=(
s);
209 template<
class Specie,
int PolySize>
221 template<
class Specie,
int PolySize>
225 const icoPolynomial<Specie, PolySize>& ip
228 return icoPolynomial<Specie, PolySize>
230 s*
static_cast<const Specie&
>(ip),
236 template<
class Specie,
int PolySize>
239 const icoPolynomial<Specie, PolySize>& ip1,
240 const icoPolynomial<Specie, PolySize>& ip2
Polynomial templated on size (order):
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Incompressible, polynomial form of equation of state, using a polynomial function for density.
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].
icoPolynomial(const Specie &sp, const Polynomial< PolySize > &rhoPoly)
Construct from components.
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].
autoPtr< icoPolynomial > clone() const
Construct and return a clone.
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.
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))
word name(const bool)
Return a word representation of a bool.
static scalar R(const scalar a, const scalar x)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
#define noCoefficientMixing(Type)