Go to the documentation of this file.
52 template<
class Specie>
class linear;
54 template<
class Specie>
55 inline linear<Specie>
operator+
57 const linear<Specie>&,
61 template<
class Specie>
62 inline linear<Specie>
operator-
64 const linear<Specie>&,
68 template<
class Specie>
69 inline linear<Specie>
operator*
75 template<
class Specie>
76 inline linear<Specie>
operator==
78 const linear<Specie>&,
82 template<
class Specie>
94 template<
class Specie>
144 return "linear<" +
word(Specie::typeName_()) +
'>';
157 inline scalar
rho(scalar
p, scalar
T)
const;
160 inline scalar
s(
const scalar
p,
const scalar
T)
const;
163 inline scalar
psi(scalar
p, scalar
T)
const;
166 inline scalar
Z(scalar
p, scalar
T)
const;
169 inline scalar
cpMcv(scalar
p, scalar
T)
const;
188 friend linear operator+ <Specie>
194 friend linear operator- <Specie>
200 friend linear operator* <Specie>
206 friend linear operator== <Specie>
215 friend Ostream& operator<< <Specie>
scalar psi_
Compressibility.
scalar Z(scalar p, scalar T) const
Return compression factor [].
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
A class for handling words, derived from string.
void write(Ostream &os) const
Write to Ostream.
scalar psi(scalar p, scalar T) const
Return compressibility rho/p [s^2/m^2].
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
void operator*=(const scalar)
scalar s(const scalar p, const scalar T) const
Return entropy [J/(kmol K)].
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void operator-=(const linear &)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
autoPtr< linear > clone() const
Construct and return a clone.
scalar cpMcv(scalar p, scalar T) const
Return (cp - cv) [J/(kmol K].
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< linear > New(Istream &is)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar rho0_
The reference density.
linear(const fvMesh &mesh)
Construct from mesh.
void operator+=(const linear &)
Central-differencing interpolation scheme class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static word typeName()
Return the instantiated type name.
word name(const complex &)
Return a string representation of a complex.