CoolProp
6.6.0
An open-source fluid property and humid air property database
|
Definition at line 547 of file VLERoutines.h.
#include <VLERoutines.h>
Public Member Functions | |
PTflash_twophase (HelmholtzEOSMixtureBackend &HEOS, PTflash_twophase_options &IO) | |
void | solve () |
Call the Newton-Raphson Solver to solve the equilibrium conditions. More... | |
void | build_arrays () |
Build the arrays for the Newton-Raphson solve. More... | |
Public Attributes | |
double | error_rms |
bool | logging |
int | Nsteps |
Eigen::MatrixXd | J |
Eigen::VectorXd | r |
Eigen::VectorXd | err_rel |
HelmholtzEOSMixtureBackend & | HEOS |
PTflash_twophase_options & | IO |
std::vector< SuccessiveSubstitutionStep > | step_logger |
|
inline |
Definition at line 559 of file VLERoutines.h.
void CoolProp::SaturationSolvers::PTflash_twophase::build_arrays | ( | ) |
Build the arrays for the Newton-Raphson solve.
This method builds the Jacobian matrix, the sensitivity matrix, etc.
Definition at line 1995 of file VLERoutines.cpp.
void CoolProp::SaturationSolvers::PTflash_twophase::solve | ( | ) |
Call the Newton-Raphson Solver to solve the equilibrium conditions.
This solver must be passed reasonable guess values for the mole fractions, densities, etc. You may want to take a few steps of successive substitution before you start with Newton Raphson.
Definition at line 1959 of file VLERoutines.cpp.
Eigen::VectorXd CoolProp::SaturationSolvers::PTflash_twophase::err_rel |
Definition at line 554 of file VLERoutines.h.
double CoolProp::SaturationSolvers::PTflash_twophase::error_rms |
Definition at line 550 of file VLERoutines.h.
HelmholtzEOSMixtureBackend& CoolProp::SaturationSolvers::PTflash_twophase::HEOS |
Definition at line 555 of file VLERoutines.h.
PTflash_twophase_options& CoolProp::SaturationSolvers::PTflash_twophase::IO |
Definition at line 556 of file VLERoutines.h.
Eigen::MatrixXd CoolProp::SaturationSolvers::PTflash_twophase::J |
Definition at line 553 of file VLERoutines.h.
bool CoolProp::SaturationSolvers::PTflash_twophase::logging |
Definition at line 551 of file VLERoutines.h.
int CoolProp::SaturationSolvers::PTflash_twophase::Nsteps |
Definition at line 552 of file VLERoutines.h.
Eigen::VectorXd CoolProp::SaturationSolvers::PTflash_twophase::r |
Definition at line 554 of file VLERoutines.h.
std::vector<SuccessiveSubstitutionStep> CoolProp::SaturationSolvers::PTflash_twophase::step_logger |
Definition at line 557 of file VLERoutines.h.