62 #ifndef icoTabulated_H 63 #define icoTabulated_H 74 template<
class Specie>
77 template<
class Specie>
89 template<
class Specie>
100 nonUniformTable rho_;
111 const nonUniformTable&
rho 132 return "icoTabulated<" +
word(Specie::typeName_()) +
'>';
145 inline scalar
rho(scalar
p, scalar
T)
const;
148 inline scalar
H(
const scalar
p,
const scalar
T)
const;
151 inline scalar
Cp(scalar
p, scalar
T)
const;
154 inline scalar
E(
const scalar
p,
const scalar
T)
const;
157 inline scalar
Cv(scalar
p, scalar
T)
const;
160 inline scalar
Sp(
const scalar
p,
const scalar
T)
const;
163 inline scalar
Sv(
const scalar
p,
const scalar
T)
const;
166 inline scalar
psi(scalar
p, scalar
T)
const;
169 inline scalar
Z(scalar
p, scalar
T)
const;
172 inline scalar
CpMCv(scalar
p, scalar
T)
const;
175 inline scalar
alphav(
const scalar
p,
const scalar
T)
const;
186 friend Ostream& operator<< <Specie>
scalar Sp(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cp/T [J/kg/K].
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar Cp(scalar p, scalar T) const
Return Cp contribution [J/(kg K].
static word typeName()
Return the instantiated type name.
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
scalar psi(scalar p, scalar T) const
Return compressibility [s^2/m^2].
Incompressible of equation of state using non-uniform tabulated density vs temperature.
scalar Cv(scalar p, scalar T) const
Return Cv contribution [J/(kg K].
void write(Ostream &os) const
Write to Ostream.
scalar Sv(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cv/T [J/kg/K].
A class for handling words, derived from string.
autoPtr< icoTabulated > clone() const
Construct and return a clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static autoPtr< icoTabulated > New(const dictionary &dict)
scalar alphav(const scalar p, const scalar T) const
Return volumetric coefficient of thermal expansion [1/T].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
word name(const complex &)
Return a string representation of a complex.
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
icoTabulated(const Specie &sp, const nonUniformTable &rho)
Construct from components.
scalar Z(scalar p, scalar T) const
Return compression factor [].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar H(const scalar p, const scalar T) const
Return enthalpy contribution [J/kg].
scalar E(const scalar p, const scalar T) const
Return internal energy contribution [J/kg].