30 template<
class Specie>
46 template<
class Specie>
59 template<
class Specie>
67 template<
class Specie>
80 template<
class Specie>
83 return rho0_ + psi_*
p;
87 template<
class Specie>
90 return log(
rho(p, T))/psi_;
94 template<
class Specie>
101 template<
class Specie>
104 const scalar
rho = this->
rho(p, T);
106 return log(rho)/psi_ - p/
rho;
110 template<
class Specie>
117 template<
class Specie>
120 return -
log((rho0_ + psi_*p)/(rho0_ + psi_*
Pstd))/(T*psi_);
124 template<
class Specie>
132 template<
class Specie>
139 template<
class Specie>
142 return p/(
rho(p, T)*this->
R()*
T);
146 template<
class Specie>
153 template<
class Specie>
162 template<
class Specie>
163 inline void Foam::linear<Specie>::operator+=
172 template<
class Specie>
175 Specie::operator*=(s);
181 template<
class Specie>
193 template<
class Specie>
202 s*
static_cast<const Specie&
>(pf),
209 template<
class Specie>
scalar H(const scalar p, const scalar T) const
Return enthalpy contribution [J/kg].
scalar Sv(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cv/T [J/kg/K].
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by any number of values (e...
static autoPtr< linear > New(const dictionary &dict)
Centred interpolation interpolation scheme class.
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].
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].
void operator*=(const scalar)
linear(const fvMesh &mesh)
Construct from mesh.
const dimensionedScalar Pstd
Standard pressure.
#define noCoefficientMixing(Type)
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
#define R(A, B, C, D, E, F, K, M)
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
autoPtr< linear > clone() const
Construct and return a clone.
scalar Cp(scalar p, scalar T) const
Return Cp contribution [J/(kg K].
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
scalar E(const scalar p, const scalar T) const
Return internal energy contribution [J/kg].
scalar Z(scalar p, scalar T) const
Return compression factor [].
scalar Sp(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cp/T [J/kg/K].