Constant properties thermodynamics package templated on an equation of state. More...
Public Member Functions | |
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 | Cv (const scalar p, const scalar T) const |
Heat capacity at constant volume [J/kg/K]. More... | |
scalar | Es (const scalar p, const scalar T) const |
Sensible internal energy [J/kg]. More... | |
scalar | Ea (const scalar p, const scalar T) const |
Absolute internal energy [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 | write (Ostream &os) const |
Write to Ostream. More... | |
void | operator+= (const eConstThermo &) |
Static Public Member Functions | |
static autoPtr< eConstThermo > | New (const dictionary &dict) |
Selector from dictionary. More... | |
static word | typeName () |
Return the instantiated type name. More... | |
Friends | |
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 46 of file eConstThermo.H.
eConstThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 32 of file eConstThermo.C.
|
inline |
Construct as named copy.
Definition at line 50 of file eConstThermoI.H.
|
inline |
Construct and return a clone.
Definition at line 65 of file eConstThermoI.H.
|
inlinestatic |
Selector from dictionary.
Definition at line 76 of file eConstThermoI.H.
References dict, and eConstThermo< EquationOfState >::limit().
|
inlinestatic |
Return the instantiated type name.
Definition at line 134 of file eConstThermo.H.
References eConstThermo< EquationOfState >::Cv(), eConstThermo< EquationOfState >::dCpdT(), eConstThermo< EquationOfState >::Ea(), eConstThermo< EquationOfState >::Es(), eConstThermo< EquationOfState >::Gstd(), eConstThermo< EquationOfState >::Hf(), eConstThermo< EquationOfState >::limit(), 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 89 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::Cv(), and Foam::T().
Referenced by eConstThermo< EquationOfState >::New(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Heat capacity at constant volume [J/kg/K].
Definition at line 99 of file eConstThermoI.H.
References Cv(), and eConstThermo< EquationOfState >::Es().
Referenced by eConstThermo< EquationOfState >::limit(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Sensible internal energy [J/kg].
Definition at line 110 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::Ea().
Referenced by eConstThermo< EquationOfState >::Cv(), eConstThermo< EquationOfState >::Ea(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Absolute internal energy [J/kg].
Definition at line 121 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::Es(), and eConstThermo< EquationOfState >::Hf().
Referenced by eConstThermo< EquationOfState >::Es(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Enthalpy of formation [J/kg].
Definition at line 131 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::S().
Referenced by eConstThermo< EquationOfState >::Ea(), eConstThermo< EquationOfState >::Gstd(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Entropy [J/kg/K].
Definition at line 139 of file eConstThermoI.H.
References Cp(), eConstThermo< EquationOfState >::Gstd(), Foam::log(), and Foam::constant::standard::Tstd.
Referenced by eConstThermo< EquationOfState >::Gstd(), eConstThermo< EquationOfState >::Hf(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Gibbs free energy of the mixture in the standard state [J/kg].
Definition at line 150 of file eConstThermoI.H.
References eConstThermo< EquationOfState >::dCpdT(), eConstThermo< EquationOfState >::Hf(), Foam::constant::standard::Pstd, rho, eConstThermo< EquationOfState >::S(), and Foam::T().
Referenced by eConstThermo< EquationOfState >::S(), and eConstThermo< EquationOfState >::typeName().
|
inline |
Temperature derivative of heat capacity at constant pressure.
Definition at line 162 of file eConstThermoI.H.
References NotImplemented.
Referenced by eConstThermo< EquationOfState >::Gstd(), and eConstThermo< EquationOfState >::typeName().
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 45 of file eConstThermo.C.
References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), Foam::constant::standard::Tstd, Foam::vtkWriteOps::write(), and Ostream::write().
Referenced by eConstThermo< EquationOfState >::typeName().
|
inline |
Definition at line 176 of file eConstThermoI.H.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::mag(), Foam::name(), Foam::notEqual(), s(), and Y.
Referenced by eConstThermo< EquationOfState >::typeName().
|
friend |
|
friend |
|
friend |
|
friend |