30 template<
class Specie>
44 template<
class Specie>
57 template<
class Specie>
67 template<
class Specie>
74 template<
class Specie>
77 return rho0_ +
p/(this->
R()*
T);
81 template<
class Specie>
88 template<
class Specie>
97 template<
class Specie>
104 template<
class Specie>
111 template<
class Specie>
118 template<
class Specie>
126 template<
class Specie>
129 return 1.0/(this->
R()*
T);
133 template<
class Specie>
140 template<
class Specie>
143 const scalar
R = this->
R();
144 const scalar
rho = this->
rho(p,
T);
150 template<
class Specie>
153 return (1 - rho0_/this->
rho(p,
T))/
T;
159 template<
class Specie>
169 template<
class Specie>
172 Specie::operator*=(
s);
178 template<
class Specie>
190 template<
class Specie>
194 const perfectFluid<Specie>& pf
197 return perfectFluid<Specie>
199 s*
static_cast<const Specie&
>(pf),
206 template<
class Specie>
209 const perfectFluid<Specie>& pf1,
210 const perfectFluid<Specie>& pf2
#define R(A, B, C, D, E, F, K, M)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Simple extension of the perfect gas equation of state to liquids by the addition of a constant densit...
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].
perfectFluid(const Specie &sp, const scalar R, const scalar rho0)
Construct from components.
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].
autoPtr< perfectFluid > 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 [].
scalar R() const
Return fluid constant [J/kg/K].
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))
const dimensionedScalar Pstd
Standard pressure.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
word name(const bool)
Return a word representation of a bool.
dimensionedScalar log(const dimensionedScalar &ds)
static scalar R(const scalar a, const scalar x)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
#define noCoefficientMixing(Type)