CoolProp  4.2.5
An open-source fluid property and humid air property database
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
IceSlurryPG Class Reference

#include <IncompSolution.h>

Inheritance diagram for IceSlurryPG:
SecCoolSolution BaseSolution IncompressibleSolution IncompressibleClass

Public Member Functions

 IceSlurryPG ()
 
double Tfreeze (double p, double x)
 Define freezing point calculations. More...
 
- Public Member Functions inherited from SecCoolSolution
 SecCoolSolution ()
 
- Public Member Functions inherited from BaseSolution
 BaseSolution ()
 
double getTbase () const
 
double getxbase () const
 
double getTInput (double curTValue)
 
double getxInput (double curxValue)
 
double rho (double T_K, double p, double x)
 Density as a function of temperature, pressure and composition. More...
 
double c (double T_K, double p, double x)
 Heat capacities as a function of temperature, pressure and composition. More...
 
double h (double T_K, double p, double x)
 Enthalpy as a function of temperature, pressure and composition. More...
 
double s (double T_K, double p, double x)
 Entropy as a function of temperature, pressure and composition. More...
 
double visc (double T_K, double p, double x)
 Viscosity as a function of temperature, pressure and composition. More...
 
double cond (double T_K, double p, double x)
 Thermal conductivity as a function of temperature, pressure and composition. More...
 
double u (double T_K, double p, double x)
 Internal energy as a function of temperature, pressure and composition. More...
 
- Public Member Functions inherited from IncompressibleSolution
 IncompressibleSolution ()
 
std::vector< std::vector
< double > > 
getcRho () const
 
std::vector< std::vector
< double > > 
getcHeat () const
 
std::vector< std::vector
< double > > 
getcVisc () const
 
std::vector< std::vector
< double > > 
getcCond () const
 
std::vector< std::vector
< double > > 
getcPsat () const
 
std::vector< double > getcTfreeze () const
 
virtual double cp (double T_K, double p, double x)
 
virtual double cv (double T_K, double p, double x)
 
virtual double psat (double T_K, double x)
 Saturation pressure as a function of temperature and composition. More...
 
void testInputs (double T_K, double p, double x)
 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 BaseSolution
double baseFunction (std::vector< double > const &coefficients, double T_K, double p, double x)
 Some more general purpose functions. More...
 
std::vector< std::vector
< double > > 
makeMatrix (std::vector< double > const &coefficients)
 
- Protected Member Functions inherited from IncompressibleSolution
double h_u (double T_K, double p, double x)
 Enthalpy from x, u, p and rho. More...
 
double u_h (double T_K, double p, double x)
 Internal energy from x, h, p and rho. More...
 
bool checkT (double T_K, double p, double x)
 Check validity of temperature input. More...
 
bool checkP (double T_K, double p, double x)
 Check validity of pressure input. More...
 
bool checkX (double x)
 Check validity of composition input. More...
 
bool checkTPX (double T, double p, double x)
 Check validity of temperature, pressure and composition 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 BaseSolution
double Tbase
 
double xbase
 
- Protected Attributes inherited from IncompressibleSolution
double xmin
 
double xmax
 
std::vector< std::vector
< double > > 
cRho
 
std::vector< std::vector
< double > > 
cHeat
 
std::vector< std::vector
< double > > 
cVisc
 
std::vector< std::vector
< double > > 
cCond
 
std::vector< std::vector
< double > > 
cPsat
 
std::vector< double > cTfreeze
 
- Protected Attributes inherited from IncompressibleClass
std::string name
 
std::string description
 
std::string reference
 
double Tmin
 
double TminPsat
 
double Tmax
 
double Tref
 
bool DEBUG
 

Detailed Description

Definition at line 1810 of file IncompSolution.h.

Constructor & Destructor Documentation

IceSlurryPG::IceSlurryPG ( )
inline

Definition at line 1812 of file IncompSolution.h.

Member Function Documentation

double IceSlurryPG::Tfreeze ( double  p,
double  x 
)
inlinevirtual

Define freezing point calculations.

Reimplemented from SecCoolSolution.

Definition at line 1921 of file IncompSolution.h.


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