CoolProp
4.2.5
An open-source fluid property and humid air property database
|
#include <CPState.h>
Public Member Functions | |
CoolPropStateClassSI | copy (void) |
CoolPropStateClassSI () | |
CoolPropStateClassSI (std::string FluidName) | |
CoolPropStateClassSI (Fluid *pFluid) | |
~CoolPropStateClassSI () | |
double | Tsat (double Q) |
Saturation temperature. More... | |
double | superheat (void) |
std::string | get_name (void) |
Get the name of the fluid. More... | |
void | no_SatLSatV (void) |
Stop it from adding the SatL and SatV class pointers. More... | |
void | update (long iInput1, double Value1, long iInput2, double Value2, double T0=-1, double rho0=-1) |
double | keyed_output (long iInput) |
Return an output based on the integer key for the term. More... | |
double | rhoL (void) |
double | rhoV (void) |
double | pL (void) |
double | pV (void) |
double | TL (void) |
double | TV (void) |
double | hL (void) |
double | hV (void) |
double | sL (void) |
double | sV (void) |
double | cpL (void) |
double | cpV (void) |
double | viscL (void) |
double | viscV (void) |
double | condL (void) |
double | condV (void) |
long | phase (void) |
double | T (void) |
double | rho (void) |
double | p (void) |
double | Q (void) |
double | h (void) |
double | s (void) |
double | cp (void) |
double | cv (void) |
double | speed_sound (void) |
double | isothermal_compressibility (void) |
double | isobaric_expansion_coefficient (void) |
double | drhodh_constp (void) |
double | drhodp_consth (void) |
double | drhodh_constp_smoothed (double xend) |
A smoothed version of the derivative using a spline curve in the region of x=0 to x=xend. More... | |
double | drhodp_consth_smoothed (double xend) |
A smoothed version of the derivative using a spline curve in the region of x=0 to x=xend. More... | |
void | rho_smoothed (double xend, double &rho_spline, double &dsplinedh, double &dsplinedp) |
Density corresponding to the smoothed derivatives in the region of x=0 to x=xend. More... | |
double | viscosity (void) |
double | conductivity (void) |
double | Prandtl (void) |
double | surface_tension (void) |
void | enable_EXTTP (void) |
Enable the extended two-phase calculations. More... | |
bool | isenabled_EXTTP (void) |
Check if extended two-phase calculations are enabled. More... | |
void | disable_EXTTP (void) |
Disable the extended two-phase calculations. More... | |
void | enable_TTSE_LUT (void) |
Enable the TTSE. More... | |
bool | isenabled_TTSE_LUT (void) |
Check if TTSE is enabled. More... | |
void | disable_TTSE_LUT (void) |
Disable the TTSE. More... | |
void | enable_TTSE_LUT_writing (void) |
Enable the writing of TTSE tables to file. More... | |
bool | isenabled_TTSE_LUT_writing (void) |
Check if the writing of TTSE tables to file is enabled. More... | |
void | disable_TTSE_LUT_writing (void) |
Disable the writing of TTSE tables to file. More... | |
void | set_TTSESat_LUT_size (int N) |
Over-ride the default size of both of the saturation LUT. More... | |
void | set_TTSESinglePhase_LUT_size (int Np, int Nh) |
Over-ride the default size of the single-phase LUT. More... | |
void | set_TTSESinglePhase_LUT_range (double hmin, double hmax, double pmin, double pmax) |
Over-ride the default range of the single-phase LUT. More... | |
void | get_TTSESinglePhase_LUT_range (double *hmin, double *hmax, double *pmin, double *pmax) |
Get the current range of the single-phase LUT. More... | |
double | B_TTSE (double _p, double _h) |
Evaluate the B term from TTSE method. More... | |
double | B_over_D_TTSE (double _p, double _h) |
Get the ratio directly which is just a bit faster. More... | |
double | dvdp_constT (void) |
double | dvdT_constp (void) |
double | drhodT_constp (void) |
double | drhodp_constT (void) |
double | d2rhodp2_constT (void) |
double | d2rhodTdp (void) |
double | d2rhodT2_constp (void) |
double | d2rhodhdQ (void) |
double | d2rhodpdQ (void) |
double | d2rhodhdp (void) |
double | d2rhodh2_constp (void) |
double | dpdrho_constT (void) |
double | dpdrho_consth (void) |
double | dpdT_constrho (void) |
double | dpdT_consth (void) |
double | d2pdrho2_constT (void) |
double | d2pdrhodT (void) |
double | d2pdT2_constrho (void) |
double | dhdrho_constT (void) |
double | dhdrho_constp (void) |
double | dhdT_constrho (void) |
double | dhdT_constp (void) |
double | dhdp_constT (void) |
double | d2hdrho2_constT (void) |
double | d2hdrhodT (void) |
double | d2hdT2_constrho (void) |
double | d2hdT2_constp (void) |
double | d2hdp2_constT (void) |
double | d2hdTdp (void) |
double | dsdrho_constT (void) |
double | dsdT_constrho (void) |
double | dsdrho_constp (void) |
double | dsdT_constp (void) |
double | dsdp_constT (void) |
double | d2sdrho2_constT (void) |
double | d2sdrhodT (void) |
double | d2sdT2_constrho (void) |
double | d2sdT2_constp (void) |
double | d2sdp2_constT (void) |
double | d2sdTdp (void) |
double | fundamental_derivative_of_gas_dynamics (void) |
double | d2pdv2_consts (void) |
double | dhdp_constrho (void) |
double | Z (void) |
double | dZdDelta (void) |
double | dZdTau (void) |
double | B (void) |
double | dBdT (void) |
double | C (void) |
double | dCdT (void) |
double | dTdp_along_sat (void) |
Derivative of temperature w.r.t. pressure along saturation curve. More... | |
double | d2Tdp2_along_sat (void) |
Second derivative of temperature w.r.t. pressure along saturation curve. More... | |
double | ddp_dTdp_along_sat (void) |
Partial derivative w.r.t. pressure of dTdp along saturation curve. More... | |
double | ddT_dTdp_along_sat (void) |
Partial derivative w.r.t. temperature of dTdp along saturation curve. More... | |
double | dhdp_along_sat_vapor (void) |
double | dhdp_along_sat_liquid (void) |
double | d2hdp2_along_sat_vapor (void) |
double | d2hdp2_along_sat_liquid (void) |
double | dsdp_along_sat_vapor (void) |
double | dsdp_along_sat_liquid (void) |
double | d2sdp2_along_sat_vapor (void) |
double | d2sdp2_along_sat_liquid (void) |
double | drhodp_along_sat_vapor (void) |
double | drhodp_along_sat_liquid (void) |
double | d2rhodp2_along_sat_vapor (void) |
double | d2rhodp2_along_sat_liquid (void) |
double | dsdT_along_sat_vapor (void) |
double | dsdT_along_sat_liquid (void) |
double | dhdT_along_sat_vapor (void) |
double | dhdT_along_sat_liquid (void) |
double | drhodT_along_sat_vapor (void) |
double | drhodT_along_sat_liquid (void) |
double | phi0 (double tau, double delta) |
double | dphi0_dDelta (double tau, double delta) |
double | dphi0_dTau (double tau, double delta) |
double | d2phi0_dDelta2 (double tau, double delta) |
double | d2phi0_dDelta_dTau (double tau, double delta) |
double | d2phi0_dTau2 (double tau, double delta) |
double | d3phi0_dDelta3 (double tau, double delta) |
double | d3phi0_dDelta2_dTau (double tau, double delta) |
double | d3phi0_dDelta_dTau2 (double tau, double delta) |
double | d3phi0_dTau3 (double tau, double delta) |
double | phir (double tau, double delta) |
double | dphir_dDelta (double tau, double delta) |
double | dphir_dTau (double tau, double delta) |
double | d2phir_dDelta2 (double tau, double delta) |
double | d2phir_dDelta_dTau (double tau, double delta) |
double | d2phir_dTau2 (double tau, double delta) |
double | d3phir_dDelta3 (double tau, double delta) |
double | d3phir_dDelta2_dTau (double tau, double delta) |
double | d3phir_dDelta_dTau2 (double tau, double delta) |
double | d3phir_dTau3 (double tau, double delta) |
Public Attributes | |
long | fluid_type |
IncompressibleLiquid * | pIncompLiquid |
A pointer to the class for an incompressible liquid. More... | |
IncompressibleSolution * | pIncompSolution |
A pointer to the class for an incompressible solution. More... | |
Fluid * | pFluid |
A pointer to a CoolProp fluid. More... | |
bool | flag_SinglePhase |
bool | flag_TwoPhase |
double | _rho |
double | _T |
double | _p |
double | _Q |
double | _h |
double | _s |
double | _logp |
double | _logrho |
double | tau |
double | delta |
double | rhospline |
double | dsplinedp |
double | dsplinedh |
bool | TwoPhase |
bool | SinglePhase |
bool | s_cached |
bool | h_cached |
Protected Member Functions | |
void | add_saturation_states (void) |
void | remove_saturation_states (void) |
void | _pre_update (void) |
void | _post_update (void) |
void | update_twophase (long iInput1, double Value1, long iInput2, double Value2) |
void | update_Trho (long iInput1, double Value1, long iInput2, double Value2) |
void | update_Tp (long iInput1, double Value1, long iInput2, double Value2) |
void | update_ph (long iInput1, double Value1, long iInput2, double Value2, double T0=-1, double rho0=-1) |
void | update_ps (long iInput1, double Value1, long iInput2, double Value2) |
void | update_prho (long iInput1, double Value1, long iInput2, double Value2) |
void | update_hs (long iInput1, double Value1, long iInput2, double Value2) |
void | update_Ts (long iInput1, double Value1, long iInput2, double Value2) |
void | update_TTSE_LUT (long iInput1, double Value1, long iInput2, double Value2) |
void | update_incompressible (long iInput1, double Value1, long iInput2, double Value2) |
void | check_saturated_quality (double Q) |
bool | within_TTSE_range (long iInput1, double Value1, long iInput2, double Value2) |
Check whether within the TTSE range. More... | |
double | interp_linear (double Q, double valueL, double valueV) |
Extended two-phase calculations need different interpolation functions. More... | |
double | interp_recip (double Q, double valueL, double valueV) |
Protected Attributes | |
std::string | brine_string |
Temporary until solutions are fixed. More... | |
StateCache | cache |
std::string | _Fluid |
bool | SaturatedL |
bool | SaturatedV |
bool | _noSatLSatV |
double | rhosatL |
double | rhosatV |
double | psatL |
double | psatV |
double | TsatL |
double | TsatV |
CoolPropStateClassSI * | SatL |
CoolPropStateClassSI * | SatV |
CoolPropStateClassSI::CoolPropStateClassSI | ( | std::string | FluidName | ) |
Definition at line 28 of file CPState.cpp.
CoolPropStateClassSI::CoolPropStateClassSI | ( | Fluid * | pFluid | ) |
Definition at line 92 of file CPState.cpp.
CoolPropStateClassSI::~CoolPropStateClassSI | ( | ) |
Definition at line 116 of file CPState.cpp.
Definition at line 312 of file CPState.cpp.
Definition at line 177 of file CPState.cpp.
Definition at line 1312 of file CPState.cpp.
double CoolPropStateClassSI::B | ( | void | ) |
Definition at line 2182 of file CPState.cpp.
double CoolPropStateClassSI::B_over_D_TTSE | ( | double | _p, |
double | _h | ||
) |
Get the ratio directly which is just a bit faster.
Definition at line 1565 of file CPState.cpp.
double CoolPropStateClassSI::B_TTSE | ( | double | _p, |
double | _h | ||
) |
Evaluate the B term from TTSE method.
Definition at line 1557 of file CPState.cpp.
double CoolPropStateClassSI::C | ( | void | ) |
Definition at line 2191 of file CPState.cpp.
|
protected |
Definition at line 163 of file CPState.cpp.
double CoolPropStateClassSI::condL | ( | void | ) |
Definition at line 1379 of file CPState.cpp.
double CoolPropStateClassSI::conductivity | ( | void | ) |
Definition at line 1524 of file CPState.cpp.
double CoolPropStateClassSI::condV | ( | void | ) |
Definition at line 1380 of file CPState.cpp.
|
inline |
double CoolPropStateClassSI::cp | ( | void | ) |
Definition at line 1460 of file CPState.cpp.
double CoolPropStateClassSI::cpL | ( | void | ) |
Definition at line 1375 of file CPState.cpp.
double CoolPropStateClassSI::cpV | ( | void | ) |
Definition at line 1376 of file CPState.cpp.
double CoolPropStateClassSI::cv | ( | void | ) |
As given by Thorade-EES-2013
As given by Thorade-EES-2013
Definition at line 1575 of file CPState.cpp.
double CoolPropStateClassSI::d2hdp2_along_sat_liquid | ( | void | ) |
Definition at line 2430 of file CPState.cpp.
double CoolPropStateClassSI::d2hdp2_along_sat_vapor | ( | void | ) |
Definition at line 2422 of file CPState.cpp.
double CoolPropStateClassSI::d2hdp2_constT | ( | void | ) |
Definition at line 2286 of file CPState.cpp.
double CoolPropStateClassSI::d2hdrho2_constT | ( | void | ) |
Definition at line 2211 of file CPState.cpp.
double CoolPropStateClassSI::d2hdrhodT | ( | void | ) |
Definition at line 2215 of file CPState.cpp.
double CoolPropStateClassSI::d2hdT2_constp | ( | void | ) |
Definition at line 2279 of file CPState.cpp.
double CoolPropStateClassSI::d2hdT2_constrho | ( | void | ) |
Definition at line 2220 of file CPState.cpp.
double CoolPropStateClassSI::d2hdTdp | ( | void | ) |
Definition at line 2291 of file CPState.cpp.
double CoolPropStateClassSI::d2pdrho2_constT | ( | void | ) |
Definition at line 2122 of file CPState.cpp.
double CoolPropStateClassSI::d2pdrhodT | ( | void | ) |
Definition at line 2126 of file CPState.cpp.
double CoolPropStateClassSI::d2pdT2_constrho | ( | void | ) |
Definition at line 2130 of file CPState.cpp.
double CoolPropStateClassSI::d2pdv2_consts | ( | void | ) |
Definition at line 2134 of file CPState.cpp.
double CoolPropStateClassSI::d2phi0_dDelta2 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2582 of file CPState.cpp.
double CoolPropStateClassSI::d2phi0_dDelta_dTau | ( | double | tau, |
double | delta | ||
) |
Definition at line 2593 of file CPState.cpp.
double CoolPropStateClassSI::d2phi0_dTau2 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2604 of file CPState.cpp.
double CoolPropStateClassSI::d2phir_dDelta2 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2682 of file CPState.cpp.
double CoolPropStateClassSI::d2phir_dDelta_dTau | ( | double | tau, |
double | delta | ||
) |
Definition at line 2694 of file CPState.cpp.
double CoolPropStateClassSI::d2phir_dTau2 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2705 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodh2_constp | ( | void | ) |
Definition at line 2086 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodhdp | ( | void | ) |
Definition at line 2097 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodhdQ | ( | void | ) |
Definition at line 2350 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodp2_along_sat_liquid | ( | void | ) |
Definition at line 2504 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodp2_along_sat_vapor | ( | void | ) |
Definition at line 2496 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodp2_constT | ( | void | ) |
Definition at line 2333 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodpdQ | ( | void | ) |
Definition at line 2355 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodT2_constp | ( | void | ) |
Definition at line 2343 of file CPState.cpp.
double CoolPropStateClassSI::d2rhodTdp | ( | void | ) |
Definition at line 2338 of file CPState.cpp.
double CoolPropStateClassSI::d2sdp2_along_sat_liquid | ( | void | ) |
Definition at line 2459 of file CPState.cpp.
double CoolPropStateClassSI::d2sdp2_along_sat_vapor | ( | void | ) |
Definition at line 2451 of file CPState.cpp.
double CoolPropStateClassSI::d2sdp2_constT | ( | void | ) |
Definition at line 2317 of file CPState.cpp.
double CoolPropStateClassSI::d2sdrho2_constT | ( | void | ) |
Definition at line 2238 of file CPState.cpp.
double CoolPropStateClassSI::d2sdrhodT | ( | void | ) |
Definition at line 2242 of file CPState.cpp.
double CoolPropStateClassSI::d2sdT2_constp | ( | void | ) |
Definition at line 2310 of file CPState.cpp.
double CoolPropStateClassSI::d2sdT2_constrho | ( | void | ) |
Definition at line 2234 of file CPState.cpp.
double CoolPropStateClassSI::d2sdTdp | ( | void | ) |
Definition at line 2322 of file CPState.cpp.
double CoolPropStateClassSI::d2Tdp2_along_sat | ( | void | ) |
Second derivative of temperature w.r.t. pressure along saturation curve.
Definition at line 2391 of file CPState.cpp.
double CoolPropStateClassSI::d3phi0_dDelta2_dTau | ( | double | tau, |
double | delta | ||
) |
Definition at line 2632 of file CPState.cpp.
double CoolPropStateClassSI::d3phi0_dDelta3 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2636 of file CPState.cpp.
double CoolPropStateClassSI::d3phi0_dDelta_dTau2 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2628 of file CPState.cpp.
double CoolPropStateClassSI::d3phi0_dTau3 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2616 of file CPState.cpp.
double CoolPropStateClassSI::d3phir_dDelta2_dTau | ( | double | tau, |
double | delta | ||
) |
Definition at line 2741 of file CPState.cpp.
double CoolPropStateClassSI::d3phir_dDelta3 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2753 of file CPState.cpp.
double CoolPropStateClassSI::d3phir_dDelta_dTau2 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2729 of file CPState.cpp.
double CoolPropStateClassSI::d3phir_dTau3 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2717 of file CPState.cpp.
double CoolPropStateClassSI::dBdT | ( | void | ) |
Definition at line 2187 of file CPState.cpp.
double CoolPropStateClassSI::dCdT | ( | void | ) |
Definition at line 2196 of file CPState.cpp.
double CoolPropStateClassSI::ddp_dTdp_along_sat | ( | void | ) |
Partial derivative w.r.t. pressure of dTdp along saturation curve.
Definition at line 2379 of file CPState.cpp.
double CoolPropStateClassSI::ddT_dTdp_along_sat | ( | void | ) |
Partial derivative w.r.t. temperature of dTdp along saturation curve.
Definition at line 2385 of file CPState.cpp.
double CoolPropStateClassSI::dhdp_along_sat_liquid | ( | void | ) |
Definition at line 2398 of file CPState.cpp.
double CoolPropStateClassSI::dhdp_along_sat_vapor | ( | void | ) |
Definition at line 2410 of file CPState.cpp.
double CoolPropStateClassSI::dhdp_constrho | ( | void | ) |
Definition at line 2153 of file CPState.cpp.
double CoolPropStateClassSI::dhdp_constT | ( | void | ) |
Definition at line 2267 of file CPState.cpp.
double CoolPropStateClassSI::dhdrho_constp | ( | void | ) |
Definition at line 2275 of file CPState.cpp.
double CoolPropStateClassSI::dhdrho_constT | ( | void | ) |
Definition at line 2203 of file CPState.cpp.
double CoolPropStateClassSI::dhdT_along_sat_liquid | ( | void | ) |
Definition at line 2513 of file CPState.cpp.
double CoolPropStateClassSI::dhdT_along_sat_vapor | ( | void | ) |
Definition at line 2518 of file CPState.cpp.
double CoolPropStateClassSI::dhdT_constp | ( | void | ) |
Definition at line 2271 of file CPState.cpp.
double CoolPropStateClassSI::dhdT_constrho | ( | void | ) |
Definition at line 2207 of file CPState.cpp.
Disable the extended two-phase calculations.
Definition at line 2776 of file CPState.cpp.
Disable the TTSE.
Definition at line 2782 of file CPState.cpp.
Disable the writing of TTSE tables to file.
Definition at line 2788 of file CPState.cpp.
double CoolPropStateClassSI::dpdrho_consth | ( | void | ) |
Definition at line 2262 of file CPState.cpp.
double CoolPropStateClassSI::dpdrho_constT | ( | void | ) |
Definition at line 2114 of file CPState.cpp.
double CoolPropStateClassSI::dpdT_consth | ( | void | ) |
Definition at line 2258 of file CPState.cpp.
double CoolPropStateClassSI::dpdT_constrho | ( | void | ) |
Definition at line 2118 of file CPState.cpp.
double CoolPropStateClassSI::dphi0_dDelta | ( | double | tau, |
double | delta | ||
) |
Definition at line 2560 of file CPState.cpp.
double CoolPropStateClassSI::dphi0_dTau | ( | double | tau, |
double | delta | ||
) |
Definition at line 2571 of file CPState.cpp.
double CoolPropStateClassSI::dphir_dDelta | ( | double | tau, |
double | delta | ||
) |
Definition at line 2660 of file CPState.cpp.
double CoolPropStateClassSI::dphir_dTau | ( | double | tau, |
double | delta | ||
) |
Definition at line 2671 of file CPState.cpp.
double CoolPropStateClassSI::drhodh_constp | ( | void | ) |
Definition at line 1745 of file CPState.cpp.
double CoolPropStateClassSI::drhodh_constp_smoothed | ( | double | xend | ) |
A smoothed version of the derivative using a spline curve in the region of x=0 to x=xend.
Definition at line 1821 of file CPState.cpp.
double CoolPropStateClassSI::drhodp_along_sat_liquid | ( | void | ) |
Definition at line 2482 of file CPState.cpp.
double CoolPropStateClassSI::drhodp_along_sat_vapor | ( | void | ) |
Definition at line 2468 of file CPState.cpp.
double CoolPropStateClassSI::drhodp_consth | ( | void | ) |
Definition at line 2037 of file CPState.cpp.
double CoolPropStateClassSI::drhodp_consth_smoothed | ( | double | xend | ) |
A smoothed version of the derivative using a spline curve in the region of x=0 to x=xend.
Definition at line 1791 of file CPState.cpp.
double CoolPropStateClassSI::drhodp_constT | ( | void | ) |
Definition at line 2328 of file CPState.cpp.
double CoolPropStateClassSI::drhodT_along_sat_liquid | ( | void | ) |
Definition at line 2541 of file CPState.cpp.
double CoolPropStateClassSI::drhodT_along_sat_vapor | ( | void | ) |
Definition at line 2535 of file CPState.cpp.
double CoolPropStateClassSI::drhodT_constp | ( | void | ) |
Definition at line 2108 of file CPState.cpp.
double CoolPropStateClassSI::dsdp_along_sat_liquid | ( | void | ) |
Definition at line 2439 of file CPState.cpp.
double CoolPropStateClassSI::dsdp_along_sat_vapor | ( | void | ) |
Definition at line 2445 of file CPState.cpp.
double CoolPropStateClassSI::dsdp_constT | ( | void | ) |
Definition at line 2298 of file CPState.cpp.
double CoolPropStateClassSI::dsdrho_constp | ( | void | ) |
Definition at line 2306 of file CPState.cpp.
double CoolPropStateClassSI::dsdrho_constT | ( | void | ) |
Definition at line 2226 of file CPState.cpp.
double CoolPropStateClassSI::dsdT_along_sat_liquid | ( | void | ) |
Definition at line 2524 of file CPState.cpp.
double CoolPropStateClassSI::dsdT_along_sat_vapor | ( | void | ) |
Definition at line 2529 of file CPState.cpp.
double CoolPropStateClassSI::dsdT_constp | ( | void | ) |
Definition at line 2302 of file CPState.cpp.
double CoolPropStateClassSI::dsdT_constrho | ( | void | ) |
Definition at line 2230 of file CPState.cpp.
double CoolPropStateClassSI::dTdp_along_sat | ( | void | ) |
Derivative of temperature w.r.t. pressure along saturation curve.
SATURATION DERIVATIVES SATURATION DERIVATIVES SATURATION DERIVATIVES
Definition at line 2366 of file CPState.cpp.
double CoolPropStateClassSI::dvdp_constT | ( | void | ) |
Definition at line 2249 of file CPState.cpp.
double CoolPropStateClassSI::dvdT_constp | ( | void | ) |
Definition at line 2253 of file CPState.cpp.
double CoolPropStateClassSI::dZdDelta | ( | void | ) |
Definition at line 2173 of file CPState.cpp.
double CoolPropStateClassSI::dZdTau | ( | void | ) |
Definition at line 2177 of file CPState.cpp.
Enable the extended two-phase calculations.
Definition at line 2772 of file CPState.cpp.
Enable the TTSE.
Definition at line 2778 of file CPState.cpp.
Enable the writing of TTSE tables to file.
Definition at line 2784 of file CPState.cpp.
double CoolPropStateClassSI::fundamental_derivative_of_gas_dynamics | ( | void | ) |
Definition at line 2148 of file CPState.cpp.
|
inline |
void CoolPropStateClassSI::get_TTSESinglePhase_LUT_range | ( | double * | hmin, |
double * | hmax, | ||
double * | pmin, | ||
double * | pmax | ||
) |
Get the current range of the single-phase LUT.
Definition at line 2796 of file CPState.cpp.
double CoolPropStateClassSI::h | ( | void | ) |
Definition at line 1382 of file CPState.cpp.
double CoolPropStateClassSI::hL | ( | void | ) |
Definition at line 1330 of file CPState.cpp.
double CoolPropStateClassSI::hV | ( | void | ) |
Definition at line 1341 of file CPState.cpp.
|
protected |
Extended two-phase calculations need different interpolation functions.
Interpolation routines.
Definition at line 2765 of file CPState.cpp.
|
protected |
Definition at line 2768 of file CPState.cpp.
bool CoolPropStateClassSI::isenabled_EXTTP | ( | void | ) |
Check if extended two-phase calculations are enabled.
Definition at line 2774 of file CPState.cpp.
bool CoolPropStateClassSI::isenabled_TTSE_LUT | ( | void | ) |
Check if TTSE is enabled.
Definition at line 2780 of file CPState.cpp.
bool CoolPropStateClassSI::isenabled_TTSE_LUT_writing | ( | void | ) |
Check if the writing of TTSE tables to file is enabled.
Definition at line 2786 of file CPState.cpp.
double CoolPropStateClassSI::isobaric_expansion_coefficient | ( | void | ) |
Definition at line 1710 of file CPState.cpp.
double CoolPropStateClassSI::isothermal_compressibility | ( | void | ) |
Definition at line 1673 of file CPState.cpp.
double CoolPropStateClassSI::keyed_output | ( | long | iInput | ) |
Return an output based on the integer key for the term.
Definition at line 1077 of file CPState.cpp.
Definition at line 1299 of file CPState.cpp.
double CoolPropStateClassSI::phi0 | ( | double | tau, |
double | delta | ||
) |
Definition at line 2549 of file CPState.cpp.
double CoolPropStateClassSI::phir | ( | double | tau, |
double | delta | ||
) |
Definition at line 2649 of file CPState.cpp.
double CoolPropStateClassSI::Prandtl | ( | void | ) |
Definition at line 1553 of file CPState.cpp.
void CoolPropStateClassSI::rho_smoothed | ( | double | xend, |
double & | rho_spline, | ||
double & | dsplinedh, | ||
double & | dsplinedp | ||
) |
Density corresponding to the smoothed derivatives in the region of x=0 to x=xend.
Definition at line 1851 of file CPState.cpp.
double CoolPropStateClassSI::s | ( | void | ) |
Definition at line 1420 of file CPState.cpp.
void CoolPropStateClassSI::set_TTSESat_LUT_size | ( | int | N | ) |
Over-ride the default size of both of the saturation LUT.
Definition at line 2790 of file CPState.cpp.
void CoolPropStateClassSI::set_TTSESinglePhase_LUT_range | ( | double | hmin, |
double | hmax, | ||
double | pmin, | ||
double | pmax | ||
) |
Over-ride the default range of the single-phase LUT.
Definition at line 2794 of file CPState.cpp.
void CoolPropStateClassSI::set_TTSESinglePhase_LUT_size | ( | int | Np, |
int | Nh | ||
) |
Over-ride the default size of the single-phase LUT.
Definition at line 2792 of file CPState.cpp.
double CoolPropStateClassSI::sL | ( | void | ) |
Definition at line 1352 of file CPState.cpp.
double CoolPropStateClassSI::speed_sound | ( | void | ) |
As given by Thorade-EES-2013
Factor of 1000 is because units within radical need to be all in base units to result in m^2/s^3
As given by Thorade-EES-2013
Definition at line 1627 of file CPState.cpp.
double CoolPropStateClassSI::superheat | ( | void | ) |
Definition at line 159 of file CPState.cpp.
double CoolPropStateClassSI::surface_tension | ( | void | ) |
Definition at line 1740 of file CPState.cpp.
double CoolPropStateClassSI::sV | ( | void | ) |
Definition at line 1363 of file CPState.cpp.
double CoolPropStateClassSI::Tsat | ( | double | Q | ) |
Saturation temperature.
Definition at line 143 of file CPState.cpp.
void CoolPropStateClassSI::update | ( | long | iInput1, |
double | Value1, | ||
long | iInput2, | ||
double | Value2, | ||
double | T0 = -1 , |
||
double | rho0 = -1 |
||
) |
Definition at line 213 of file CPState.cpp.
|
protected |
Definition at line 679 of file CPState.cpp.
|
protected |
Definition at line 1020 of file CPState.cpp.
|
protected |
To be used to update internal variables if you know that your parameters are P,H If T0 and rho0 are included, start at this value for the solution
Definition at line 598 of file CPState.cpp.
|
protected |
Definition at line 486 of file CPState.cpp.
|
protected |
Definition at line 637 of file CPState.cpp.
|
protected |
Definition at line 552 of file CPState.cpp.
|
protected |
Definition at line 424 of file CPState.cpp.
|
protected |
Definition at line 719 of file CPState.cpp.
|
protected |
Definition at line 761 of file CPState.cpp.
|
protected |
Definition at line 330 of file CPState.cpp.
double CoolPropStateClassSI::viscL | ( | void | ) |
Definition at line 1377 of file CPState.cpp.
double CoolPropStateClassSI::viscosity | ( | void | ) |
Definition at line 1494 of file CPState.cpp.
double CoolPropStateClassSI::viscV | ( | void | ) |
Definition at line 1378 of file CPState.cpp.
double CoolPropStateClassSI::Z | ( | void | ) |
Definition at line 2169 of file CPState.cpp.
|
protected |
|
protected |
bool CoolPropStateClassSI::flag_SinglePhase |
bool CoolPropStateClassSI::flag_TwoPhase |
Fluid* CoolPropStateClassSI::pFluid |
IncompressibleLiquid* CoolPropStateClassSI::pIncompLiquid |
IncompressibleSolution* CoolPropStateClassSI::pIncompSolution |
|
protected |
|
protected |