Enthalpy based thermodynamics package using uniform tabulated data for enthalpy and heat capacity vs pressure and temperature. More...
Public Member Functions | |
hTabulatedThermo (const word &name, const dictionary &dict) | |
Construct from name and 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 139 of file hTabulatedThermo.H.
hTabulatedThermo | ( | const word & | name, |
const dictionary & | dict | ||
) |
Construct from name and dictionary.
Definition at line 32 of file hTabulatedThermo.C.
|
inline |
Construct as a named copy.
Definition at line 31 of file hTabulatedThermoI.H.
|
inlinestatic |
Return the instantiated type name.
Definition at line 181 of file hTabulatedThermo.H.
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 49 of file hTabulatedThermoI.H.
References Foam::T().
|
inline |
Heat capacity at constant pressure [J/kg/K].
Definition at line 59 of file hTabulatedThermoI.H.
|
inline |
Heat capacity at constant volume [J/kg/K].
Definition at line 70 of file hTabulatedThermoI.H.
|
inline |
Sensible enthalpy [J/kg].
Definition at line 81 of file hTabulatedThermoI.H.
|
inline |
Absolute enthalpy [J/kg].
Definition at line 92 of file hTabulatedThermoI.H.
References hs(), p, and Foam::T().
|
inline |
|
inline |
|
inline |
Enthalpy of formation [J/kg].
Definition at line 103 of file hTabulatedThermoI.H.
|
inline |
|
inline |
Gibbs free energy of the mixture in the standard state [J/kg].
Definition at line 145 of file hTabulatedThermoI.H.
References NotImplemented.
|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 156 of file hTabulatedThermoI.H.
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 77 of file hTabulatedThermo.C.
References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), and Foam::vtkWriteOps::write().
|
friend |