CoolProp
4.2.5
An open-source fluid property and humid air property database
|
New fluids added with more coefficients. More...
#include <IncompLiquid.h>
Public Member Functions | |
TherminolD12Class () | |
Public Member Functions inherited from SimpleIncompressible | |
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) |
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) |
Protected Attributes inherited from SimpleIncompressible | |
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 |
New fluids added with more coefficients.
New data for a few fluids. Most of these models employ an extended set of parameters consisting of a 3rd order polynomial for density and heat capacity, a 2nd order polynomial for thermal conductivity as well as an exponential function for viscosity. I rewrote the base class to match this new form since I expect all the new fluids to follow this pattern. The "dev" folder contains Python scripts to fit functions to data. Have a look there and you will see how easy it is to extend the fluid database. Therminol Fluids Data sheets for most Therminol (Solutia) fluids are available from their homepage and we will implement some of them as liquid only (!) and incompressible heat transfer media.
Definition at line 469 of file IncompLiquid.h.
|
inline |
Definition at line 471 of file IncompLiquid.h.