Constant properties thermodynamics package templated into the EquationOfState. More...
Public Member Functions | |
hConstThermo (const dictionary &dict) | |
Construct from dictionary. More... | |
hConstThermo (const word &, const hConstThermo &) | |
Construct as named copy. More... | |
autoPtr< hConstThermo > | 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/(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 | dGdT (const scalar p, const scalar T) const |
Derivative of Gibbs free energy w.r.t. temperature. 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 hConstThermo &) |
Static Public Member Functions | |
static autoPtr< hConstThermo > | New (const dictionary &dict) |
Selector from dictionary. More... | |
static word | typeName () |
Return the instantiated type name. More... | |
Friends | |
hConstThermo | operator+ (const hConstThermo &, const hConstThermo &) |
hConstThermo | operator* (const scalar, const hConstThermo &) |
hConstThermo | operator== (const hConstThermo &, const hConstThermo &) |
Ostream & | operator (Ostream &, const hConstThermo &) |
Constant properties thermodynamics package templated into the EquationOfState.
Definition at line 46 of file hConstThermo.H.
hConstThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 32 of file hConstThermo.C.
|
inline |
Construct as named copy.
Definition at line 46 of file hConstThermoI.H.
|
inline |
Construct and return a clone.
Definition at line 59 of file hConstThermoI.H.
|
inlinestatic |
Selector from dictionary.
Definition at line 70 of file hConstThermoI.H.
References dict, and hConstThermo< EquationOfState >::limit().
|
inlinestatic |
Return the instantiated type name.
Definition at line 123 of file hConstThermo.H.
References hConstThermo< EquationOfState >::Cp(), hConstThermo< EquationOfState >::dCpdT(), hConstThermo< EquationOfState >::dGdT(), hConstThermo< EquationOfState >::Ha(), hConstThermo< EquationOfState >::Hc(), hConstThermo< EquationOfState >::Hs(), hConstThermo< EquationOfState >::limit(), hConstThermo< EquationOfState >::operator+=(), p, hConstThermo< EquationOfState >::S(), Foam::T(), and hConstThermo< EquationOfState >::write().
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 83 of file hConstThermoI.H.
References hConstThermo< EquationOfState >::Cp(), and Foam::T().
Referenced by hConstThermo< EquationOfState >::New(), and hConstThermo< EquationOfState >::typeName().
|
inline |
Heat capacity at constant pressure [J/(kg K)].
Definition at line 93 of file hConstThermoI.H.
References hConstThermo< EquationOfState >::Ha().
Referenced by hConstThermo< EquationOfState >::limit(), and hConstThermo< EquationOfState >::typeName().
|
inline |
Absolute Enthalpy [J/kg].
Definition at line 104 of file hConstThermoI.H.
References hConstThermo< EquationOfState >::Hs().
Referenced by hConstThermo< EquationOfState >::Cp(), and hConstThermo< EquationOfState >::typeName().
|
inline |
Sensible enthalpy [J/kg].
Definition at line 114 of file hConstThermoI.H.
Referenced by hConstThermo< EquationOfState >::Ha(), and hConstThermo< EquationOfState >::typeName().
|
inline |
Chemical enthalpy [J/kg].
Definition at line 123 of file hConstThermoI.H.
References hConstThermo< EquationOfState >::S().
Referenced by hConstThermo< EquationOfState >::typeName().
|
inline |
Entropy [J/(kg K)].
Definition at line 131 of file hConstThermoI.H.
References hConstThermo< EquationOfState >::dGdT(), Foam::log(), and Foam::constant::standard::Tstd.
Referenced by hConstThermo< EquationOfState >::Hc(), and hConstThermo< EquationOfState >::typeName().
|
inline |
Derivative of Gibbs free energy w.r.t. temperature.
Definition at line 141 of file hConstThermoI.H.
References hConstThermo< EquationOfState >::dCpdT().
Referenced by hConstThermo< EquationOfState >::S(), and hConstThermo< EquationOfState >::typeName().
|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 151 of file hConstThermoI.H.
Referenced by hConstThermo< EquationOfState >::dGdT(), and hConstThermo< EquationOfState >::typeName().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 43 of file hConstThermo.C.
References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), Foam::blockMeshTools::write(), and Ostream::write().
Referenced by hConstThermo< EquationOfState >::typeName().
|
inline |
Definition at line 163 of file hConstThermoI.H.
References Foam::mag(), s(), and Y.
Referenced by hConstThermo< EquationOfState >::typeName().
|
friend |
|
friend |
|
friend |
|
friend |