|
CoolProp 7.1.0
An open-source fluid property and humid air property database
|
This class is a friend class of HelmholtzEOSMixtureBackend, therefore the static methods contained in it have access to the private and protected variables in the HelmholtzEOSMixtureBackend instance.
In this way the Flash routines can be kept in their own separate file and not pollute the HelmholtzEOSMixtureBackend namespace
Definition at line 28 of file FlashRoutines.h.
#include <FlashRoutines.h>
Classes | |
| struct | HS_flash_singlephaseOptions |
| struct | HS_flash_twophaseOptions |
|
inlinestatic |
Definition at line 42 of file FlashRoutines.h.
|
static |
A generic flash routine for the pairs (T,D), (T,H), (T,S), and (T,U). Similar analysis is needed
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| other | The index for the other input from CoolProp::parameters; allowed values are iDmolar, iHmolar, iSmolar, iUmolar |
Definition at line 1944 of file FlashRoutines.cpp.
|
static |
Flash for given density and pressure
| HEOS | The HelmholtzEOSMixtureBackend to be used |
Definition at line 187 of file FlashRoutines.cpp.
|
static |
Flash for given molar density and (molar) quality
| HEOS | The HelmholtzEOSMixtureBackend to be used |
Definition at line 261 of file FlashRoutines.cpp.
|
inlinestatic |
Definition at line 32 of file FlashRoutines.h.
|
static |
Flash for given molar enthalpy and (molar) quality
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| Tguess | (optional) The guess temperature in K to start from, ignored if < 0 |
Definition at line 286 of file FlashRoutines.cpp.
|
static |
A flash routine for (H,S)
| HEOS | The HelmholtzEOSMixtureBackend to be used |
Definition at line 2154 of file FlashRoutines.cpp.
|
static |
Randomly generate a single phase set of inputs for T and p - searches entire single-phase region
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| T | The temperature in K |
| p | The pressure in Pa |
Definition at line 2148 of file FlashRoutines.cpp.
|
static |
Definition at line 2098 of file FlashRoutines.cpp.
|
static |
Definition at line 2064 of file FlashRoutines.cpp.
|
static |
A generic flash routine for the pairs (D,P), (D,H), (D,S), and (D,U). Similar analysis is needed
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| other | The index for the other input from CoolProp::parameters; allowed values are iP, iHmolar, iSmolar, iUmolar |
Something homogeneous to avoid flash calls
TODO: separate TL and TV for ppure
Definition at line 1108 of file FlashRoutines.cpp.
|
static |
A generic flash routine for the pairs (D,H), (D,S), and (D,U) for twophase state. Similar analysis is needed
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| other | The index for the other input from CoolProp::parameters; allowed values are iP, iHmolar, iSmolar, iUmolar |
Definition at line 1069 of file FlashRoutines.cpp.
|
static |
A generic flash routine for the pairs (P,H), (P,S), and (P,U). Similar analysis is needed
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| other | The index for the other input from CoolProp::parameters; allowed values are iHmolar, iSmolar, iUmolar |
Definition at line 1665 of file FlashRoutines.cpp.
|
static |
The single-phase flash routine for the pairs (P,H), (P,S), and (P,U). Similar analysis is needed
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| other | The index for the other input from CoolProp::parameters; allowed values are iHmolar, iSmolar, iUmolar |
| value | The value of the other input |
| Tmin | The lower temperature limit [K] |
| Tmax | The higher temperature limit [K] |
| phase | The phase of the fluid that we should get back |
Definition at line 1446 of file FlashRoutines.cpp.
|
static |
The single-phase flash routine for the pairs (P,H), (P,S), and (P,U). Similar analysis is needed
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| other | The index for the other input from CoolProp::parameters; allowed values are iHmolar, iSmolar, iUmolar |
| T0 | The initial guess value for the temperature [K] |
| rhomolar0 | The initial guess value for the density [mol/m^3] |
Definition at line 1356 of file FlashRoutines.cpp.
|
static |
Flash for given pressure and (molar) quality
| HEOS | The HelmholtzEOSMixtureBackend to be used |
Definition at line 600 of file FlashRoutines.cpp.
|
static |
Flash for given pressure and (molar) quality with guess values provided
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| guess | The GuessesStructure to be used |
Definition at line 794 of file FlashRoutines.cpp.
|
static |
Flash for given pressure and temperature
| HEOS | The HelmholtzEOSMixtureBackend to be used |
Definition at line 90 of file FlashRoutines.cpp.
|
static |
Flash for given pressure and temperature for mixtures
| HEOS | The HelmholtzEOSMixtureBackend to be used |
Definition at line 17 of file FlashRoutines.cpp.
|
static |
Flash for given pressure and temperature with guess values provided for molar density
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| guess | The GuessesStructure to be used |
Definition at line 854 of file FlashRoutines.cpp.
|
static |
Flash for mixture given temperature or pressure and (molar) quality
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| other | The parameter that is imposed, either iT or iP |
| value | The value for the imposed parameter |
Definition at line 879 of file FlashRoutines.cpp.
|
static |
Flash for given molar entropy and (molar) quality
| HEOS | The HelmholtzEOSMixtureBackend to be used |
Definition at line 313 of file FlashRoutines.cpp.
|
static |
Flash for given temperature and (molar) quality
| HEOS | The HelmholtzEOSMixtureBackend to be used |
Definition at line 350 of file FlashRoutines.cpp.
|
static |
Flash for given temperature and (molar) quality with guess values provided
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| guess | The GuessesStructure to be used |
Definition at line 821 of file FlashRoutines.cpp.
|
static |
The flash routine for T given and one of H,S,U
| HEOS | The HelmholtzEOSMixtureBackend to be used |
| T | The temperature |
| value | The value for the other variable |
| other | The index for the other input from CoolProp::parameters; allowed values are iDmolar, iHmolar, iSmolar, iUmolar |
Definition at line 1796 of file FlashRoutines.cpp.
|
static |
Use Peng-Robinson to get guess for temperature for given density and pressure.
Definition at line 163 of file FlashRoutines.cpp.