Constant properties thermodynamics package templated on an equation of state. More...
Public Member Functions | |
eConstThermo (Istream &) | |
Construct from Istream. More... | |
eConstThermo (const dictionary &dict) | |
Construct from dictionary. More... | |
eConstThermo (const word &, const eConstThermo &) | |
Construct as named copy. More... | |
autoPtr< eConstThermo > | clone () const |
Construct and return a clone. More... | |
scalar | limit (const scalar T) 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/(kmol K)]. More... | |
scalar | ha (const scalar p, const scalar T) const |
Absolute Enthalpy [J/kmol]. More... | |
scalar | hs (const scalar p, const scalar T) const |
Sensible Enthalpy [J/kmol]. More... | |
scalar | hc () const |
Chemical enthalpy [J/kmol]. More... | |
scalar | s (const scalar p, const scalar T) const |
Entropy [J/(kmol K)]. More... | |
void | write (Ostream &os) const |
Write to Ostream. More... | |
void | operator+= (const eConstThermo &) |
void | operator-= (const eConstThermo &) |
Static Public Member Functions | |
static autoPtr< eConstThermo > | New (Istream &is) |
static autoPtr< eConstThermo > | New (const dictionary &dict) |
static word | typeName () |
Return the instantiated type name. More... | |
Friends | |
eConstThermo | operator+ (const eConstThermo &, const eConstThermo &) |
eConstThermo | operator- (const eConstThermo &, const eConstThermo &) |
eConstThermo | operator* (const scalar, const eConstThermo &) |
eConstThermo | operator== (const eConstThermo &, const eConstThermo &) |
Ostream & | operator (Ostream &, const eConstThermo &) |
Constant properties thermodynamics package templated on an equation of state.
Definition at line 48 of file eConstThermo.H.
eConstThermo | ( | Istream & | is | ) |
Construct from Istream.
Definition at line 32 of file eConstThermo.C.
References IOstream::check().
eConstThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 46 of file eConstThermo.C.
|
inline |
Construct as named copy.
|
inline |
Construct and return a clone.
Definition at line 59 of file eConstThermoI.H.
|
inlinestatic |
Definition at line 70 of file eConstThermoI.H.
|
inlinestatic |
Definition at line 81 of file eConstThermoI.H.
References dict, and eConstThermo< EquationOfState >::limit().
|
inlinestatic |
Return the instantiated type name.
Definition at line 143 of file eConstThermo.H.
References eConstThermo< EquationOfState >::cp(), eConstThermo< EquationOfState >::ha(), eConstThermo< EquationOfState >::hc(), eConstThermo< EquationOfState >::hs(), eConstThermo< EquationOfState >::limit(), eConstThermo< EquationOfState >::operator+=(), eConstThermo< EquationOfState >::operator-=(), p, eConstThermo< EquationOfState >::s(), Foam::T(), and eConstThermo< EquationOfState >::write().
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 94 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::cp(), and Foam::T().
Referenced by eConstThermo< EquationOfState >::New(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Heat capacity at constant pressure [J/(kmol K)].
Definition at line 104 of file eConstThermoI.H.
References cp, and eConstThermo< EquationOfState >::ha().
Referenced by eConstThermo< EquationOfState >::ha(), eConstThermo< EquationOfState >::hs(), eConstThermo< EquationOfState >::limit(), eConstThermo< EquationOfState >::s(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Absolute Enthalpy [J/kmol].
Definition at line 115 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::cp(), Foam::constant::universal::h, and eConstThermo< EquationOfState >::hs().
Referenced by eConstThermo< EquationOfState >::cp(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Sensible Enthalpy [J/kmol].
Definition at line 126 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::cp(), and Foam::constant::universal::h.
Referenced by eConstThermo< EquationOfState >::ha(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Chemical enthalpy [J/kmol].
Definition at line 136 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::s().
Referenced by eConstThermo< EquationOfState >::typeName().
|
inline |
Entropy [J/(kmol K)].
Definition at line 144 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::cp(), Foam::log(), s(), and Foam::constant::standard::Tstd.
Referenced by eConstThermo< EquationOfState >::hc(), eConstThermo< EquationOfState >::operator-=(), and eConstThermo< EquationOfState >::typeName().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 60 of file eConstThermo.C.
References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), Foam::tab, and write().
Referenced by eConstThermo< EquationOfState >::typeName().
|
inline |
Definition at line 157 of file eConstThermoI.H.
Referenced by eConstThermo< EquationOfState >::typeName().
|
inline |
Definition at line 175 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::s().
Referenced by eConstThermo< EquationOfState >::typeName().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |