CoolProp
4.2.5
An open-source fluid property and humid air property database
|
Base class for simplified models. More...
#include <IncompLiquid.h>
Public Member Functions | |
double | rho (double T_K, double p) |
Density as a function of temperature and pressure. More... | |
double | c (double T_K, double p) |
Heat capacities as a function of temperature and pressure. More... | |
double | h (double T_K, double p) |
Enthalpy as a function of temperature and pressure. More... | |
double | s (double T_K, double p) |
Entropy as a function of temperature and pressure. More... | |
double | visc (double T_K, double p) |
Viscosity as a function of temperature and pressure. More... | |
double | cond (double T_K, double p) |
Thermal conductivity as a function of temperature and pressure. More... | |
double | u (double T_K, double p) |
Internal energy as a function of temperature and pressure. More... | |
double | psat (double T_K) |
Saturation pressure as a function of temperature. More... | |
Public Member Functions inherited from IncompressibleLiquid | |
virtual double | cp (double T_K, double p) |
virtual double | cv (double T_K, double p) |
void | testInputs (double T_K, double p) |
Base class for simplified brine/solution models. More... | |
Public Member Functions inherited from IncompressibleClass | |
std::string | getDescription () const |
std::string | getName () const |
std::string | get_name () const |
std::string | getReference () const |
double | getTmax () const |
double | getTmin () const |
double | getTminPsat () const |
double | getTref () const |
void | setDebug (bool debug) |
IncompressibleClass () | |
virtual | ~IncompressibleClass () |
double | polyval (std::vector< double > const &coefficients, double x) |
double | polyval (std::vector< std::vector< double > > const &coefficients, double x, double y) |
double | polyint (std::vector< double > const &coefficients, double T) |
double | polyint (std::vector< double > const &coefficients, double T1, double T0) |
double | polyint (std::vector< std::vector< double > > const &coefficients, double x, double T) |
double | polyint (std::vector< std::vector< double > > const &coefficients, double x, double T1, double T0) |
double | polyfracint (std::vector< double > const &coefficients, double T) |
double | polyfracint (std::vector< double > const &coefficients, double T1, double T0) |
double | polyfracint (std::vector< std::vector< double > > const &coefficients, double x, double T) |
double | polyfracint (std::vector< std::vector< double > > const &coefficients, double x, double T1, double T0) |
double | polyfracintcentral (std::vector< double > const &coefficients, double T, double Tbase) |
double | polyfracintcentral (std::vector< double > const &coefficients, double T1, double T0, double Tbase) |
double | polyfracintcentral (std::vector< std::vector< double > > const &coefficients, double x, double T, double Tbase) |
double | polyfracintcentral (std::vector< std::vector< double > > const &coefficients, double x, double T1, double T0, double Tbase) |
double | expval (std::vector< double > const &coefficients, double T, int n) |
double | expval (std::vector< std::vector< double > > const &coefficients, double x, double T, int n) |
Protected Attributes | |
std::vector< double > | cRho |
std::vector< double > | cHeat |
std::vector< double > | cVisc |
std::vector< double > | cCond |
std::vector< double > | cPsat |
Protected Attributes inherited from IncompressibleClass | |
std::string | name |
std::string | description |
std::string | reference |
double | Tmin |
double | TminPsat |
double | Tmax |
double | Tref |
bool | DEBUG |
Additional Inherited Members | |
Protected Member Functions inherited from IncompressibleLiquid | |
double | h_u (double T_K, double p) |
Enthalpy from u,p and rho. More... | |
double | u_h (double T_K, double p) |
Internal energy from h,p and rho. More... | |
bool | checkT (double T_K) |
Check validity of temperature input. More... | |
bool | checkP (double T_K, double p) |
Check validity of pressure input. More... | |
bool | checkTP (double T, double p) |
Check validity of temperature and pressure input. More... | |
Protected Member Functions inherited from IncompressibleClass | |
bool | checkCoefficients (std::vector< double > const &coefficients, unsigned int n) |
Basic checks for coefficient vectors. More... | |
bool | checkCoefficients (std::vector< std::vector< double > > const &coefficients, unsigned int rows, unsigned int columns) |
Base class for simplified models.
Employs the base functions implemented above, only needs a reduced set of coefficients for density and heat capacity. The other quantities are calculated from combinations of the coefficients. Additionally, extra parameters are used for viscosity and thermal conductivity.
Definition at line 137 of file IncompLiquid.h.
|
inlinevirtual |
Heat capacities as a function of temperature and pressure.
Reimplemented from IncompressibleLiquid.
Definition at line 150 of file IncompLiquid.h.
|
inlinevirtual |
Thermal conductivity as a function of temperature and pressure.
Reimplemented from IncompressibleLiquid.
Definition at line 166 of file IncompLiquid.h.
|
inlinevirtual |
Enthalpy as a function of temperature and pressure.
Reimplemented from IncompressibleLiquid.
Definition at line 154 of file IncompLiquid.h.
|
inlinevirtual |
Saturation pressure as a function of temperature.
Reimplemented from IncompressibleLiquid.
Definition at line 173 of file IncompLiquid.h.
|
inlinevirtual |
Density as a function of temperature and pressure.
Reimplemented from IncompressibleLiquid.
Definition at line 146 of file IncompLiquid.h.
|
inlinevirtual |
Entropy as a function of temperature and pressure.
Reimplemented from IncompressibleLiquid.
Definition at line 158 of file IncompLiquid.h.
|
inlinevirtual |
Internal energy as a function of temperature and pressure.
Reimplemented from IncompressibleLiquid.
Definition at line 170 of file IncompLiquid.h.
|
inlinevirtual |
Viscosity as a function of temperature and pressure.
Reimplemented from IncompressibleLiquid.
Reimplemented in TCOLiquidClass, HCBLiquidClass, SABLiquidClass, PMS2LiquidClass, PMS1LiquidClass, HFELiquidClass, HCMLiquidClass, and DEBLiquidClass.
Definition at line 162 of file IncompLiquid.h.
|
protected |
Definition at line 142 of file IncompLiquid.h.
|
protected |
Definition at line 140 of file IncompLiquid.h.
|
protected |
Definition at line 143 of file IncompLiquid.h.
|
protected |
Definition at line 139 of file IncompLiquid.h.
|
protected |
Definition at line 141 of file IncompLiquid.h.