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 temperature to be within the range. 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 | 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 56 of file hPowerThermo.H.
hPowerThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 28 of file hPowerThermo.C.
|
inline |
Construct as a named copy.
Definition at line 45 of file hPowerThermoI.H.
|
inline |
Construct and return a clone.
Definition at line 80 of file hPowerThermoI.H.
References Foam::New().
|
inlinestatic |
Selector from dictionary.
Definition at line 88 of file hPowerThermoI.H.
References dict, and Foam::New().
|
inlinestatic |
Return the instantiated type name.
Definition at line 160 of file hPowerThermo.H.
|
inline |
Limit temperature to be within the range.
Definition at line 98 of file hPowerThermoI.H.
References Foam::T().
|
inline |
Heat capacity at constant pressure [J/(kg K)].
Definition at line 108 of file hPowerThermoI.H.
References Cp, p, Foam::pow(), and Foam::T().
|
inline |
Absolute Enthalpy [J/kg].
Definition at line 118 of file hPowerThermoI.H.
References Hs(), p, and Foam::T().
|
inline |
Sensible enthalpy [J/kg].
Definition at line 128 of file hPowerThermoI.H.
References H(), p, Foam::pow(), Foam::T(), and Foam::constant::standard::Tstd.
|
inline |
Chemical enthalpy [J/kg].
Definition at line 139 of file hPowerThermoI.H.
|
inline |
Entropy [J/(kg K)].
Definition at line 147 of file hPowerThermoI.H.
References p, Foam::pow(), Foam::T(), and Foam::constant::standard::Tstd.
|
inline |
Gibbs free energy of the mixture in the standard state [J/kg].
Definition at line 159 of file hPowerThermoI.H.
References Foam::pow(), Foam::T(), and Foam::constant::standard::Tstd.
|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 172 of file hPowerThermoI.H.
References NotImplemented.
|
inline |
Definition at line 186 of file hPowerThermoI.H.
References Foam::mag(), and Y.
|
friend |
|
friend |
|
friend |
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.