Enthalpy based thermodynamics package using uniform tabulated data for enthalpy and heat capacity vs pressure and temperature. More...


Public Member Functions | |
| hTabulatedThermo (const dictionary &dict) | |
| Construct from dictionary. More... | |
| hTabulatedThermo (const word &, const hTabulatedThermo &) | |
| Construct as a named copy. More... | |
| scalar | limit (const scalar) const |
| Limit the temperature to be in the range Tlow_ to Thigh_. More... | |
| scalar | Cp (const scalar p, const scalar T) const |
| Heat capacity at constant pressure [J/kg/K]. More... | |
| scalar | Cv (const scalar p, const scalar T) const |
| Heat capacity at constant volume [J/kg/K]. More... | |
| scalar | Hs (const scalar p, const scalar T) const |
| Sensible enthalpy [J/kg]. More... | |
| scalar | Ha (const scalar p, const scalar T) const |
| Absolute enthalpy [J/kg]. More... | |
| scalar | Es (const scalar p, const scalar T) const |
| Sensible internal energy [J/kg]. More... | |
| scalar | Ea (const scalar p, const scalar T) const |
| Absolute internal energy [J/kg]. More... | |
| scalar | Hf () const |
| Enthalpy of formation [J/kg]. More... | |
| scalar | S (const scalar p, const scalar T) const |
| Entropy [J/kg/K]. More... | |
| scalar | Gstd (const scalar T) const |
| Gibbs free energy of the mixture in the standard state [J/kg]. More... | |
| scalar | dCpdT (const scalar p, const scalar T) const |
| Temperature derivative of heat capacity at constant pressure. More... | |
| void | write (Ostream &os) const |
| Write to Ostream. More... | |
Static Public Member Functions | |
| static word | typeName () |
| Return the instantiated type name. More... | |
Friends | |
| Ostream & | operator (Ostream &, const hTabulatedThermo &) |
Enthalpy based thermodynamics package using uniform tabulated data for enthalpy and heat capacity vs pressure and temperature.
| Property | Description |
|---|---|
Hf | Heat of formation |
Sf | Standard entropy |
Hs | Sensible enthalpy vs pressure and temperature table |
Cp | Specific heat capacity vs pressure and temperature table |
Example of the specification of the thermodynamic properties:
thermodynamics
{
Hf 0;
Sf 0;
Hs
{
pLow 1e4;
pHigh 5e5;
Tlow 200;
Thigh 1500;
values
<m> <n>
(
(..........)
.
.
.
(..........)
);
}
Cp
{
pLow 1e3;
pHigh 1e6;
Tlow 200;
Thigh 1500;
values
<m> <n>
(
(..........)
.
.
.
(..........)
);
}
}Definition at line 124 of file hTabulatedThermo.H.
| hTabulatedThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 33 of file hTabulatedThermo.C.
References hTabulatedThermo< EquationOfState >::write().

|
inline |
Construct as a named copy.
Definition at line 32 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::limit().

|
inlinestatic |
Return the instantiated type name.
Definition at line 178 of file hTabulatedThermo.H.
References hTabulatedThermo< EquationOfState >::Cp(), hTabulatedThermo< EquationOfState >::Cv(), hTabulatedThermo< EquationOfState >::dCpdT(), hTabulatedThermo< EquationOfState >::Ea(), hTabulatedThermo< EquationOfState >::Es(), hTabulatedThermo< EquationOfState >::Gstd(), hTabulatedThermo< EquationOfState >::Ha(), hTabulatedThermo< EquationOfState >::Hf(), hTabulatedThermo< EquationOfState >::Hs(), hTabulatedThermo< EquationOfState >::limit(), p, hTabulatedThermo< EquationOfState >::S(), Foam::T(), and hTabulatedThermo< EquationOfState >::write().

|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 50 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::Cp(), and T.
Referenced by hTabulatedThermo< EquationOfState >::hTabulatedThermo(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Heat capacity at constant pressure [J/kg/K].
Definition at line 60 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::Cv().
Referenced by hTabulatedThermo< EquationOfState >::limit(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Heat capacity at constant volume [J/kg/K].
Definition at line 71 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::Hs().
Referenced by hTabulatedThermo< EquationOfState >::Cp(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Sensible enthalpy [J/kg].
Definition at line 82 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::Ha().
Referenced by hTabulatedThermo< EquationOfState >::Cv(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Absolute enthalpy [J/kg].
Definition at line 93 of file hTabulatedThermoI.H.
References Hs().
Referenced by hTabulatedThermo< EquationOfState >::Hs(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Sensible internal energy [J/kg].
Definition at line 112 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::Ea(), Hs(), and rho.
Referenced by hTabulatedThermo< EquationOfState >::Hf(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Absolute internal energy [J/kg].
Definition at line 123 of file hTabulatedThermoI.H.
References Ha(), rho, and hTabulatedThermo< EquationOfState >::S().
Referenced by hTabulatedThermo< EquationOfState >::Es(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Enthalpy of formation [J/kg].
Definition at line 103 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::Es().
Referenced by hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Entropy [J/kg/K].
Definition at line 134 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::Gstd(), and NotImplemented.
Referenced by hTabulatedThermo< EquationOfState >::Ea(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Gibbs free energy of the mixture in the standard state [J/kg].
Definition at line 146 of file hTabulatedThermoI.H.
References hTabulatedThermo< EquationOfState >::dCpdT(), and NotImplemented.
Referenced by hTabulatedThermo< EquationOfState >::S(), and hTabulatedThermo< EquationOfState >::typeName().


|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 157 of file hTabulatedThermoI.H.
Referenced by hTabulatedThermo< EquationOfState >::Gstd(), and hTabulatedThermo< EquationOfState >::typeName().

| void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 50 of file hTabulatedThermo.C.
References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), Foam::vtkWriteOps::write(), and Ostream::write().
Referenced by hTabulatedThermo< EquationOfState >::hTabulatedThermo(), and hTabulatedThermo< EquationOfState >::typeName().


|
friend |