|
CoolProp 8.0.0
An open-source fluid property and humid air property database
|
Definition at line 13 of file IF97Backend.h.
#include <IF97Backend.h>
Public Member Functions | |
| std::string | backend_name () override |
| CachedElement _hVmass, _hLmass, _sVmass, sLmass;. More... | |
| std::vector< std::string > | calc_fluid_names () override |
| bool | using_mole_fractions () override |
| bool | using_mass_fractions () override |
| bool | using_volu_fractions () override |
| void | set_mole_fractions (const std::vector< CoolPropDbl > &mole_fractions) override |
| void | set_mass_fractions (const std::vector< CoolPropDbl > &mass_fractions) override |
| void | set_volu_fractions (const std::vector< CoolPropDbl > &volu_fractions) override |
| const std::vector< CoolPropDbl > & | get_mole_fractions () override |
| Get the mole fractions of the fluid. More... | |
| bool | clear () override |
| Override clear() function of IF97 Water. More... | |
| void | set_phase () |
| void | update (CoolProp::input_pairs input_pair, double value1, double value2) override |
| Updating function for IF97 Water. More... | |
| double | calc_SatLiquid (parameters iCalc) |
| double | calc_SatVapor (parameters iCalc) |
| double | calc_Flash (parameters iCalc) |
| double | rhomass () |
| Return the mass density in kg/m³ More... | |
| double | calc_rhomass () override |
| double | rhomolar () |
| Return the molar density in mol/m³ More... | |
| double | calc_rhomolar () override |
| Using this backend, get the molar density in mol/m^3. More... | |
| double | hmass () |
| kg/m³ * mol/kg = mol/m³ More... | |
| double | calc_hmass () override |
| double | hmolar () |
| Return the molar enthalpy in J/mol. More... | |
| double | calc_hmolar () override |
| Using this backend, calculate the molar enthalpy in J/mol. More... | |
| double | smass () |
| J/kg * kg/mol = J/mol. More... | |
| double | calc_smass () override |
| double | smolar () |
| Return the molar entropy in J/mol/K. More... | |
| double | calc_smolar () override |
| Using this backend, calculate the molar entropy in J/mol/K. More... | |
| double | umass () |
| J/kg-K * kg/mol = J/mol-K. More... | |
| double | calc_umass () override |
| double | umolar () |
| Return the molar internal energy in J/mol. More... | |
| double | calc_umolar () override |
| Using this backend, calculate the molar internal energy in J/mol. More... | |
| double | cpmass () |
| J/kg * kg/mol = J/mol. More... | |
| double | calc_cpmass () override |
| double | cpmolar () |
| Return the molar-based constant pressure specific heat in J/mol/K. More... | |
| double | calc_cpmolar () override |
| Using this backend, calculate the molar constant-pressure specific heat in J/mol/K. More... | |
| double | cvmass () |
| J/kg-K * kg/mol = J/mol-K. More... | |
| double | calc_cvmass () override |
| double | cvmolar () |
| Return the molar-based constant volume specific heat in J/mol/K. More... | |
| double | calc_cvmolar () override |
| Using this backend, calculate the molar constant-volume specific heat in J/mol/K. More... | |
| double | speed_sound () |
| J/kg-K * kg/mol = J/mol-K. More... | |
| double | calc_speed_sound () override |
| Using this backend, calculate the speed of sound in m/s. More... | |
| phases | calc_phase () override |
| Using this backend, calculate the phase. More... | |
| void | calc_specify_phase (phases phase) override |
| Using this backend, specify the phase to be used for all further calculations. More... | |
| void | calc_unspecify_phase () override |
| Using this backend, unspecify the phase. More... | |
| double | calc_Ttriple () override |
| Using this backend, get the triple point temperature in K. More... | |
| double | calc_p_triple () override |
| Using this backend, get the triple point pressure in Pa. More... | |
| double | calc_T_critical () override |
| Using this backend, get the critical point temperature in K. More... | |
| double | calc_p_critical () override |
| Using this backend, get the critical point pressure in Pa. More... | |
| double | calc_gas_constant () override |
| double | calc_molar_mass () override |
| Using this backend, get the molar mass in kg/mol. More... | |
| double | calc_acentric_factor () override |
| Using this backend, get the acentric factor (unitless) More... | |
| double | calc_pmax () override |
| Using this backend, get the high pressure limit in Pa. More... | |
| double | calc_Tmax () override |
| double | calc_Tmin () override |
| Using this backend, get the high pressure limit in K. More... | |
| double | rhomolar_critical () |
| double | rhomass_critical () |
| double | calc_rhomolar_critical () override |
| Using this backend, get the critical point molar density in mol/m^3. More... | |
| double | calc_rhomass_critical () override |
| Using this backend, get the critical point mass density in kg/m^3 - Added for IF97Backend which is mass based. More... | |
| double | calc_pressure () override |
| Using this backend, calculate the pressure in Pa. More... | |
| double | viscosity () |
| double | calc_viscosity () override |
| Using this backend, calculate the viscosity in Pa-s. More... | |
| double | conductivity () |
| double | calc_conductivity () override |
| Using this backend, calculate the thermal conductivity in W/m/K. More... | |
| double | surface_tension () |
| double | calc_surface_tension () override |
| Using this backend, calculate the surface tension in N/m. More... | |
| double | Prandtl () |
| void | fast_evaluate (CoolProp::input_pairs input_pair, const double *val1, const double *val2, std::size_t N_inputs, const CoolProp::parameters *outputs, std::size_t N_outputs, double *out_buffer, std::size_t out_buffer_size, int *status_flags, std::size_t status_flags_size, CoolProp::phases imposed_phase=CoolProp::iphase_not_imposed) override |
Public Member Functions inherited from CoolProp::AbstractState | |
| AbstractState () | |
| virtual | ~AbstractState ()=default |
| void | set_T (CoolPropDbl T) |
| Set the internal variable T without a flash call (expert use only!) More... | |
| virtual std::string | backend_name ()=0 |
| virtual std::string | build_options_json () const |
| virtual bool | using_mole_fractions ()=0 |
| virtual bool | using_mass_fractions ()=0 |
| virtual bool | using_volu_fractions ()=0 |
| virtual void | set_mole_fractions (const std::vector< CoolPropDbl > &mole_fractions)=0 |
| virtual void | set_mass_fractions (const std::vector< CoolPropDbl > &mass_fractions)=0 |
| virtual void | set_volu_fractions (const std::vector< CoolPropDbl > &mass_fractions) |
| virtual void | set_reference_stateS (const std::string &reference_state) |
| Set the reference state based on a string representation. More... | |
| virtual void | set_reference_stateD (double T, double rhomolar, double hmolar0, double smolar0) |
| std::vector< CoolPropDbl > | mole_fractions_liquid () |
| Get the mole fractions of the equilibrium liquid phase. More... | |
| std::vector< double > | mole_fractions_liquid_double () |
| Get the mole fractions of the equilibrium liquid phase (but as a double for use in SWIG wrapper) More... | |
| std::vector< CoolPropDbl > | mole_fractions_vapor () |
| Get the mole fractions of the equilibrium vapor phase. More... | |
| std::vector< double > | mole_fractions_vapor_double () |
| Get the mole fractions of the equilibrium vapor phase (but as a double for use in SWIG wrapper) More... | |
| virtual const std::vector< CoolPropDbl > & | get_mole_fractions ()=0 |
| Get the mole fractions of the fluid. More... | |
| virtual const std::vector< CoolPropDbl > | get_mass_fractions () |
| Get the mass fractions of the fluid. More... | |
| virtual void | update (CoolProp::input_pairs input_pair, double Value1, double Value2)=0 |
| Update the state using two state variables. More... | |
| virtual void | update_QT_pure_superanc (double Q, double T) |
| Update the state for QT inputs for pure fluids when using the superancillary functions. More... | |
| virtual void | update_with_guesses (CoolProp::input_pairs input_pair, double Value1, double Value2, const GuessesStructure &guesses) |
| virtual void | fast_evaluate (CoolProp::input_pairs input_pair, const double *val1, const double *val2, std::size_t N_inputs, const CoolProp::parameters *outputs, std::size_t N_outputs, double *out_buffer, std::size_t out_buffer_size, int *status_flags, std::size_t status_flags_size, CoolProp::phases imposed_phase=CoolProp::iphase_not_imposed) |
| Vectorized direct evaluation that bypasses the AbstractState cache. More... | |
| virtual bool | available_in_high_level () |
| virtual std::string | fluid_param_string (const std::string &) |
| Return a string from the backend for the mixture/fluid - backend dependent - could be CAS #, name, etc. More... | |
| std::vector< std::string > | fluid_names () |
| Return a vector of strings of the fluid names that are in use. More... | |
| virtual const double | get_fluid_constant (std::size_t i, parameters param) const |
| virtual void | set_binary_interaction_double (const std::string &CAS1, const std::string &CAS2, const std::string ¶meter, const double value) |
| Set binary mixture floating point parameter (EXPERT USE ONLY!!!) More... | |
| virtual void | set_binary_interaction_double (const std::size_t i, const std::size_t j, const std::string ¶meter, const double value) |
| Set binary mixture floating point parameter (EXPERT USE ONLY!!!) More... | |
| virtual void | set_binary_interaction_string (const std::string &CAS1, const std::string &CAS2, const std::string ¶meter, const std::string &value) |
| Set binary mixture string parameter (EXPERT USE ONLY!!!) More... | |
| virtual void | set_binary_interaction_string (const std::size_t i, const std::size_t j, const std::string ¶meter, const std::string &value) |
| Set binary mixture string parameter (EXPERT USE ONLY!!!) More... | |
| virtual double | get_binary_interaction_double (const std::string &CAS1, const std::string &CAS2, const std::string ¶meter) |
| Get binary mixture double value (EXPERT USE ONLY!!!) More... | |
| virtual double | get_binary_interaction_double (const std::size_t i, const std::size_t j, const std::string ¶meter) |
| Get binary mixture double value (EXPERT USE ONLY!!!) More... | |
| virtual std::string | get_binary_interaction_string (const std::string &CAS1, const std::string &CAS2, const std::string ¶meter) |
| Get binary mixture string value (EXPERT USE ONLY!!!) More... | |
| virtual void | apply_simple_mixing_rule (std::size_t i, std::size_t j, const std::string &model) |
| Apply a simple mixing rule (EXPERT USE ONLY!!!) More... | |
| virtual void | set_cubic_alpha_C (const size_t i, const std::string ¶meter, const double c1, const double c2, const double c3) |
| Set the cubic alpha function's constants: More... | |
| virtual void | set_fluid_parameter_double (const size_t i, const std::string ¶meter, const double value) |
| Set fluid parameter (currently the volume translation parameter for cubic) More... | |
| virtual double | get_fluid_parameter_double (const size_t i, const std::string ¶meter) |
| Double fluid parameter (currently the volume translation parameter for cubic) More... | |
| virtual bool | clear () |
| Clear all the cached values. More... | |
| virtual bool | clear_comp_change () |
| When the composition changes, clear all cached values that are only dependent on composition, but not the thermodynamic state. More... | |
| virtual const CoolProp::SimpleState & | get_reducing_state () |
| const CoolProp::SimpleState & | get_state (const std::string &state) |
| Get a desired state point - backend dependent. More... | |
| double | Tmin () |
| Get the minimum temperature in K. More... | |
| double | Tmax () |
| Get the maximum temperature in K. More... | |
| double | pmax () |
| Get the maximum pressure in Pa. More... | |
| double | Ttriple () |
| Get the triple point temperature in K. More... | |
| phases | phase () |
| Get the phase of the state. More... | |
| void | specify_phase (phases phase) |
| Specify the phase for all further calculations with this state class. More... | |
| void | unspecify_phase () |
| Unspecify the phase and go back to calculating it based on the inputs. More... | |
| double | T_critical () |
| Return the critical temperature in K. More... | |
| double | p_critical () |
| Return the critical pressure in Pa. More... | |
| double | rhomolar_critical () |
| Return the critical molar density in mol/m^3. More... | |
| double | rhomass_critical () |
| Return the critical mass density in kg/m^3. More... | |
| std::vector< CriticalState > | all_critical_points () |
| Return the vector of critical points, including points that are unstable or correspond to negative pressure. More... | |
| void | build_spinodal () |
| Construct the spinodal curve for the mixture (or pure fluid) More... | |
| SpinodalData | get_spinodal_data () |
| Get the data from the spinodal curve constructed in the call to build_spinodal() More... | |
| void | criticality_contour_values (double &L1star, double &M1star) |
| Calculate the criticality contour values \(\mathcal{L}_1^*\) and \(\mathcal{M}_1^*\). More... | |
| double | tangent_plane_distance (const double T, const double p, const std::vector< double > &w, const double rhomolar_guess=-1) |
| double | T_reducing () |
| Return the reducing point temperature in K. More... | |
| double | rhomolar_reducing () |
| Return the molar density at the reducing point in mol/m^3. More... | |
| double | rhomass_reducing () |
| Return the mass density at the reducing point in kg/m^3. More... | |
| double | p_triple () |
| Return the triple point pressure in Pa. More... | |
| std::string | name () |
| Return the name - backend dependent. More... | |
| std::string | description () |
| Return the description - backend dependent. More... | |
| double | dipole_moment () |
| Return the dipole moment in C-m (1 D = 3.33564e-30 C-m) More... | |
| double | keyed_output (parameters key) |
| Retrieve a value by key. More... | |
| double | trivial_keyed_output (parameters key) |
| A trivial keyed output like molar mass that does not depend on the state. More... | |
| double | saturated_liquid_keyed_output (parameters key) |
| Get an output from the saturated liquid state by key. More... | |
| double | saturated_vapor_keyed_output (parameters key) |
| Get an output from the saturated vapor state by key. More... | |
| double | T () |
| Return the temperature in K. More... | |
| double | rhomolar () |
| Return the molar density in mol/m^3. More... | |
| double | rhomass () |
| Return the mass density in kg/m^3. More... | |
| double | p () |
| Return the pressure in Pa. More... | |
| double | Q () |
| Return the vapor quality (mol/mol); Q = 0 for saturated liquid. More... | |
| double | Qmass () |
| Mass-basis vapor quality (kg vapor / kg total). Throws if not two-phase. More... | |
| double | tau () |
| Return the reciprocal of the reduced temperature ( \(\tau = T_c/T\)) More... | |
| double | delta () |
| Return the reduced density ( \(\delta = \rho/\rho_c\)) More... | |
| double | molar_mass () |
| Return the molar mass in kg/mol. More... | |
| double | acentric_factor () |
| Return the acentric factor. More... | |
| double | gas_constant () |
| Return the mole-fraction weighted gas constant in J/mol/K. More... | |
| double | Bvirial () |
| Return the B virial coefficient. More... | |
| double | dBvirial_dT () |
| Return the derivative of the B virial coefficient with respect to temperature. More... | |
| double | Cvirial () |
| Return the C virial coefficient. More... | |
| double | dCvirial_dT () |
| Return the derivative of the C virial coefficient with respect to temperature. More... | |
| double | compressibility_factor () |
| Return the compressibility factor \( Z = p/(rho R T) \). More... | |
| double | hmolar () |
| Return the molar enthalpy in J/mol. More... | |
| double | hmolar_residual () |
| Return the residual molar enthalpy in J/mol. More... | |
| double | hmolar_idealgas () |
| Return the ideal gas molar enthalpy in J/mol. More... | |
| double | hmass_idealgas () |
| Return the ideal gas specific enthalpy in J/kg. More... | |
| double | hmass () |
| Return the mass enthalpy in J/kg. More... | |
| double | hmolar_excess () |
| Return the excess molar enthalpy in J/mol. More... | |
| double | hmass_excess () |
| Return the excess mass enthalpy in J/kg. More... | |
| double | smolar () |
| Return the molar entropy in J/mol/K. More... | |
| double | smolar_residual () |
| Return the residual molar entropy (as a function of temperature and density) in J/mol/K. More... | |
| double | smolar_idealgas () |
| Return the ideal gas molar entropy in J/mol/K. More... | |
| double | smass_idealgas () |
| Return the ideal gas specific entropy in J/kg/K. More... | |
| double | neff () |
| Return the effective hardness of interaction. More... | |
| double | smass () |
| Return the molar entropy in J/kg/K. More... | |
| double | smolar_excess () |
| Return the molar entropy in J/mol/K. More... | |
| double | smass_excess () |
| Return the molar entropy in J/kg/K. More... | |
| double | umolar () |
| Return the molar internal energy in J/mol. More... | |
| double | umass () |
| Return the mass internal energy in J/kg. More... | |
| double | umolar_excess () |
| Return the excess internal energy in J/mol. More... | |
| double | umass_excess () |
| Return the excess internal energy in J/kg. More... | |
| double | umolar_idealgas () |
| Return the ideal gas molar internal energy in J/mol. More... | |
| double | umass_idealgas () |
| Return the ideal gas specific internal energy in J/kg. More... | |
| double | cpmolar () |
| Return the molar constant pressure specific heat in J/mol/K. More... | |
| double | cpmass () |
| Return the mass constant pressure specific heat in J/kg/K. More... | |
| double | cp0molar () |
| Return the molar constant pressure specific heat for ideal gas part only in J/mol/K. More... | |
| double | cp0mass () |
| Return the mass constant pressure specific heat for ideal gas part only in J/kg/K. More... | |
| double | cvmolar () |
| Return the molar constant volume specific heat in J/mol/K. More... | |
| double | cvmass () |
| Return the mass constant volume specific heat in J/kg/K. More... | |
| double | gibbsmolar () |
| Return the Gibbs energy in J/mol. More... | |
| double | gibbsmolar_residual () |
| Return the residual Gibbs energy in J/mol. More... | |
| double | gibbsmass () |
| Return the Gibbs energy in J/kg. More... | |
| double | gibbsmolar_excess () |
| Return the excess Gibbs energy in J/mol. More... | |
| double | gibbsmass_excess () |
| Return the excess Gibbs energy in J/kg. More... | |
| double | helmholtzmolar () |
| Return the Helmholtz energy in J/mol. More... | |
| double | helmholtzmass () |
| Return the Helmholtz energy in J/kg. More... | |
| double | helmholtzmolar_excess () |
| Return the excess Helmholtz energy in J/mol. More... | |
| double | helmholtzmass_excess () |
| Return the excess Helmholtz energy in J/kg. More... | |
| double | volumemolar_excess () |
| Return the excess volume in m^3/mol. More... | |
| double | volumemass_excess () |
| Return the excess volume in m^3/kg. More... | |
| double | speed_sound () |
| Return the speed of sound in m/s. More... | |
| double | isothermal_compressibility () |
| Return the isothermal compressibility \( \kappa = -\frac{1}{v}\left.\frac{\partial v}{\partial p}\right|_T=\frac{1}{\rho}\left.\frac{\partial \rho}{\partial p}\right|_T\) in 1/Pa. More... | |
| double | isobaric_expansion_coefficient () |
| Return the isobaric expansion coefficient \( \beta = \frac{1}{v}\left.\frac{\partial v}{\partial T}\right|_p = -\frac{1}{\rho}\left.\frac{\partial \rho}{\partial T}\right|_p\) in 1/K. More... | |
| double | isentropic_expansion_coefficient () |
| Return the isentropic expansion coefficient \( \kappa_s = -\frac{c_p}{c_v}\frac{v}{p}\left.\frac{\partial p}{\partial v}\right|_T = \frac{\rho}{p}\left.\frac{\partial p}{\partial \rho}\right|_s\). More... | |
| double | fugacity_coefficient (std::size_t i) |
| Return the fugacity coefficient of the i-th component of the mixture. More... | |
| std::vector< double > | fugacity_coefficients () |
| Return a vector of the fugacity coefficients for all components in the mixture. More... | |
| double | fugacity (std::size_t i) |
| Return the fugacity of the i-th component of the mixture. More... | |
| double | chemical_potential (std::size_t i) |
| Return the chemical potential of the i-th component of the mixture. More... | |
| double | fundamental_derivative_of_gas_dynamics () |
| Return the fundamental derivative of gas dynamics \( \Gamma \). More... | |
| double | PIP () |
| Return the phase identification parameter (PIP) of G. Venkatarathnam and L.R. Oellrich, "Identification of the phase of a fluid using partial derivatives of pressure, volume, and temperature without reference to saturation properties: Applications in phase equilibria calculations". More... | |
| void | true_critical_point (double &T, double &rho) |
| Calculate the "true" critical point for pure fluids where dpdrho|T and d2p/drho2|T are equal to zero. More... | |
| void | ideal_curve (const std::string &type, std::vector< double > &T, std::vector< double > &p) |
| Calculate an ideal curve for a pure fluid. More... | |
| CoolPropDbl | first_partial_deriv (parameters Of, parameters Wrt, parameters Constant) |
| The first partial derivative in homogeneous phases. More... | |
| CoolPropDbl | second_partial_deriv (parameters Of1, parameters Wrt1, parameters Constant1, parameters Wrt2, parameters Constant2) |
| The second partial derivative in homogeneous phases. More... | |
| CoolPropDbl | first_saturation_deriv (parameters Of1, parameters Wrt1) |
| The first partial derivative along the saturation curve. More... | |
| CoolPropDbl | second_saturation_deriv (parameters Of1, parameters Wrt1, parameters Wrt2) |
| The second partial derivative along the saturation curve. More... | |
| double | first_two_phase_deriv (parameters Of, parameters Wrt, parameters Constant) |
| Calculate the first "two-phase" derivative as described by Thorade and Sadaat, EAS, 2013. More... | |
| double | second_two_phase_deriv (parameters Of, parameters Wrt1, parameters Constant1, parameters Wrt2, parameters Constant2) |
| Calculate the second "two-phase" derivative as described by Thorade and Sadaat, EAS, 2013. More... | |
| double | first_two_phase_deriv_splined (parameters Of, parameters Wrt, parameters Constant, double x_end) |
| Calculate the first "two-phase" derivative as described by Thorade and Sadaat, EAS, 2013. More... | |
| void | build_phase_envelope (const std::string &type="") |
| Construct the phase envelope for a mixture. More... | |
| const CoolProp::PhaseEnvelopeData & | get_phase_envelope_data () |
| After having calculated the phase envelope, return the phase envelope data. More... | |
| virtual bool | has_melting_line () |
| Return true if the fluid has a melting line - default is false, but can be re-implemented by derived class. More... | |
| double | melting_line (int param, int given, double value) |
| double | saturation_ancillary (parameters param, int Q, parameters given, double value) |
| double | viscosity () |
| Return the viscosity in Pa-s. More... | |
| void | viscosity_contributions (CoolPropDbl &dilute, CoolPropDbl &initial_density, CoolPropDbl &residual, CoolPropDbl &critical) |
| Return the viscosity contributions, each in Pa-s. More... | |
| double | conductivity () |
| Return the thermal conductivity in W/m/K. More... | |
| void | conductivity_contributions (CoolPropDbl &dilute, CoolPropDbl &initial_density, CoolPropDbl &residual, CoolPropDbl &critical) |
| Return the thermal conductivity contributions, each in W/m/K. More... | |
| double | surface_tension () |
| Return the surface tension in N/m. More... | |
| double | Prandtl () |
| Return the Prandtl number (dimensionless) More... | |
| void | conformal_state (const std::string &reference_fluid, CoolPropDbl &T, CoolPropDbl &rhomolar) |
| Find the conformal state needed for ECS. More... | |
| void | change_EOS (const std::size_t i, const std::string &EOS_name) |
| Change the equation of state for a given component to a specified EOS. More... | |
| CoolPropDbl | alpha0 () |
| Return the term \( \alpha^0 \). More... | |
| CoolPropDbl | dalpha0_dDelta () |
| Return the term \( \alpha^0_{\delta} \). More... | |
| CoolPropDbl | dalpha0_dTau () |
| Return the term \( \alpha^0_{\tau} \). More... | |
| CoolPropDbl | d2alpha0_dDelta2 () |
| Return the term \( \alpha^0_{\delta\delta} \). More... | |
| CoolPropDbl | d2alpha0_dDelta_dTau () |
| Return the term \( \alpha^0_{\delta\tau} \). More... | |
| CoolPropDbl | d2alpha0_dTau2 () |
| Return the term \( \alpha^0_{\tau\tau} \). More... | |
| CoolPropDbl | d3alpha0_dTau3 () |
| Return the term \( \alpha^0_{\tau\tau\tau} \). More... | |
| CoolPropDbl | d3alpha0_dDelta_dTau2 () |
| Return the term \( \alpha^0_{\delta\tau\tau} \). More... | |
| CoolPropDbl | d3alpha0_dDelta2_dTau () |
| Return the term \( \alpha^0_{\delta\delta\tau} \). More... | |
| CoolPropDbl | d3alpha0_dDelta3 () |
| Return the term \( \alpha^0_{\delta\delta\delta} \). More... | |
| CoolPropDbl | alphar () |
| Return the term \( \alpha^r \). More... | |
| CoolPropDbl | dalphar_dDelta () |
| Return the term \( \alpha^r_{\delta} \). More... | |
| CoolPropDbl | dalphar_dTau () |
| Return the term \( \alpha^r_{\tau} \). More... | |
| CoolPropDbl | d2alphar_dDelta2 () |
| Return the term \( \alpha^r_{\delta\delta} \). More... | |
| CoolPropDbl | d2alphar_dDelta_dTau () |
| Return the term \( \alpha^r_{\delta\tau} \). More... | |
| CoolPropDbl | d2alphar_dTau2 () |
| Return the term \( \alpha^r_{\tau\tau} \). More... | |
| CoolPropDbl | d3alphar_dDelta3 () |
| Return the term \( \alpha^r_{\delta\delta\delta} \). More... | |
| CoolPropDbl | d3alphar_dDelta2_dTau () |
| Return the term \( \alpha^r_{\delta\delta\tau} \). More... | |
| CoolPropDbl | d3alphar_dDelta_dTau2 () |
| Return the term \( \alpha^r_{\delta\tau\tau} \). More... | |
| CoolPropDbl | d3alphar_dTau3 () |
| Return the term \( \alpha^r_{\tau\tau\tau} \). More... | |
| CoolPropDbl | d4alphar_dDelta4 () |
| Return the term \( \alpha^r_{\delta\delta\delta\delta} \). More... | |
| CoolPropDbl | d4alphar_dDelta3_dTau () |
| Return the term \( \alpha^r_{\delta\delta\delta\tau} \). More... | |
| CoolPropDbl | d4alphar_dDelta2_dTau2 () |
| Return the term \( \alpha^r_{\delta\delta\tau\tau} \). More... | |
| CoolPropDbl | d4alphar_dDelta_dTau3 () |
| Return the term \( \alpha^r_{\delta\tau\tau\tau} \). More... | |
| CoolPropDbl | d4alphar_dTau4 () |
| Return the term \( \alpha^r_{\tau\tau\tau\tau} \). More... | |
Protected Attributes | |
| CachedElement | _hmass |
| CachedElement | _rhomass |
| CachedElement | _smass |
| CachedElement | _reverse |
Protected Attributes inherited from CoolProp::AbstractState | |
| long | _fluid_type |
| Some administrative variables. More... | |
| phases | _phase |
| The key for the phase from CoolProp::phases enum. More... | |
| phases | imposed_phase_index |
| If the phase is imposed, the imposed phase index. More... | |
| CacheArray< 80 > | cache |
| SimpleState | _critical |
| Two important points. More... | |
| SimpleState | _reducing |
| CAE | _molar_mass = cache.next() |
| Molar mass [mol/kg]. More... | |
| CAE | _gas_constant = cache.next() |
| Universal gas constant [J/mol/K]. More... | |
| double | _rhomolar |
| Bulk values. More... | |
| double | _T |
| double | _p |
| double | _Q |
| CAE | _tau = cache.next() |
| CAE | _delta = cache.next() |
| CAE | _viscosity = cache.next() |
| Transport properties. More... | |
| CAE | _conductivity = cache.next() |
| CAE | _surface_tension = cache.next() |
| CAE | _hmolar = cache.next() |
| CAE | _smolar = cache.next() |
| CAE | _umolar = cache.next() |
| CAE | _logp = cache.next() |
| CAE | _logrhomolar = cache.next() |
| CAE | _cpmolar = cache.next() |
| CAE | _cp0molar = cache.next() |
| CAE | _cvmolar = cache.next() |
| CAE | _speed_sound = cache.next() |
| CAE | _gibbsmolar = cache.next() |
| CAE | _helmholtzmolar = cache.next() |
| CAE | _hmolar_residual = cache.next() |
| Residual properties. More... | |
| CAE | _smolar_residual = cache.next() |
| CAE | _gibbsmolar_residual = cache.next() |
| CAE | _hmolar_excess = cache.next() |
| Excess properties. More... | |
| CAE | _smolar_excess = cache.next() |
| CAE | _gibbsmolar_excess = cache.next() |
| CAE | _umolar_excess = cache.next() |
| CAE | _volumemolar_excess = cache.next() |
| CAE | _helmholtzmolar_excess = cache.next() |
| CAE | _rhoLanc = cache.next() |
| Ancillary values. More... | |
| CAE | _rhoVanc = cache.next() |
| CAE | _pLanc = cache.next() |
| CAE | _pVanc = cache.next() |
| CAE | _TLanc = cache.next() |
| CAE | _TVanc = cache.next() |
| CachedElement | _fugacity_coefficient |
| CAE | _rho_spline = cache.next() |
| Smoothing values. More... | |
| CAE | _drho_spline_dh__constp = cache.next() |
| CAE | _drho_spline_dp__consth = cache.next() |
| CAE | _alpha0 = cache.next() |
| Cached low-level elements for in-place calculation of other properties. More... | |
| CAE | _dalpha0_dTau = cache.next() |
| CAE | _dalpha0_dDelta = cache.next() |
| CAE | _d2alpha0_dTau2 = cache.next() |
| CAE | _d2alpha0_dDelta_dTau = cache.next() |
| CAE | _d2alpha0_dDelta2 = cache.next() |
| CAE | _d3alpha0_dTau3 = cache.next() |
| CAE | _d3alpha0_dDelta_dTau2 = cache.next() |
| CAE | _d3alpha0_dDelta2_dTau = cache.next() |
| CAE | _d3alpha0_dDelta3 = cache.next() |
| CAE | _alphar = cache.next() |
| CAE | _dalphar_dTau = cache.next() |
| CAE | _dalphar_dDelta = cache.next() |
| CAE | _d2alphar_dTau2 = cache.next() |
| CAE | _d2alphar_dDelta_dTau = cache.next() |
| CAE | _d2alphar_dDelta2 = cache.next() |
| CAE | _d3alphar_dTau3 = cache.next() |
| CAE | _d3alphar_dDelta_dTau2 = cache.next() |
| CAE | _d3alphar_dDelta2_dTau = cache.next() |
| CAE | _d3alphar_dDelta3 = cache.next() |
| CAE | _d4alphar_dTau4 = cache.next() |
| CAE | _d4alphar_dDelta_dTau3 = cache.next() |
| CAE | _d4alphar_dDelta2_dTau2 = cache.next() |
| CAE | _d4alphar_dDelta3_dTau = cache.next() |
| CAE | _d4alphar_dDelta4 = cache.next() |
| CAE | _dalphar_dDelta_lim = cache.next() |
| CAE | _d2alphar_dDelta2_lim = cache.next() |
| CAE | _d2alphar_dDelta_dTau_lim = cache.next() |
| CAE | _d3alphar_dDelta2_dTau_lim = cache.next() |
| CAE | _rhoLmolar = cache.next() |
| Two-Phase variables. More... | |
| CAE | _rhoVmolar = cache.next() |
| CAE | _Qmass = cache.next() |
Additional Inherited Members | |
Static Public Member Functions inherited from CoolProp::AbstractState | |
| static AbstractState * | factory (const std::string &backend, const std::string &fluid_names) |
| A factory function to return a pointer to a new-allocated instance of one of the backends. More... | |
| static AbstractState * | factory (const std::string &backend, const std::vector< std::string > &fluid_names) |
| A factory function to return a pointer to a new-allocated instance of one of the backends. More... | |
Protected Types inherited from CoolProp::AbstractState | |
| using | CAE = CacheArrayElement< double > |
Protected Member Functions inherited from CoolProp::AbstractState | |
| bool | isSupercriticalPhase () |
| bool | isHomogeneousPhase () |
| bool | isTwoPhase () |
| virtual CoolPropDbl | calc_hmolar () |
| Using this backend, calculate the molar enthalpy in J/mol. More... | |
| virtual CoolPropDbl | calc_hmolar_residual () |
| Using this backend, calculate the residual molar enthalpy in J/mol. More... | |
| virtual CoolPropDbl | calc_smolar () |
| Using this backend, calculate the molar entropy in J/mol/K. More... | |
| virtual CoolPropDbl | calc_smolar_residual () |
| Using this backend, calculate the residual molar entropy in J/mol/K. More... | |
| virtual CoolPropDbl | calc_neff () |
| Using this backend, calculate effective hardness of interaction. More... | |
| virtual CoolPropDbl | calc_umolar () |
| Using this backend, calculate the molar internal energy in J/mol. More... | |
| virtual CoolPropDbl | calc_cpmolar () |
| Using this backend, calculate the molar constant-pressure specific heat in J/mol/K. More... | |
| virtual CoolPropDbl | calc_cpmolar_idealgas () |
| Using this backend, calculate the ideal gas molar constant-pressure specific heat in J/mol/K. More... | |
| virtual CoolPropDbl | calc_cvmolar () |
| Using this backend, calculate the molar constant-volume specific heat in J/mol/K. More... | |
| virtual CoolPropDbl | calc_gibbsmolar () |
| Using this backend, calculate the molar Gibbs function in J/mol. More... | |
| virtual CoolPropDbl | calc_gibbsmolar_residual () |
| Using this backend, calculate the residual molar Gibbs function in J/mol. More... | |
| virtual CoolPropDbl | calc_helmholtzmolar () |
| Using this backend, calculate the molar Helmholtz energy in J/mol. More... | |
| virtual CoolPropDbl | calc_speed_sound () |
| Using this backend, calculate the speed of sound in m/s. More... | |
| virtual CoolPropDbl | calc_isothermal_compressibility () |
| Using this backend, calculate the isothermal compressibility \( \kappa = -\frac{1}{v}\left.\frac{\partial v}{\partial p}\right|_T=\frac{1}{\rho}\left.\frac{\partial \rho}{\partial p}\right|_T\) in 1/Pa. More... | |
| virtual CoolPropDbl | calc_isobaric_expansion_coefficient () |
| Using this backend, calculate the isobaric expansion coefficient \( \beta = \frac{1}{v}\left.\frac{\partial v}{\partial T}\right|_p = -\frac{1}{\rho}\left.\frac{\partial \rho}{\partial T}\right|_p\) in 1/K. More... | |
| virtual CoolPropDbl | calc_isentropic_expansion_coefficient () |
| Using this backend, calculate the isentropic expansion coefficient \( \kappa_s = -\frac{c_p}{c_v}\frac{v}{p}\left.\frac{\partial p}{\partial v}\right|_T = \frac{\rho}{p}\left.\frac{\partial p}{\partial \rho}\right|_s\). More... | |
| virtual CoolPropDbl | calc_viscosity () |
| Using this backend, calculate the viscosity in Pa-s. More... | |
| virtual CoolPropDbl | calc_conductivity () |
| Using this backend, calculate the thermal conductivity in W/m/K. More... | |
| virtual CoolPropDbl | calc_surface_tension () |
| Using this backend, calculate the surface tension in N/m. More... | |
| virtual CoolPropDbl | calc_molar_mass () |
| Using this backend, calculate the molar mass in kg/mol. More... | |
| virtual CoolPropDbl | calc_acentric_factor () |
| Using this backend, calculate the acentric factor. More... | |
| virtual CoolPropDbl | calc_pressure () |
| Using this backend, calculate the pressure in Pa. More... | |
| virtual CoolPropDbl | calc_gas_constant () |
| Using this backend, calculate the universal gas constant \(R_u\) in J/mol/K. More... | |
| virtual CoolPropDbl | calc_fugacity_coefficient (std::size_t i) |
| Using this backend, calculate the fugacity coefficient (dimensionless) More... | |
| virtual std::vector< CoolPropDbl > | calc_fugacity_coefficients () |
| Using this backend, calculate the fugacity in Pa. More... | |
| virtual CoolPropDbl | calc_fugacity (std::size_t i) |
| Using this backend, calculate the fugacity in Pa. More... | |
| virtual CoolPropDbl | calc_chemical_potential (std::size_t i) |
| Using this backend, calculate the chemical potential in J/mol. More... | |
| virtual CoolPropDbl | calc_PIP () |
| Using this backend, calculate the phase identification parameter (PIP) More... | |
| virtual CoolPropDbl | calc_Qmass () |
| virtual PhaseMolarMasses | calc_phase_molar_masses () |
| virtual void | update_Qmass_pair (CoolProp::input_pairs pair, double v1, double v2) |
| virtual void | calc_excess_properties () |
| Using this backend, calculate and cache the excess properties. More... | |
| virtual CoolPropDbl | calc_alphar () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_dalphar_dDelta () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_dalphar_dTau () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d2alphar_dDelta2 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\delta}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d2alphar_dDelta_dTau () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d2alphar_dTau2 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\tau\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d3alphar_dDelta3 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\delta\delta}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d3alphar_dDelta2_dTau () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\delta\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d3alphar_dDelta_dTau2 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\tau\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d3alphar_dTau3 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\tau\tau\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d4alphar_dDelta4 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\delta\delta\delta}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d4alphar_dDelta3_dTau () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\delta\delta\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d4alphar_dDelta2_dTau2 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\delta\tau\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d4alphar_dDelta_dTau3 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\delta\tau\tau\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d4alphar_dTau4 () |
| Using this backend, calculate the residual Helmholtz energy term \(\alpha^r_{\tau\tau\tau\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_alpha0 () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_dalpha0_dDelta () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\delta}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_dalpha0_dTau () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d2alpha0_dDelta_dTau () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\delta\delta}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d2alpha0_dDelta2 () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\delta\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d2alpha0_dTau2 () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\tau\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d3alpha0_dDelta3 () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\delta\delta\delta}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d3alpha0_dDelta2_dTau () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\delta\delta\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d3alpha0_dDelta_dTau2 () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\delta\tau\tau}\) (dimensionless) More... | |
| virtual CoolPropDbl | calc_d3alpha0_dTau3 () |
| Using this backend, calculate the ideal-gas Helmholtz energy term \(\alpha^0_{\tau\tau\tau}\) (dimensionless) More... | |
| virtual void | calc_reducing_state () |
| virtual CoolPropDbl | calc_Tmax () |
| Using this backend, calculate the maximum temperature in K. More... | |
| virtual CoolPropDbl | calc_Tmin () |
| Using this backend, calculate the minimum temperature in K. More... | |
| virtual CoolPropDbl | calc_pmax () |
| Using this backend, calculate the maximum pressure in Pa. More... | |
| virtual CoolPropDbl | calc_GWP20 () |
| Using this backend, calculate the 20-year global warming potential (GWP) More... | |
| virtual CoolPropDbl | calc_GWP100 () |
| Using this backend, calculate the 100-year global warming potential (GWP) More... | |
| virtual CoolPropDbl | calc_GWP500 () |
| Using this backend, calculate the 500-year global warming potential (GWP) More... | |
| virtual CoolPropDbl | calc_ODP () |
| Using this backend, calculate the ozone depletion potential (ODP) More... | |
| virtual CoolPropDbl | calc_flame_hazard () |
| Using this backend, calculate the flame hazard. More... | |
| virtual CoolPropDbl | calc_health_hazard () |
| Using this backend, calculate the health hazard. More... | |
| virtual CoolPropDbl | calc_physical_hazard () |
| Using this backend, calculate the physical hazard. More... | |
| virtual CoolPropDbl | calc_dipole_moment () |
| Using this backend, calculate the dipole moment in C-m (1 D = 3.33564e-30 C-m) More... | |
| virtual CoolPropDbl | calc_first_partial_deriv (parameters Of, parameters Wrt, parameters Constant) |
| Calculate the first partial derivative for the desired derivative. More... | |
| virtual CoolPropDbl | calc_second_partial_deriv (parameters Of1, parameters Wrt1, parameters Constant1, parameters Wrt2, parameters Constant2) |
| Calculate the second partial derivative using the given backend. More... | |
| virtual CoolPropDbl | calc_reduced_density () |
| Using this backend, calculate the reduced density (rho/rhoc) More... | |
| virtual CoolPropDbl | calc_reciprocal_reduced_temperature () |
| Using this backend, calculate the reciprocal reduced temperature (Tc/T) More... | |
| virtual CoolPropDbl | calc_Bvirial () |
| Using this backend, calculate the second virial coefficient. More... | |
| virtual CoolPropDbl | calc_Cvirial () |
| Using this backend, calculate the third virial coefficient. More... | |
| virtual CoolPropDbl | calc_dBvirial_dT () |
| Using this backend, calculate the derivative dB/dT. More... | |
| virtual CoolPropDbl | calc_dCvirial_dT () |
| Using this backend, calculate the derivative dC/dT. More... | |
| virtual CoolPropDbl | calc_compressibility_factor () |
| Using this backend, calculate the compressibility factor Z \( Z = p/(\rho R T) \). More... | |
| virtual std::string | calc_name () |
| Using this backend, get the name of the fluid. More... | |
| virtual std::string | calc_description () |
| Using this backend, get the description of the fluid. More... | |
| virtual CoolPropDbl | calc_Ttriple () |
| Using this backend, get the triple point temperature in K. More... | |
| virtual CoolPropDbl | calc_p_triple () |
| Using this backend, get the triple point pressure in Pa. More... | |
| virtual CoolPropDbl | calc_T_critical () |
| Using this backend, get the critical point temperature in K. More... | |
| virtual CoolPropDbl | calc_T_reducing () |
| Using this backend, get the reducing point temperature in K. More... | |
| virtual CoolPropDbl | calc_p_critical () |
| Using this backend, get the critical point pressure in Pa. More... | |
| virtual CoolPropDbl | calc_p_reducing () |
| Using this backend, get the reducing point pressure in Pa. More... | |
| virtual CoolPropDbl | calc_rhomolar_critical () |
| Using this backend, get the critical point molar density in mol/m^3. More... | |
| virtual CoolPropDbl | calc_rhomass_critical () |
| Using this backend, get the critical point mass density in kg/m^3 - Added for IF97Backend which is mass based. More... | |
| virtual CoolPropDbl | calc_rhomolar_reducing () |
| Using this backend, get the reducing point molar density in mol/m^3. More... | |
| virtual void | calc_phase_envelope (const std::string &type) |
| Using this backend, construct the phase envelope, the variable type describes the type of phase envelope to be built. More... | |
| virtual CoolPropDbl | calc_rhomass () |
| virtual CoolPropDbl | calc_hmass () |
| virtual CoolPropDbl | calc_hmass_excess () |
| virtual CoolPropDbl | calc_smass () |
| virtual CoolPropDbl | calc_smass_excess () |
| virtual CoolPropDbl | calc_cpmass () |
| virtual CoolPropDbl | calc_cp0mass () |
| virtual CoolPropDbl | calc_cvmass () |
| virtual CoolPropDbl | calc_umass () |
| virtual CoolPropDbl | calc_umass_excess () |
| virtual CoolPropDbl | calc_gibbsmass () |
| virtual CoolPropDbl | calc_gibbsmass_excess () |
| virtual CoolPropDbl | calc_helmholtzmass () |
| virtual CoolPropDbl | calc_helmholtzmass_excess () |
| virtual CoolPropDbl | calc_volumemass_excess () |
| virtual void | update_states () |
| Update the states after having changed the reference state for enthalpy and entropy. More... | |
| virtual CoolPropDbl | calc_melting_line (int param, int given, CoolPropDbl value) |
| virtual CoolPropDbl | calc_saturation_ancillary (parameters param, int Q, parameters given, double value) |
| virtual phases | calc_phase () |
| Using this backend, calculate the phase. More... | |
| virtual void | calc_specify_phase (phases phase) |
| Using this backend, specify the phase to be used for all further calculations. More... | |
| virtual void | calc_unspecify_phase () |
| Using this backend, unspecify the phase. More... | |
| virtual std::vector< std::string > | calc_fluid_names () |
| Using this backend, get a vector of fluid names. More... | |
| virtual const CoolProp::SimpleState & | calc_state (const std::string &state) |
| virtual const CoolProp::PhaseEnvelopeData & | calc_phase_envelope_data () |
| virtual std::vector< CoolPropDbl > | calc_mole_fractions_liquid () |
| virtual std::vector< CoolPropDbl > | calc_mole_fractions_vapor () |
| virtual const std::vector< CoolPropDbl > | calc_mass_fractions () |
| virtual CoolPropDbl | calc_fraction_min () |
| Get the minimum fraction (mole, mass, volume) for incompressible fluid. More... | |
| virtual CoolPropDbl | calc_fraction_max () |
| Get the maximum fraction (mole, mass, volume) for incompressible fluid. More... | |
| virtual CoolPropDbl | calc_T_freeze () |
| virtual CoolPropDbl | calc_first_saturation_deriv (parameters Of1, parameters Wrt1) |
| virtual CoolPropDbl | calc_second_saturation_deriv (parameters Of1, parameters Wrt1, parameters Wrt2) |
| virtual CoolPropDbl | calc_first_two_phase_deriv (parameters Of, parameters Wrt, parameters Constant) |
| virtual CoolPropDbl | calc_second_two_phase_deriv (parameters Of, parameters Wrt, parameters Constant, parameters Wrt2, parameters Constant2) |
| virtual CoolPropDbl | calc_first_two_phase_deriv_splined (parameters Of, parameters Wrt, parameters Constant, CoolPropDbl x_end) |
| virtual CoolPropDbl | calc_saturated_liquid_keyed_output (parameters key) |
| virtual CoolPropDbl | calc_saturated_vapor_keyed_output (parameters key) |
| virtual void | calc_ideal_curve (const std::string &type, std::vector< double > &T, std::vector< double > &p) |
| virtual CoolPropDbl | calc_T () |
| Using this backend, get the temperature. More... | |
| virtual CoolPropDbl | calc_rhomolar () |
| Using this backend, get the molar density in mol/m^3. More... | |
| virtual double | calc_tangent_plane_distance (const double T, const double p, const std::vector< double > &w, const double rhomolar_guess) |
| Using this backend, calculate the tangent plane distance for a given trial composition. More... | |
| virtual void | calc_true_critical_point (double &T, double &rho) |
| Using this backend, return true critical point where dp/drho|T = 0 and d2p/drho^2|T = 0. More... | |
| virtual void | calc_conformal_state (const std::string &reference_fluid, CoolPropDbl &T, CoolPropDbl &rhomolar) |
| virtual void | calc_viscosity_contributions (CoolPropDbl &dilute, CoolPropDbl &initial_density, CoolPropDbl &residual, CoolPropDbl &critical) |
| virtual void | calc_conductivity_contributions (CoolPropDbl &dilute, CoolPropDbl &initial_density, CoolPropDbl &residual, CoolPropDbl &critical) |
| virtual std::vector< CriticalState > | calc_all_critical_points () |
| virtual void | calc_build_spinodal () |
| virtual SpinodalData | calc_get_spinodal_data () |
| virtual void | calc_criticality_contour_values (double &L1star, double &M1star) |
| virtual void | mass_to_molar_inputs (CoolProp::input_pairs &input_pair, CoolPropDbl &value1, CoolPropDbl &value2) |
| Convert mass-based input pair to molar-based input pair; If molar-based, do nothing. More... | |
| virtual void | calc_change_EOS (const std::size_t i, const std::string &EOS_name) |
| Change the equation of state for a given component to a specified EOS. More... | |
|
inlineoverridevirtual |
CachedElement _hVmass, _hLmass, _sVmass, sLmass;.
The name of the backend being used
Implements CoolProp::AbstractState.
Definition at line 25 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the acentric factor (unitless)
Reimplemented from CoolProp::AbstractState.
Definition at line 601 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the thermal conductivity in W/m/K.
Reimplemented from CoolProp::AbstractState.
Definition at line 658 of file IF97Backend.h.
|
inlineoverridevirtual |
Reimplemented from CoolProp::AbstractState.
Definition at line 519 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the molar constant-pressure specific heat in J/mol/K.
Reimplemented from CoolProp::AbstractState.
Definition at line 526 of file IF97Backend.h.
|
inlineoverridevirtual |
Reimplemented from CoolProp::AbstractState.
Definition at line 534 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the molar constant-volume specific heat in J/mol/K.
Reimplemented from CoolProp::AbstractState.
Definition at line 541 of file IF97Backend.h.
|
inline |
< Mass-based density
< Mass-based enthalpy
< Mass-based entropy
< Mass-based constant-pressure specific heat
< Mass-based constant-volume specific heat
< Mass-based internal energy
< Speed of sound
< Viscosity function
< Thermal conductivity
< Prandtl number
Definition at line 370 of file IF97Backend.h.
|
inlineoverridevirtual |
The fluid this backend represents (always Water by definition). AbstractState's default calc_fluid_names() throws — override here so callers like the SVDSBTL adapter (which expects fluid_names() to work on any source-of-truth backend) don't trip on it.
Reimplemented from CoolProp::AbstractState.
Definition at line 34 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the ideal gas constant in J/mol*K ==> multiplies IF97 Rgas by molar_mass() to put on molar basis per CoolProp convention
Reimplemented from CoolProp::AbstractState.
Definition at line 593 of file IF97Backend.h.
|
inlineoverridevirtual |
Reimplemented from CoolProp::AbstractState.
Definition at line 468 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the molar enthalpy in J/mol.
Reimplemented from CoolProp::AbstractState.
Definition at line 478 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the molar mass in kg/mol.
Reimplemented from CoolProp::AbstractState.
Definition at line 597 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the critical point pressure in Pa.
Reimplemented from CoolProp::AbstractState.
Definition at line 588 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the triple point pressure in Pa.
Reimplemented from CoolProp::AbstractState.
Definition at line 580 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the phase.
Reimplemented from CoolProp::AbstractState.
Definition at line 554 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the high pressure limit in Pa.
Reimplemented from CoolProp::AbstractState.
Definition at line 607 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the pressure in Pa.
Reimplemented from CoolProp::AbstractState.
Definition at line 639 of file IF97Backend.h.
|
inlineoverridevirtual |
Reimplemented from CoolProp::AbstractState.
Definition at line 453 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the critical point mass density in kg/m^3 - Added for IF97Backend which is mass based.
Reimplemented from CoolProp::AbstractState.
Definition at line 631 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the molar density in mol/m^3.
Reimplemented from CoolProp::AbstractState.
Definition at line 460 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the critical point molar density in mol/m^3.
Reimplemented from CoolProp::AbstractState.
Definition at line 628 of file IF97Backend.h.
|
inline |
< Mass-based density
< Mass-based enthalpy
< Mass-based entropy
< Mass-based constant-pressure specific heat
< Mass-based constant-volume specific heat
< Mass-based internal energy
< Speed of Sound
< Viscosity function
< Thermal conductivity
< Surface Tension
< Prandtl number
Definition at line 292 of file IF97Backend.h.
|
inline |
< Mass-based density
< Mass-based enthalpy
< Mass-based entropy
< Mass-based constant-pressure specific heat
< Mass-based constant-volume specific heat
< Mass-based internal energy
< Speed of Sound
< Viscosity function
< Thermal conductivity
< Surface Tension
< Prandtl number
Definition at line 331 of file IF97Backend.h.
|
inlineoverridevirtual |
Reimplemented from CoolProp::AbstractState.
Definition at line 486 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the molar entropy in J/mol/K.
Reimplemented from CoolProp::AbstractState.
Definition at line 496 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, specify the phase to be used for all further calculations.
Reimplemented from CoolProp::AbstractState.
Definition at line 563 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the speed of sound in m/s.
Reimplemented from CoolProp::AbstractState.
Definition at line 549 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the surface tension in N/m.
Reimplemented from CoolProp::AbstractState.
Definition at line 665 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the critical point temperature in K.
Reimplemented from CoolProp::AbstractState.
Definition at line 584 of file IF97Backend.h.
|
inlineoverridevirtual |
Note: Pmin not implemented in Abstract State or CoolProp Using this backend, get the high temperature limit in K
Reimplemented from CoolProp::AbstractState.
Definition at line 612 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the high pressure limit in K.
Reimplemented from CoolProp::AbstractState.
Definition at line 616 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, get the triple point temperature in K.
Reimplemented from CoolProp::AbstractState.
Definition at line 576 of file IF97Backend.h.
|
inlineoverridevirtual |
Reimplemented from CoolProp::AbstractState.
Definition at line 504 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the molar internal energy in J/mol.
Reimplemented from CoolProp::AbstractState.
Definition at line 511 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, unspecify the phase.
Reimplemented from CoolProp::AbstractState.
Definition at line 566 of file IF97Backend.h.
|
inlineoverridevirtual |
Using this backend, calculate the viscosity in Pa-s.
Reimplemented from CoolProp::AbstractState.
Definition at line 651 of file IF97Backend.h.
|
inlineoverridevirtual |
Override clear() function of IF97 Water.
Reimplemented from CoolProp::AbstractState.
Definition at line 60 of file IF97Backend.h.
|
inline |
Definition at line 655 of file IF97Backend.h.
|
inline |
J/kg * kg/mol = J/mol.
Return the mass-based constant pressure specific heat in J/kg/K
Definition at line 516 of file IF97Backend.h.
|
inline |
Return the molar-based constant pressure specific heat in J/mol/K.
Definition at line 523 of file IF97Backend.h.
|
inline |
J/kg-K * kg/mol = J/mol-K.
Return the mass-based constant volume specific heat in J/kg/K
Definition at line 531 of file IF97Backend.h.
|
inline |
Return the molar-based constant volume specific heat in J/mol/K.
Definition at line 538 of file IF97Backend.h.
|
inlineoverridevirtual |
Vectorized direct evaluation. See AbstractState::fast_evaluate for contract. IF97 is stateless under the hood; this entry point just dispatches each (T,p) or (h,p) point straight to the IF97 namespace evaluators with no allocations and no writes to the AbstractState cache.
Reimplemented from CoolProp::AbstractState.
Definition at line 677 of file IF97Backend.h.
|
inlineoverridevirtual |
Get the mole fractions of the fluid.
Implements CoolProp::AbstractState.
Definition at line 55 of file IF97Backend.h.
|
inline |
kg/m³ * mol/kg = mol/m³
Return the mass enthalpy in J/kg
Definition at line 465 of file IF97Backend.h.
|
inline |
Return the molar enthalpy in J/mol.
Definition at line 475 of file IF97Backend.h.
|
inline |
Definition at line 669 of file IF97Backend.h.
|
inline |
Return the mass density in kg/m³
Definition at line 450 of file IF97Backend.h.
|
inline |
Definition at line 624 of file IF97Backend.h.
|
inline |
Return the molar density in mol/m³
Definition at line 457 of file IF97Backend.h.
|
inline |
Using this backend, get the critical point density in kg/m³ Replace molar-based AbstractState functions since IF97 is mass based only
Definition at line 621 of file IF97Backend.h.
|
inlineoverridevirtual |
Implements CoolProp::AbstractState.
Definition at line 51 of file IF97Backend.h.
|
inlineoverridevirtual |
Implements CoolProp::AbstractState.
Definition at line 48 of file IF97Backend.h.
|
inline |
Definition at line 85 of file IF97Backend.h.
|
inlineoverridevirtual |
Reimplemented from CoolProp::AbstractState.
Definition at line 52 of file IF97Backend.h.
|
inline |
J/kg * kg/mol = J/mol.
Return the mass entropy in J/kg/K
Definition at line 483 of file IF97Backend.h.
|
inline |
Return the molar entropy in J/mol/K.
Definition at line 493 of file IF97Backend.h.
|
inline |
J/kg-K * kg/mol = J/mol-K.
Return the speed of sound in m/s
Definition at line 546 of file IF97Backend.h.
|
inline |
Definition at line 662 of file IF97Backend.h.
|
inline |
J/kg-K * kg/mol = J/mol-K.
Return the mass internal energy in J/kg
Definition at line 501 of file IF97Backend.h.
|
inline |
Return the molar internal energy in J/mol.
Definition at line 508 of file IF97Backend.h.
|
inlineoverridevirtual |
Updating function for IF97 Water.
In this function we take a pair of thermodynamic states, those defined in the input_pairs enumeration and update the bare minimum values needed to calculate the other values.
| input_pair | Integer key from CoolProp::input_pairs to the two inputs that will be passed to the function |
| value1 | First input value |
| value2 | Second input value |
Implements CoolProp::AbstractState.
Definition at line 167 of file IF97Backend.h.
|
inlineoverridevirtual |
Implements CoolProp::AbstractState.
Definition at line 42 of file IF97Backend.h.
|
inlineoverridevirtual |
Implements CoolProp::AbstractState.
Definition at line 39 of file IF97Backend.h.
|
inlineoverridevirtual |
Implements CoolProp::AbstractState.
Definition at line 45 of file IF97Backend.h.
|
inline |
Definition at line 648 of file IF97Backend.h.
|
protected |
Additional cached elements used only in this backend since the "normal" backends use only molar units while IF97 uses mass-based units
Definition at line 19 of file IF97Backend.h.
|
protected |
Definition at line 20 of file IF97Backend.h.
|
protected |
Definition at line 19 of file IF97Backend.h.
|
protected |
Definition at line 19 of file IF97Backend.h.