CoolProp
Public Member Functions | Public Attributes | List of all members
CoolProp::EquationOfState Class Reference

Detailed Description

The core class for an equation of state.

This class holds the absolute minimum information to evaluate the equation of state. This includes the reducing state, limits on the equation of state, the coefficients for the Helmholtz derivative terms.

It does NOT include derived parameters like specific heat, enthalpy, etc.

#include <CoolPropFluid.h>

Public Member Functions

void validate ()
 Validate the EOS that was just constructed.
 
CoolPropDbl baser (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl dalphar_dDelta (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl dalphar_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alphar_dDelta2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alphar_dDelta_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alphar_dTau2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alphar_dDelta3 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alphar_dDelta2_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alphar_dDelta_dTau2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alphar_dTau3 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl base0 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl dalpha0_dDelta (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl dalpha0_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alpha0_dDelta2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alpha0_dDelta_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d2alpha0_dTau2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alpha0_dDelta3 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alpha0_dDelta2_dTau (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alpha0_dDelta_dTau2 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 
CoolPropDbl d3alpha0_dTau3 (const CoolPropDbl &tau, const CoolPropDbl &delta)
 

Public Attributes

SimpleState reduce
 Reducing state used for the EOS (usually, but not always, the critical point)
 
SimpleState sat_min_liquid
 The saturated liquid state at the minimum saturation temperature.
 
SimpleState sat_min_vapor
 The saturated vapor state at the minimum saturation temperature.
 
SimpleState hs_anchor
 A fixed anchor state at Tc*1.1 and rhoc*0.9 used as a reference state for enthalpy and entropy ancillary curves.
 
SimpleState max_sat_T
 The state at the maximum saturation temperature for pseudo-pure.
 
SimpleState max_sat_p
 The state at the maximum saturation pressure for pseudo-pure.
 
EOSLimits limits
 Limits on the EOS.
 
double R_u
 The universal gas constant used for this EOS (usually, but not always, 8.314472 J/mol/K)
 
double molar_mass
 The molar mass in kg/mol (note NOT kg/kmol)
 
double acentric
 The acentric factor \( \omega = -log_{10}\left(\frac{p_s(T/T_c=0.7)}{p_c}\right)-1\).
 
double Ttriple
 Triple point temperature (K)
 
double ptriple
 Triple point pressure (Pa)
 
bool pseudo_pure
 Is a pseudo-pure fluid (true) or pure fluid (false)
 
ResidualHelmholtzContainer alphar
 The residual Helmholtz energy.
 
IdealHelmholtzContainer alpha0
 The ideal Helmholtz energy.
 
std::string BibTeX_EOS
 The bibtex key for the equation of state.
 
std::string BibTeX_CP0
 The bibtex key for the ideal gas specific heat correlation.
 
CriticalRegionSplines critical_region_splines
 A cubic spline in the form T = f(rho) for saturated liquid and saturated vapor curves in the near-critical region.
 

The documentation for this class was generated from the following file: