JANAF tables based thermodynamics package templated into the equation of state. More...
#include <janafThermo.H>


Public Types | |
| typedef FixedList< scalar, nCoeffs_ > | coeffArray |
Public Member Functions | |
| janafThermo (const EquationOfState &st, const scalar Tlow, const scalar Thigh, const scalar Tcommon, const coeffArray &highCpCoeffs, const coeffArray &lowCpCoeffs, const bool convertCoeffs=false) | |
| Construct from components. | |
| janafThermo (const dictionary &dict) | |
| Construct from dictionary. | |
| janafThermo (const word &, const janafThermo &) | |
| Construct as a named copy. | |
| scalar | limit (const scalar T) const |
| Limit the temperature to be in the range Tlow_ to Thigh_. | |
| scalar | Tlow () const |
| Return const access to the low temperature limit. | |
| scalar | Thigh () const |
| Return const access to the high temperature limit. | |
| scalar | Tcommon () const |
| Return const access to the common temperature. | |
| const coeffArray & | highCpCoeffs () const |
| Return const access to the high temperature poly coefficients. | |
| const coeffArray & | lowCpCoeffs () const |
| Return const access to the low temperature poly coefficients. | |
| scalar | Cp (const scalar p, const scalar T) const |
| Heat capacity at constant pressure [J/(kg K)]. | |
| scalar | Ha (const scalar p, const scalar T) const |
| Absolute Enthalpy [J/kg]. | |
| scalar | Hs (const scalar p, const scalar T) const |
| Sensible enthalpy [J/kg]. | |
| scalar | Hc () const |
| Chemical enthalpy [J/kg]. | |
| scalar | S (const scalar p, const scalar T) const |
| Entropy [J/(kg K)]. | |
| scalar | Gstd (const scalar T) const |
| Gibbs free energy of the mixture in the standard state [J/kg]. | |
| scalar | Cv (const scalar p, const scalar T) const |
| scalar | Es (const scalar p, const scalar T) const |
| scalar | Ea (const scalar p, const scalar T) const |
| scalar | dCpdT (const scalar p, const scalar T) const |
| Temperature derivative of heat capacity at constant pressure. | |
| void | write (Ostream &os) const |
| Write to Ostream. | |
| void | operator+= (const janafThermo &) |
Static Public Member Functions | |
| static word | typeName () |
| Return the instantiated type name. | |
Static Public Attributes | |
| static constexpr int | nCoeffs_ = 7 |
Friends | |
| janafThermo | operator+ (const janafThermo &, const janafThermo &) |
| janafThermo | operator* (const scalar, const janafThermo &) |
| janafThermo | operator== (const janafThermo &, const janafThermo &) |
| Ostream & | operator<< (Ostream &, const janafThermo &) |
JANAF tables based thermodynamics package templated into the equation of state.
Definition at line 87 of file janafThermo.H.
| typedef FixedList<scalar, nCoeffs_> coeffArray |
Definition at line 96 of file janafThermo.H.
|
inline |
Construct from components.
References dict, highCpCoeffs(), janafThermo(), lowCpCoeffs(), Tcommon(), Thigh(), and Tlow().
Referenced by Ea(), janafThermo(), janafThermo(), operator*, operator+, operator+=(), operator<<, and operator==.


| janafThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 55 of file janafThermo.C.
|
inline |
Construct as a named copy.
Definition at line 84 of file janafThermoI.H.
References janafThermo(), Foam::name(), and nCoeffs_.

|
inlinestatic |
Return the instantiated type name.
Definition at line 157 of file janafThermo.H.
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 106 of file janafThermoI.H.
References Foam::clamp(), Foam::endl(), Foam::T(), T, and WarningInFunction.

|
inline |
Return const access to the low temperature limit.
Definition at line 127 of file janafThermoI.H.
Referenced by janafThermo().

|
inline |
Return const access to the high temperature limit.
Definition at line 134 of file janafThermoI.H.
Referenced by janafThermo().

|
inline |
Return const access to the common temperature.
Definition at line 141 of file janafThermoI.H.
Referenced by janafThermo().

|
inline |
Return const access to the high temperature poly coefficients.
Definition at line 149 of file janafThermoI.H.
Referenced by janafThermo(), and write().

|
inline |
Return const access to the low temperature poly coefficients.
Definition at line 157 of file janafThermoI.H.
Referenced by janafThermo(), and write().

|
inline |
Heat capacity at constant pressure [J/(kg K)].
Definition at line 164 of file janafThermoI.H.

|
inline |
Absolute Enthalpy [J/kg].
Definition at line 178 of file janafThermoI.H.

|
inline |
|
inline |
Chemical enthalpy [J/kg].
Definition at line 205 of file janafThermoI.H.
References Foam::constant::thermodynamic::Tstd.
Referenced by Hs().

|
inline |
Entropy [J/(kg K)].
Definition at line 219 of file janafThermoI.H.
References Foam::log(), p, and Foam::T().

|
inline |
Gibbs free energy of the mixture in the standard state [J/kg].
Definition at line 235 of file janafThermoI.H.
References Foam::log(), and Foam::T().

|
inline |
Definition at line 2 of file janafThermo.H.
|
inline |
Definition at line 17 of file janafThermo.H.
|
inline |
Definition at line 32 of file janafThermo.H.
References janafThermo().

|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 254 of file janafThermoI.H.

| void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 78 of file janafThermo.C.
References Ostream::beginBlock(), highCpCoeffs(), lowCpCoeffs(), nCoeffs_, os(), and R.

|
inline |
Definition at line 268 of file janafThermoI.H.
References Foam::equal(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, janafThermo(), Foam::mag(), Foam::max(), Foam::min(), name, and Y.

|
friend |
References janafThermo().
|
friend |
References janafThermo().
|
friend |
References janafThermo().
|
friend |
References janafThermo().
|
staticconstexpr |
Definition at line 95 of file janafThermo.H.
Referenced by janafThermo(), janafThermo(), and write().