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