JANAF tables based thermodynamics package templated into the equation of state. More...
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. More... | |
janafThermo (const dictionary &dict) | |
Construct from dictionary. More... | |
janafThermo (const word &, const janafThermo &) | |
Construct as a named copy. More... | |
scalar | limit (const scalar T) const |
Limit the temperature to be in the range Tlow_ to Thigh_. More... | |
scalar | Tlow () const |
Return const access to the low temperature limit. More... | |
scalar | Thigh () const |
Return const access to the high temperature limit. More... | |
scalar | Tcommon () const |
Return const access to the common temperature. More... | |
const coeffArray & | highCpCoeffs () const |
Return const access to the high temperature poly coefficients. More... | |
const coeffArray & | lowCpCoeffs () const |
Return const access to the low temperature poly coefficients. 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 | Hc () const |
Chemical enthalpy [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... | |
void | operator+= (const janafThermo &) |
Static Public Member Functions | |
static word | typeName () |
Return the instantiated type name. More... | |
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 51 of file janafThermo.H.
typedef FixedList<scalar, nCoeffs_> coeffArray |
Definition at line 96 of file janafThermo.H.
|
inline |
Construct from components.
janafThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 55 of file janafThermo.C.
References janafThermo< EquationOfState >::nCoeffs_, and R.
|
inline |
Construct as a named copy.
Definition at line 85 of file janafThermoI.H.
|
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 107 of file janafThermoI.H.
References Foam::endl(), Foam::max(), Foam::min(), Foam::T(), and WarningInFunction.
|
inline |
Return const access to the low temperature limit.
Definition at line 129 of file janafThermoI.H.
|
inline |
Return const access to the high temperature limit.
Definition at line 136 of file janafThermoI.H.
|
inline |
Return const access to the common temperature.
Definition at line 143 of file janafThermoI.H.
|
inline |
Return const access to the high temperature poly coefficients.
Definition at line 151 of file janafThermoI.H.
|
inline |
Return const access to the low temperature poly coefficients.
Definition at line 159 of file janafThermoI.H.
|
inline |
Heat capacity at constant pressure [J/(kg K)].
Definition at line 167 of file janafThermoI.H.
References Cp, p, and Foam::T().
|
inline |
Absolute Enthalpy [J/kg].
Definition at line 181 of file janafThermoI.H.
References H(), p, and Foam::T().
|
inline |
Sensible enthalpy [J/kg].
Definition at line 197 of file janafThermoI.H.
References Ha(), p, and Foam::T().
|
inline |
Chemical enthalpy [J/kg].
Definition at line 207 of file janafThermoI.H.
References Foam::constant::standard::Tstd.
|
inline |
Entropy [J/(kg K)].
Definition at line 222 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 238 of file janafThermoI.H.
References Foam::log(), and Foam::T().
|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 257 of file janafThermoI.H.
References Foam::T().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 78 of file janafThermo.C.
References Ostream::beginBlock(), Ostream::endBlock(), os(), R, Foam::vtk::write(), and Ostream::writeEntry().
|
inline |
Definition at line 271 of file janafThermoI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::mag(), Foam::max(), Foam::min(), Foam::name(), Foam::notEqual(), and Y.
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
Definition at line 95 of file janafThermo.H.
Referenced by janafThermo< EquationOfState >::janafThermo().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.