66#ifndef hTabulatedThermo_H
67#define hTabulatedThermo_H
78template<
class EquationOfState>
79class hTabulatedThermo;
81template<
class EquationOfState>
85 const hTabulatedThermo<EquationOfState>&
93template<
class EquationOfState>
96 public EquationOfState
100 typedef thermophysicalFunctions::integratedNonUniformTable
101 integratedNonUniformTable;
113 integratedNonUniformTable Cp_;
132 return "hTabulated<" + EquationOfState::typeName() +
'>';
137 inline scalar
limit(
const scalar
T)
const;
143 inline scalar
Cp(
const scalar
p,
const scalar
T)
const;
146 inline scalar
Ha(
const scalar
p,
const scalar
T)
const;
149 inline scalar
Hs(
const scalar
p,
const scalar
T)
const;
152 inline scalar
Hc()
const;
155 inline scalar
S(
const scalar
p,
const scalar
T)
const;
158 inline scalar
Gstd(
const scalar
T)
const;
167 inline scalar
dCpdT(
const scalar
p,
const scalar
T)
const;
178 friend Ostream& operator<< <EquationOfState>
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Enthalpy based thermodynamics package using non-uniform tabulated data for heat capacity vs temperatu...
scalar limit(const scalar T) const
Limit the temperature to be in the temperature range.
scalar Hs(const scalar p, const scalar T) const
Sensible enthalpy [J/kg].
static word typeName()
The instantiated type name.
scalar dCpdT(const scalar p, const scalar T) const
Temperature derivative of heat capacity at constant pressure.
scalar Hc() const
Chemical enthalpy [J/kg].
scalar S(const scalar p, const scalar T) const
Entropy [J/kg/K].
scalar Ha(const scalar p, const scalar T) const
Absolute enthalpy [J/kg].
scalar Gstd(const scalar T) const
Gibbs free energy of the mixture in the standard state [J/kg].
A class for handling words, derived from Foam::string.
const volScalarField & Cp
OBJstream os(runTime.globalPath()/outputName)