Power-function based thermodynamics package templated on EquationOfState. More...
Public Member Functions | |
hPowerThermo (const dictionary &) | |
Construct from dictionary. More... | |
hPowerThermo (const word &, const hPowerThermo &) | |
Construct as a named copy. More... | |
autoPtr< hPowerThermo > | 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 | Hf () const |
Enthalpy of formation [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 | operator+= (const hPowerThermo &) |
Static Public Member Functions | |
static autoPtr< hPowerThermo > | New (const dictionary &dict) |
Selector from dictionary. More... | |
static word | typeName () |
Return the instantiated type name. More... | |
Friends | |
hPowerThermo | operator+ (const hPowerThermo &, const hPowerThermo &) |
hPowerThermo | operator* (const scalar, const hPowerThermo &) |
hPowerThermo | operator== (const hPowerThermo &, const hPowerThermo &) |
Ostream & | operator (Ostream &, const hPowerThermo &) |
Power-function based thermodynamics package templated on EquationOfState.
In this thermodynamics package the heat capacity is a simple power of temperature:
Cp(T) = c0*(T/Tref)^n0;
which is particularly suitable for solids.
Definition at line 54 of file hPowerThermo.H.
hPowerThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 33 of file hPowerThermo.C.
References Ostream::write().
|
inline |
Construct as a named copy.
Definition at line 49 of file hPowerThermoI.H.
|
inline |
Construct and return a clone.
Definition at line 84 of file hPowerThermoI.H.
|
inlinestatic |
Selector from dictionary.
Definition at line 95 of file hPowerThermoI.H.
References dict, and hPowerThermo< EquationOfState >::limit().
|
inlinestatic |
Return the instantiated type name.
Definition at line 144 of file hPowerThermo.H.
References hPowerThermo< EquationOfState >::Cp(), hPowerThermo< EquationOfState >::dCpdT(), hPowerThermo< EquationOfState >::Gstd(), hPowerThermo< EquationOfState >::Ha(), hPowerThermo< EquationOfState >::Hf(), hPowerThermo< EquationOfState >::Hs(), hPowerThermo< EquationOfState >::limit(), hPowerThermo< EquationOfState >::operator+=(), p, hPowerThermo< EquationOfState >::S(), and Foam::T().
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 108 of file hPowerThermoI.H.
References hPowerThermo< EquationOfState >::Cp(), and T.
Referenced by hPowerThermo< EquationOfState >::New(), and hPowerThermo< EquationOfState >::typeName().
|
inline |
Heat capacity at constant pressure [J/kg/K].
Definition at line 118 of file hPowerThermoI.H.
References Cp(), hPowerThermo< EquationOfState >::Hs(), and Foam::pow().
Referenced by hPowerThermo< EquationOfState >::limit(), and hPowerThermo< EquationOfState >::typeName().
|
inline |
Absolute enthalpy [J/kg].
Definition at line 142 of file hPowerThermoI.H.
References Hs().
Referenced by hPowerThermo< EquationOfState >::Hs(), and hPowerThermo< EquationOfState >::typeName().
|
inline |
Sensible enthalpy [J/kg].
Definition at line 129 of file hPowerThermoI.H.
References hPowerThermo< EquationOfState >::Ha(), Foam::pow(), and Foam::constant::standard::Tstd.
Referenced by hPowerThermo< EquationOfState >::Cp(), and hPowerThermo< EquationOfState >::typeName().
|
inline |
Enthalpy of formation [J/kg].
Definition at line 152 of file hPowerThermoI.H.
References hPowerThermo< EquationOfState >::S().
Referenced by hPowerThermo< EquationOfState >::typeName().
|
inline |
Entropy [J/kg/K].
Definition at line 160 of file hPowerThermoI.H.
References hPowerThermo< EquationOfState >::Gstd(), Foam::pow(), Sp, and Foam::constant::standard::Tstd.
Referenced by hPowerThermo< EquationOfState >::Hf(), and hPowerThermo< EquationOfState >::typeName().
|
inline |
Gibbs free energy of the mixture in the standard state [J/kg].
Definition at line 173 of file hPowerThermoI.H.
References hPowerThermo< EquationOfState >::dCpdT(), Foam::pow(), and Foam::constant::standard::Tstd.
Referenced by hPowerThermo< EquationOfState >::S(), and hPowerThermo< EquationOfState >::typeName().
|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 186 of file hPowerThermoI.H.
References NotImplemented.
Referenced by hPowerThermo< EquationOfState >::Gstd(), and hPowerThermo< EquationOfState >::typeName().
|
inline |
Definition at line 201 of file hPowerThermoI.H.
References Foam::mag(), s(), and Y.
Referenced by hPowerThermo< EquationOfState >::typeName().
|
friend |
|
friend |
|
friend |
|
friend |