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>
155 template<
class Specie>
156 inline void Foam::linear<Specie>::operator+=
165 template<
class Specie>
168 Specie::operator*=(s);
174 template<
class Specie>
186 template<
class Specie>
195 s*
static_cast<const Specie&
>(pf),
202 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)
Central-differencing interpolation scheme class.
scalar psi(scalar p, scalar T) const
Return compressibility [s^2/m^2].
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].