Constant properties thermodynamics package templated into the EquationOfState. More...
Public Member Functions | |
hConstThermo (Istream &) | |
Construct from Istream. More... | |
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/(kmol K)]. More... | |
scalar | ha (const scalar p, const scalar T) const |
Absolute Enthalpy [J/kmol]. More... | |
scalar | hs (const scalar p, const scalar T) const |
Sensible enthalpy [J/kmol]. More... | |
scalar | hc () const |
Chemical enthalpy [J/kmol]. More... | |
scalar | s (const scalar p, const scalar T) const |
Entropy [J/(kmol K)]. More... | |
void | write (Ostream &os) const |
Write to Ostream. More... | |
void | operator+= (const hConstThermo &) |
void | operator-= (const hConstThermo &) |
Static Public Member Functions | |
static autoPtr< hConstThermo > | New (Istream &is) |
Selector from Istream. More... | |
static autoPtr< hConstThermo > | New (const dictionary &dict) |
Selector from dictionary. More... | |
static word | typeName () |
Return the instantiated type name. More... | |
Private Member Functions | |
hConstThermo (const EquationOfState &st, const scalar cp, const scalar hf) | |
Construct from components. More... | |
Private Attributes | |
scalar | Cp_ |
scalar | Hf_ |
Friends | |
hConstThermo | operator+ (const hConstThermo &, const hConstThermo &) |
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.
|
inlineprivate |
Construct from components.
Definition at line 30 of file hConstThermoI.H.
hConstThermo | ( | Istream & | ) |
Construct from Istream.
hConstThermo | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 46 of file hConstThermo.C.
References hConstThermo::Cp_, and hConstThermo::Hf_.
|
inline |
Construct as named copy.
|
inline |
Construct and return a clone.
Definition at line 59 of file hConstThermoI.H.
|
inlinestatic |
Selector from Istream.
Definition at line 70 of file hConstThermoI.H.
|
inlinestatic |
|
inlinestatic |
Return the instantiated type name.
Definition at line 136 of file hConstThermo.H.
|
inline |
Limit the temperature to be in the range Tlow_ to Thigh_.
Definition at line 94 of file hConstThermoI.H.
References Foam::T().
|
inline |
Heat capacity at constant pressure [J/(kmol K)].
Definition at line 104 of file hConstThermoI.H.
|
inline |
Absolute Enthalpy [J/kmol].
Definition at line 115 of file hConstThermoI.H.
References Foam::T().
|
inline |
Sensible enthalpy [J/kmol].
Definition at line 125 of file hConstThermoI.H.
References Foam::T().
|
inline |
Chemical enthalpy [J/kmol].
Definition at line 134 of file hConstThermoI.H.
|
inline |
Entropy [J/(kmol K)].
Definition at line 142 of file hConstThermoI.H.
References Foam::log(), p, s(), Foam::T(), and Foam::constant::standard::Tstd.
void write | ( | Ostream & | os | ) | const |
Write to Ostream.
Definition at line 60 of file hConstThermo.C.
References dictionary::add(), dict, dictionaryName::dictName(), Foam::indent(), and write().
|
inline |
Definition at line 154 of file hConstThermoI.H.
|
inline |
Definition at line 172 of file hConstThermoI.H.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Definition at line 95 of file hConstThermo.H.
Referenced by hConstThermo::hConstThermo().
|
private |
Definition at line 96 of file hConstThermo.H.
Referenced by hConstThermo::hConstThermo().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.