Enthalpy based thermodynamics package using non-uniform tabulated data for heat capacity vs temperature. More...
Public Member Functions | |
hIcoTabulatedThermo (const dictionary &dict) | |
Construct from dictionary. More... | |
hIcoTabulatedThermo (const word &, const hIcoTabulatedThermo &) | |
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 | Ha (const scalar p, const scalar T) const |
Absolute enthalpy [J/kg]. More... | |
scalar | Hs (const scalar p, const scalar T) const |
Sensible enthalpy [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 hIcoTabulatedThermo &) |
Enthalpy based thermodynamics package using non-uniform tabulated data for heat capacity vs temperature.
Property | Description |
---|---|
Hf | Heat of formation |
Sf | Standard entropy |
Cp | Specific heat at constant pressure vs temperature table |
Example of the specification of the thermodynamic properties:
thermodynamics { Hf 0; Sf 0; Cp ( (200 1005) (350 1010) (400 1020) ); }
Definition at line 88 of file hIcoTabulatedThermo.H.
hIcoTabulatedThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 33 of file hIcoTabulatedThermo.C.
References hIcoTabulatedThermo< EquationOfState >::write().
|
inline |
Construct as a named copy.
Definition at line 32 of file hIcoTabulatedThermoI.H.
References hIcoTabulatedThermo< EquationOfState >::limit().
|
inlinestatic |
Return the instantiated type name.
Definition at line 136 of file hIcoTabulatedThermo.H.
References hIcoTabulatedThermo< EquationOfState >::Cp(), hIcoTabulatedThermo< EquationOfState >::dCpdT(), hIcoTabulatedThermo< EquationOfState >::Gstd(), hIcoTabulatedThermo< EquationOfState >::Ha(), hIcoTabulatedThermo< EquationOfState >::Hf(), hIcoTabulatedThermo< EquationOfState >::Hs(), hIcoTabulatedThermo< EquationOfState >::limit(), p, hIcoTabulatedThermo< EquationOfState >::S(), Foam::T(), and hIcoTabulatedThermo< EquationOfState >::write().
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 48 of file hIcoTabulatedThermoI.H.
References hIcoTabulatedThermo< EquationOfState >::Cp(), and T.
Referenced by hIcoTabulatedThermo< EquationOfState >::hIcoTabulatedThermo(), and hIcoTabulatedThermo< EquationOfState >::typeName().
|
inline |
Heat capacity at constant pressure [J/kg/K].
Definition at line 58 of file hIcoTabulatedThermoI.H.
References Cp(), and hIcoTabulatedThermo< EquationOfState >::Hs().
Referenced by hIcoTabulatedThermo< EquationOfState >::limit(), and hIcoTabulatedThermo< EquationOfState >::typeName().
|
inline |
Absolute enthalpy [J/kg].
Definition at line 80 of file hIcoTabulatedThermoI.H.
References Hs().
Referenced by hIcoTabulatedThermo< EquationOfState >::Hs(), and hIcoTabulatedThermo< EquationOfState >::typeName().
|
inline |
Sensible enthalpy [J/kg].
Definition at line 69 of file hIcoTabulatedThermoI.H.
References hIcoTabulatedThermo< EquationOfState >::Ha().
Referenced by hIcoTabulatedThermo< EquationOfState >::Cp(), and hIcoTabulatedThermo< EquationOfState >::typeName().
|
inline |
Enthalpy of formation [J/kg].
Definition at line 90 of file hIcoTabulatedThermoI.H.
References hIcoTabulatedThermo< EquationOfState >::S().
Referenced by hIcoTabulatedThermo< EquationOfState >::typeName().
|
inline |
Entropy [J/kg/K].
Definition at line 99 of file hIcoTabulatedThermoI.H.
References hIcoTabulatedThermo< EquationOfState >::Gstd(), and Sp.
Referenced by hIcoTabulatedThermo< EquationOfState >::Hf(), and hIcoTabulatedThermo< EquationOfState >::typeName().
|
inline |
Gibbs free energy of the mixture in the standard state [J/kg].
Definition at line 110 of file hIcoTabulatedThermoI.H.
References hIcoTabulatedThermo< EquationOfState >::dCpdT().
Referenced by hIcoTabulatedThermo< EquationOfState >::S(), and hIcoTabulatedThermo< EquationOfState >::typeName().
|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 120 of file hIcoTabulatedThermoI.H.
Referenced by hIcoTabulatedThermo< EquationOfState >::Gstd(), and hIcoTabulatedThermo< EquationOfState >::typeName().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 48 of file hIcoTabulatedThermo.C.
References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), Foam::vtkWriteOps::write(), and Ostream::write().
Referenced by hIcoTabulatedThermo< EquationOfState >::hIcoTabulatedThermo(), and hIcoTabulatedThermo< EquationOfState >::typeName().
|
friend |