31 template<
class Specie>
34 const Specie& sp,
const scalar rho0,
const scalar T0,
const scalar beta
44 template<
class Specie>
58 template<
class Specie>
69 template<
class Specie>
85 template<
class Specie>
92 return rho0_*(1.0 - beta_*(T - T0_));
96 template<
class Specie>
99 return p/this->
rho(p, T);
103 template<
class Specie>
110 template<
class Specie>
117 template<
class Specie>
124 template<
class Specie>
135 template<
class Specie>
147 template<
class Specie>
158 template<
class Specie>
165 return p/(
rho(p, T)*this->
R()*
T);
169 template<
class Specie>
182 template<
class Specie>
183 inline void Foam::Boussinesq<Specie>::operator+=
192 template<
class Specie>
195 Specie::operator*=(s);
201 template<
class Specie>
213 template<
class Specie>
222 s*
static_cast<const Specie&
>(
b),
230 template<
class Specie>
scalar Sv(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cv/T [J/kg/K].
Boussinesq(const Specie &sp, const scalar rho0, const scalar T0, const scalar beta)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
static autoPtr< Boussinesq > New(const dictionary &dict)
autoPtr< Boussinesq > clone() const
Construct and return a clone.
scalar Cp(scalar p, scalar T) const
Return Cp contribution [J/(kg K].
scalar Cv(scalar p, scalar T) const
Return Cv contribution [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))
scalar psi(scalar p, scalar T) const
Return compressibility [s^2/m^2].
scalar Z(scalar p, scalar T) const
Return compression factor [].
A class for handling words, derived from string.
scalar H(const scalar p, const scalar T) const
Return enthalpy contribution [J/kg].
#define noCoefficientMixing(Type)
#define R(A, B, C, D, E, F, K, M)
scalar Sp(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cp/T [J/kg/K].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
void operator*=(const scalar)
#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].
Incompressible gas equation of state using the Boussinesq approximation for the density as a function...