30 template<
class Specie,
int PolySize>
44 template<
class Specie,
int PolySize>
52 rhoCoeffs_(ip.rhoCoeffs_)
56 template<
class Specie,
int PolySize>
67 template<
class Specie,
int PolySize>
80 template<
class Specie,
int PolySize>
87 return rhoCoeffs_.value(T);
91 template<
class Specie,
int PolySize>
98 return p/this->
rho(p, T);
102 template<
class Specie,
int PolySize>
113 template<
class Specie,
int PolySize>
124 template<
class Specie,
int PolySize>
135 template<
class Specie,
int PolySize>
146 template<
class Specie,
int PolySize>
157 template<
class Specie,
int PolySize>
168 template<
class Specie,
int PolySize>
175 return p/(
rho(p, T)*this->
R()*
T);
179 template<
class Specie,
int PolySize>
192 template<
class Specie,
int PolySize>
193 inline void Foam::icoPolynomial<Specie, PolySize>::operator+=
202 template<
class Specie,
int PolySize>
205 Specie::operator*=(s);
211 template<
class Specie,
int PolySize>
223 template<
class Specie,
int PolySize>
232 s*
static_cast<const Specie&
>(ip),
238 template<
class Specie,
int PolySize>
scalar H(const scalar p, const scalar T) const
Return enthalpy contribution [J/kg].
scalar psi(scalar p, scalar T) const
Return compressibility [s^2/m^2].
autoPtr< icoPolynomial > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar Sp(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cp/T [J/kg/K].
scalar E(const scalar p, const scalar T) const
Return internal energy contribution [J/kg].
Incompressible, polynomial form of equation of state, using a polynomial function for density...
scalar Z(scalar p, scalar T) const
Return compression factor [].
scalar Cp(scalar p, scalar T) const
Return Cp contribution [J/(kg K].
static autoPtr< icoPolynomial > New(const dictionary &dict)
void operator*=(const scalar)
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
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))
icoPolynomial(const Specie &sp, const Polynomial< PolySize > &rhoPoly)
Construct from components.
A class for handling words, derived from string.
scalar Cv(scalar p, scalar T) const
Return Cv 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].
#define noCoefficientMixing(Type)
#define R(A, B, C, D, E, F, K, M)
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...
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].