Thermodynamics package templated on the equation of state, using polynomial functions for cp, h and s. More...
#include <specie/hPolynomialThermo.H>
Thermodynamics package templated on the equation of state, using polynomial functions for cp, h and s.
Polynomials for h and s derived from cp
Definition at line 96 of file hPolynomialThermo.H.
Public Member Functions | |
hPolynomialThermo (Istream &is) | |
Construct from dictionary.
| |
hPolynomialThermo (const hPolynomialThermo &) | |
Construct as copy.
| |
hPolynomialThermo (const word &, const hPolynomialThermo &) | |
Construct as a named copy.
| |
scalar | cp (const scalar T) const |
Heat capacity at constant pressure [J/(kmol K)].
| |
scalar | h (const scalar T) const |
Enthalpy [J/kmol].
| |
scalar | hs (const scalar T) const |
Sensible enthalpy [J/kmol].
| |
scalar | hc () const |
Chemical enthalpy [J/kmol].
| |
scalar | s (const scalar T) const |
Entropy [J/(kmol K)].
| |
hPolynomialThermo & | operator= (const hPolynomialThermo &) |
void | operator+= (const hPolynomialThermo &) |
void | operator-= (const hPolynomialThermo &) |
void | operator*= (const scalar) |
Friends | |
hPolynomialThermo | operator+ (const hPolynomialThermo &, const hPolynomialThermo &) |
hPolynomialThermo | operator- (const hPolynomialThermo &, const hPolynomialThermo &) |
hPolynomialThermo | operator* (const scalar, const hPolynomialThermo &) |
hPolynomialThermo | operator== (const hPolynomialThermo &, const hPolynomialThermo &) |
Ostream & | operator (Ostream &, const hPolynomialThermo &) |
hPolynomialThermo | ( | Istream & | is ) |
Construct from dictionary.
Definition at line 33 of file hPolynomialThermo.C.
hPolynomialThermo | ( | const hPolynomialThermo< EquationOfState, PolySize > & | pt ) | [inline]
|
Construct as copy.
Definition at line 54 of file hPolynomialThermoI.H.
hPolynomialThermo | ( | const word & | name, |
const hPolynomialThermo< EquationOfState, PolySize > & | pt | ||
) | [inline]
|
Construct as a named copy.
Definition at line 69 of file hPolynomialThermoI.H.
Foam::scalar cp | ( | const scalar | T ) | const [inline]
|
Heat capacity at constant pressure [J/(kmol K)].
Definition at line 87 of file hPolynomialThermoI.H.
Foam::scalar h | ( | const scalar | T ) | const [inline]
|
Enthalpy [J/kmol].
Definition at line 97 of file hPolynomialThermoI.H.
Foam::scalar hs | ( | const scalar | T ) | const [inline]
|
Foam::scalar hc | ( | ) | const [inline]
|
Chemical enthalpy [J/kmol].
Definition at line 116 of file hPolynomialThermoI.H.
Foam::scalar s | ( | const scalar | T ) | const [inline]
|
Entropy [J/(kmol K)].
Definition at line 125 of file hPolynomialThermoI.H.
hPolynomialThermo& operator= | ( | const hPolynomialThermo< EquationOfState, PolySize > & | ) | [inline]
|
void operator+= | ( | const hPolynomialThermo< EquationOfState, PolySize > & | ) | [inline]
|
void operator-= | ( | const hPolynomialThermo< EquationOfState, PolySize > & | ) | [inline]
|
void operator*= | ( | const scalar | s ) | [inline]
|
Definition at line 198 of file hPolynomialThermoI.H.
hPolynomialThermo operator+ | ( | const hPolynomialThermo< EquationOfState, PolySize > & | , |
const hPolynomialThermo< EquationOfState, PolySize > & | |||
) | [friend]
|
hPolynomialThermo operator- | ( | const hPolynomialThermo< EquationOfState, PolySize > & | , |
const hPolynomialThermo< EquationOfState, PolySize > & | |||
) | [friend]
|
hPolynomialThermo operator* | ( | const | scalar, |
const hPolynomialThermo< EquationOfState, PolySize > & | |||
) | [friend]
|
hPolynomialThermo operator== | ( | const hPolynomialThermo< EquationOfState, PolySize > & | , |
const hPolynomialThermo< EquationOfState, PolySize > & | |||
) | [friend]
|
Ostream& operator | ( | Ostream & | , |
const hPolynomialThermo< EquationOfState, PolySize > & | |||
) | [friend]
|