Go to the documentation of this file.
55 template<
class Specie>
62 template<
class Specie>
69 template<
class Specie>
76 template<
class Specie>
83 template<
class Specie>
95 template<
class Specie>
161 +
word(Specie::typeName_()) +
'>';
174 inline scalar
rho(scalar
p, scalar
T)
const;
177 inline scalar
s(
const scalar
p,
const scalar
T)
const;
180 inline scalar
psi(scalar
p, scalar
T)
const;
183 inline scalar
Z(scalar
p, scalar
T)
const;
186 inline scalar
cpMcv(scalar
p, scalar
T)
const;
236 friend Ostream& operator<< <Specie>
dimensionedScalar beta("beta", dimless/dimTemperature, laminarTransport)
scalar s(const scalar p, const scalar T) const
Return entropy [J/(kmol K)].
A class for handling words, derived from string.
void write(Ostream &os) const
Write to Ostream.
autoPtr< Boussinesq > clone() const
Construct and return a clone.
static word typeName()
Return the instantiated type name.
void operator-=(const Boussinesq &)
Boussinesq(const Specie &sp, const scalar rho0, const scalar T0, const scalar beta)
Construct from components.
scalar T0_
Reference temperature.
scalar psi(scalar p, scalar T) const
Return compressibility rho/p [s^2/m^2].
scalar cpMcv(scalar p, scalar T) const
Return (cp - cv) [J/(kmol K].
scalar Z(scalar p, scalar T) const
Return compression factor [].
void operator*=(const scalar)
Incompressible gas equation of state using the Boussinesq approximation for the density as a function...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
A list of keyword definitions, which are a keyword followed by any number of values (e....
void operator+=(const Boussinesq &)
scalar beta_
Thermal expansion coefficient.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
scalar rho0_
Reference density.
static autoPtr< Boussinesq > New(Istream &is)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
word name(const complex &)
Return a string representation of a complex.