31 template<
class Specie>
47 template<
class Specie>
61 template<
class Specie>
74 template<
class Specie>
81 return rho0_*(1.0 - beta_*(
T - T0_));
85 template<
class Specie>
88 return p/this->
rho(p,
T);
92 template<
class Specie>
99 template<
class Specie>
106 template<
class Specie>
113 template<
class Specie>
124 template<
class Specie>
136 template<
class Specie>
147 template<
class Specie>
158 template<
class Specie>
169 template<
class Specie>
176 return rho0_/this->
rho(p,
T)*beta_;
182 template<
class Specie>
192 template<
class Specie>
195 Specie::operator*=(
s);
201 template<
class Specie>
213 template<
class Specie>
217 const Boussinesq<Specie>&
b
220 return Boussinesq<Specie>
222 s*
static_cast<const Specie&
>(
b),
230 template<
class Specie>
233 const Boussinesq<Specie>& b1,
234 const Boussinesq<Specie>& b2
Incompressible gas equation of state using the Boussinesq approximation for the density as a function...
scalar Cv(scalar p, scalar T) const
Return Cv contribution [J/(kg K].
autoPtr< Boussinesq > clone() const
Construct and return a clone.
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].
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].
Boussinesq(const Specie &sp, const scalar rho0, const scalar T0, const scalar beta)
Construct from components.
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)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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))
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)