Go to the documentation of this file.
48 template<
class Specie>
class rhoConst;
50 template<
class Specie>
57 template<
class Specie>
64 template<
class Specie>
71 template<
class Specie>
78 template<
class Specie>
90 template<
class Specie>
106 inline rhoConst(
const Specie& sp,
const scalar
rho);
129 return "rhoConst<" +
word(Specie::typeName_()) +
'>';
142 inline scalar
rho(scalar
p, scalar
T)
const;
145 inline scalar
s(
const scalar
p,
const scalar
T)
const;
148 inline scalar
psi(scalar
p, scalar
T)
const;
151 inline scalar
Z(scalar
p, scalar
T)
const;
154 inline scalar
cpMcv(scalar
p, scalar
T)
const;
200 friend Ostream& operator<< <Specie>
void operator*=(const scalar)
A class for handling words, derived from string.
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
void operator-=(const rhoConst &)
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
static word typeName()
Return the instantiated type name.
scalar cpMcv(scalar p, scalar T) const
Return (cp - cv) [J/(kmol K].
scalar Z(scalar p, scalar T) const
Return compression factor [].
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
rhoConst(const Specie &sp, const scalar rho)
Construct from components.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void write(Ostream &os) const
Write to Ostream.
scalar s(const scalar p, const scalar T) const
Return entropy [J/(kmol K)].
autoPtr< rhoConst > clone() const
Construct and return a clone.
void operator+=(const rhoConst &)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar psi(scalar p, scalar T) const
Return compressibility rho/p [s^2/m^2].
RhoConst (rho = const) of state.
word name(const complex &)
Return a string representation of a complex.
static autoPtr< rhoConst > New(Istream &is)