CoolProp  6.6.1dev
An open-source fluid property and humid air property database
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CoolProp::IncompressibleFluid Class Reference

Detailed Description

A property provider for incompressible solutions and pure fluids.

This fluid instance is populated using an entry from a JSON file

Definition at line 57 of file IncompressibleFluid.h.

#include <IncompressibleFluid.h>

Public Member Functions

 IncompressibleFluid ()
 
virtual ~IncompressibleFluid ()
 
std::string getName () const
 
std::string get_name () const
 
std::string getDescription () const
 
std::string getReference () const
 
double getTmax () const
 
double getTmin () const
 
double getxmax () const
 
double getxmin () const
 
composition_types getxid () const
 
double getTminPsat () const
 
double getTbase () const
 
double getxbase () const
 
void setName (const std::string &name)
 
void setDescription (const std::string &description)
 
void setReference (const std::string &reference)
 
void setTmax (double Tmax)
 
void setTmin (double Tmin)
 
void setxmax (double xmax)
 
void setxmin (double xmin)
 
void setxid (composition_types xid)
 
void setTminPsat (double TminPsat)
 
void setTbase (double Tbase)
 
void setxbase (double xbase)
 
void setDensity (IncompressibleData density)
 Setters for the coefficients. More...
 
void setSpecificHeat (IncompressibleData specific_heat)
 
void setViscosity (IncompressibleData viscosity)
 
void setConductivity (IncompressibleData conductivity)
 
void setPsat (IncompressibleData p_sat)
 
void setTfreeze (IncompressibleData T_freeze)
 
void setMass2input (IncompressibleData mass2input)
 Setters for the concentration conversion coefficients. More...
 
void setVolume2input (IncompressibleData volume2input)
 
void setMole2input (IncompressibleData mole2input)
 
void validate ()
 A function to check coefficients and equation types. More...
 
bool is_pure ()
 A function to test the density coefficients for 1D or 2D. More...
 
double rho (double T, double p, double x)
 Density as a function of temperature, pressure and composition. More...
 
double c (double T, double p, double x)
 Heat capacities as a function of temperature, pressure and composition. More...
 
double cp (double T, double p, double x)
 
double cv (double T, double p, double x)
 
double s (double T, double p, double x)
 Entropy as a function of temperature, pressure and composition. More...
 
double u (double T, double p, double x)
 Internal energy as a function of temperature, pressure and composition. More...
 
double h (double T, double p, double x)
 Enthalpy as a function of temperature, pressure and composition. More...
 
double visc (double T, double p, double x)
 Viscosity as a function of temperature, pressure and composition. More...
 
double cond (double T, double p, double x)
 Thermal conductivity as a function of temperature, pressure and composition. More...
 
double psat (double T, double x)
 Saturation pressure as a function of temperature and composition. More...
 
double Tfreeze (double p, double x)
 Freezing temperature as a function of pressure and composition. More...
 
double drhodTatPx (double T, double p, double x)
 Partial derivative of density. More...
 
double dsdTatPxdT (double T, double p, double x)
 Partial derivative of entropy. More...
 
double dhdTatPxdT (double T, double p, double x)
 Partial derivative of enthalpy. More...
 
double inputFromMass (double T, double x)
 Mass fraction conversion function. More...
 
double inputFromVolume (double T, double x)
 Volume fraction conversion function. More...
 
double inputFromMole (double T, double x)
 Mole fraction conversion function. More...
 
double T_rho (double Dmass, double p, double x)
 Temperature as a function of density, pressure and composition. More...
 
double T_c (double Cmass, double p, double x)
 Temperature as a function of heat capacities as a function of temperature, pressure and composition. More...
 
double T_s (double Smass, double p, double x)
 Temperature as a function of entropy as a function of temperature, pressure and composition. More...
 
double T_u (double Umass, double p, double x)
 Temperature as a function of internal energy as a function of temperature, pressure and composition. More...
 
double T_h (double Hmass, double p, double x)
 Temperature as a function of enthalpy, pressure and composition. More...
 
double T_visc (double visc, double p, double x)
 Viscosity as a function of temperature, pressure and composition. More...
 
double T_cond (double cond, double p, double x)
 Thermal conductivity as a function of temperature, pressure and composition. More...
 
double T_psat (double psat, double x)
 Saturation pressure as a function of temperature and composition. More...
 
double x_Tfreeze (double Tfreeze, double p)
 Composition as a function of freezing temperature and pressure. 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

double baseExponential (IncompressibleData data, double y, double ybase)
 Base functions that handle the custom function types. More...
 
double baseLogexponential (IncompressibleData data, double y, double ybase)
 Base exponential function with logarithmic term. More...
 
double baseExponentialOffset (IncompressibleData data, double y)
 
double basePolyOffset (IncompressibleData data, double y, double z=0.0)
 
double h_u (double T, double p, double x)
 Enthalpy from u, p and rho. More...
 
double u_h (double T, double p, double x)
 Internal energy from h, p and rho. More...
 
bool checkT (double T, double p, double x)
 Check validity of temperature input. More...
 
bool checkP (double T, double p, double x)
 Check validity of pressure input. More...
 

Protected Attributes

bool strict
 
std::string name
 
std::string description
 
std::string reference
 
double Tmin
 
double Tmax
 
double xmin
 
double xmax
 
composition_types xid
 
double TminPsat
 
double xbase
 
double Tbase
 
IncompressibleData density
 These are the objects that hold the coefficients. More...
 
IncompressibleData specific_heat
 Specific heat coefficients. More...
 
IncompressibleData viscosity
 Viscosity coefficients. More...
 
IncompressibleData conductivity
 Conductivity coefficients. More...
 
IncompressibleData p_sat
 Saturation pressure coefficients. More...
 
IncompressibleData T_freeze
 Freezing temperature coefficients. More...
 
IncompressibleData mass2input
 Mass fraction conversion coefficients. More...
 
IncompressibleData volume2input
 Volume fraction conversion coefficients. More...
 
IncompressibleData mole2input
 Mole fraction conversion coefficients. More...
 
Polynomial2DFrac poly
 

Constructor & Destructor Documentation

◆ IncompressibleFluid()

CoolProp::IncompressibleFluid::IncompressibleFluid ( )
inline

Definition at line 140 of file IncompressibleFluid.h.

◆ ~IncompressibleFluid()

virtual CoolProp::IncompressibleFluid::~IncompressibleFluid ( )
inlinevirtual

Definition at line 144 of file IncompressibleFluid.h.

Member Function Documentation

◆ baseExponential()

double CoolProp::IncompressibleFluid::baseExponential ( IncompressibleData  data,
double  y,
double  ybase 
)
protected

Base functions that handle the custom function types.

Base exponential function.

Definition at line 37 of file IncompressibleFluid.cpp.

◆ baseExponentialOffset()

double CoolProp::IncompressibleFluid::baseExponentialOffset ( IncompressibleData  data,
double  y 
)
protected

◆ baseLogexponential()

double CoolProp::IncompressibleFluid::baseLogexponential ( IncompressibleData  data,
double  y,
double  ybase 
)
protected

Base exponential function with logarithmic term.

Definition at line 63 of file IncompressibleFluid.cpp.

◆ basePolyOffset()

double CoolProp::IncompressibleFluid::basePolyOffset ( IncompressibleData  data,
double  y,
double  z = 0.0 
)
protected

Definition at line 88 of file IncompressibleFluid.cpp.

◆ c()

double CoolProp::IncompressibleFluid::c ( double  T,
double  p,
double  x 
)

Heat capacities as a function of temperature, pressure and composition.

Definition at line 131 of file IncompressibleFluid.cpp.

◆ checkP()

bool CoolProp::IncompressibleFluid::checkP ( double  T,
double  p,
double  x 
)
protected

Check validity of pressure input.

Compares the given pressure p to the saturation pressure at temperature T and throws and exception if p is lower than the saturation conditions. The default value for psat is -1 yielding true if psat is not redefined in the subclass.

Definition at line 449 of file IncompressibleFluid.cpp.

◆ checkT()

bool CoolProp::IncompressibleFluid::checkT ( double  T,
double  p,
double  x 
)
protected

Check validity of temperature input.

Compares the given temperature T to the result of a freezing point calculation. This is not necessarily defined for all fluids, default values do not cause errors.

Definition at line 432 of file IncompressibleFluid.cpp.

◆ checkTPX()

bool CoolProp::IncompressibleFluid::checkTPX ( double  T,
double  p,
double  x 
)
inline

Check validity of temperature, pressure and composition input.

Definition at line 423 of file IncompressibleFluid.h.

◆ checkX()

bool CoolProp::IncompressibleFluid::checkX ( double  x)

Check validity of composition input.

Compares the given composition x to a stored minimum and maximum value. Enforces the redefinition of xmin and xmax since the default values cause an error.

Definition at line 461 of file IncompressibleFluid.cpp.

◆ cond()

double CoolProp::IncompressibleFluid::cond ( double  T,
double  p,
double  x 
)

Thermal conductivity as a function of temperature, pressure and composition.

Definition at line 166 of file IncompressibleFluid.cpp.

◆ cp()

double CoolProp::IncompressibleFluid::cp ( double  T,
double  p,
double  x 
)
inline

Definition at line 269 of file IncompressibleFluid.h.

◆ cv()

double CoolProp::IncompressibleFluid::cv ( double  T,
double  p,
double  x 
)
inline

Definition at line 272 of file IncompressibleFluid.h.

◆ dhdTatPxdT()

double CoolProp::IncompressibleFluid::dhdTatPxdT ( double  T,
double  p,
double  x 
)

Partial derivative of enthalpy.

Definition at line 262 of file IncompressibleFluid.cpp.

◆ drhodTatPx()

double CoolProp::IncompressibleFluid::drhodTatPx ( double  T,
double  p,
double  x 
)

Partial derivative of density.

Partial derivative of density with respect to temperature at constant pressure and composition.

Definition at line 232 of file IncompressibleFluid.cpp.

◆ dsdTatPxdT()

double CoolProp::IncompressibleFluid::dsdTatPxdT ( double  T,
double  p,
double  x 
)

Partial derivative of entropy.

Definition at line 247 of file IncompressibleFluid.cpp.

◆ get_name()

std::string CoolProp::IncompressibleFluid::get_name ( ) const
inline

Definition at line 149 of file IncompressibleFluid.h.

◆ getDescription()

std::string CoolProp::IncompressibleFluid::getDescription ( ) const
inline

Definition at line 152 of file IncompressibleFluid.h.

◆ getName()

std::string CoolProp::IncompressibleFluid::getName ( ) const
inline

Definition at line 146 of file IncompressibleFluid.h.

◆ getReference()

std::string CoolProp::IncompressibleFluid::getReference ( ) const
inline

Definition at line 155 of file IncompressibleFluid.h.

◆ getTbase()

double CoolProp::IncompressibleFluid::getTbase ( ) const
inline

Definition at line 177 of file IncompressibleFluid.h.

◆ getTmax()

double CoolProp::IncompressibleFluid::getTmax ( ) const
inline

Definition at line 159 of file IncompressibleFluid.h.

◆ getTmin()

double CoolProp::IncompressibleFluid::getTmin ( ) const
inline

Definition at line 162 of file IncompressibleFluid.h.

◆ getTminPsat()

double CoolProp::IncompressibleFluid::getTminPsat ( ) const
inline

Definition at line 174 of file IncompressibleFluid.h.

◆ getxbase()

double CoolProp::IncompressibleFluid::getxbase ( ) const
inline

Definition at line 180 of file IncompressibleFluid.h.

◆ getxid()

composition_types CoolProp::IncompressibleFluid::getxid ( ) const
inline

Definition at line 171 of file IncompressibleFluid.h.

◆ getxmax()

double CoolProp::IncompressibleFluid::getxmax ( ) const
inline

Definition at line 165 of file IncompressibleFluid.h.

◆ getxmin()

double CoolProp::IncompressibleFluid::getxmin ( ) const
inline

Definition at line 168 of file IncompressibleFluid.h.

◆ h()

double CoolProp::IncompressibleFluid::h ( double  T,
double  p,
double  x 
)
inline

Enthalpy as a function of temperature, pressure and composition.

Definition at line 286 of file IncompressibleFluid.h.

◆ h_u()

double CoolProp::IncompressibleFluid::h_u ( double  T,
double  p,
double  x 
)
inlineprotected

Enthalpy from u, p and rho.

Calculate enthalpy as a function of temperature and pressure employing functions for internal energy and density. Provides consistent formulations.

Definition at line 382 of file IncompressibleFluid.h.

◆ inputFromMass()

double CoolProp::IncompressibleFluid::inputFromMass ( double  T,
double  x 
)

Mass fraction conversion function.

If the fluid type is mass-based, it does not do anything. Otherwise, it converts the mass fraction to the required input.

Definition at line 278 of file IncompressibleFluid.cpp.

◆ inputFromMole()

double CoolProp::IncompressibleFluid::inputFromMole ( double  T,
double  x 
)

Mole fraction conversion function.

If the fluid type is mole-based, it does not do anything. Otherwise, it converts the mole fraction to the required input.

Definition at line 352 of file IncompressibleFluid.cpp.

◆ inputFromVolume()

double CoolProp::IncompressibleFluid::inputFromVolume ( double  T,
double  x 
)

Volume fraction conversion function.

If the fluid type is volume-based, it does not do anything. Otherwise, it converts the volume fraction to the required input.

Definition at line 315 of file IncompressibleFluid.cpp.

◆ is_pure()

bool CoolProp::IncompressibleFluid::is_pure ( )

A function to test the density coefficients for 1D or 2D.

Definition at line 31 of file IncompressibleFluid.cpp.

◆ psat()

double CoolProp::IncompressibleFluid::psat ( double  T,
double  x 
)

Saturation pressure as a function of temperature and composition.

Definition at line 186 of file IncompressibleFluid.cpp.

◆ rho()

double CoolProp::IncompressibleFluid::rho ( double  T,
double  p,
double  x 
)

Density as a function of temperature, pressure and composition.

Definition at line 110 of file IncompressibleFluid.cpp.

◆ s()

double CoolProp::IncompressibleFluid::s ( double  T,
double  p,
double  x 
)
inline

Entropy as a function of temperature, pressure and composition.

Definition at line 276 of file IncompressibleFluid.h.

◆ setConductivity()

void CoolProp::IncompressibleFluid::setConductivity ( IncompressibleData  conductivity)
inline

Definition at line 228 of file IncompressibleFluid.h.

◆ setDensity()

void CoolProp::IncompressibleFluid::setDensity ( IncompressibleData  density)
inline

Setters for the coefficients.

Definition at line 219 of file IncompressibleFluid.h.

◆ setDescription()

void CoolProp::IncompressibleFluid::setDescription ( const std::string &  description)
inline

Definition at line 187 of file IncompressibleFluid.h.

◆ setMass2input()

void CoolProp::IncompressibleFluid::setMass2input ( IncompressibleData  mass2input)
inline

Setters for the concentration conversion coefficients.

Definition at line 239 of file IncompressibleFluid.h.

◆ setMole2input()

void CoolProp::IncompressibleFluid::setMole2input ( IncompressibleData  mole2input)
inline

Definition at line 245 of file IncompressibleFluid.h.

◆ setName()

void CoolProp::IncompressibleFluid::setName ( const std::string &  name)
inline

Definition at line 184 of file IncompressibleFluid.h.

◆ setPsat()

void CoolProp::IncompressibleFluid::setPsat ( IncompressibleData  p_sat)
inline

Definition at line 231 of file IncompressibleFluid.h.

◆ setReference()

void CoolProp::IncompressibleFluid::setReference ( const std::string &  reference)
inline

Definition at line 190 of file IncompressibleFluid.h.

◆ setSpecificHeat()

void CoolProp::IncompressibleFluid::setSpecificHeat ( IncompressibleData  specific_heat)
inline

Definition at line 222 of file IncompressibleFluid.h.

◆ setTbase()

void CoolProp::IncompressibleFluid::setTbase ( double  Tbase)
inline

Definition at line 211 of file IncompressibleFluid.h.

◆ setTfreeze()

void CoolProp::IncompressibleFluid::setTfreeze ( IncompressibleData  T_freeze)
inline

Definition at line 234 of file IncompressibleFluid.h.

◆ setTmax()

void CoolProp::IncompressibleFluid::setTmax ( double  Tmax)
inline

Definition at line 193 of file IncompressibleFluid.h.

◆ setTmin()

void CoolProp::IncompressibleFluid::setTmin ( double  Tmin)
inline

Definition at line 196 of file IncompressibleFluid.h.

◆ setTminPsat()

void CoolProp::IncompressibleFluid::setTminPsat ( double  TminPsat)
inline

Definition at line 208 of file IncompressibleFluid.h.

◆ setViscosity()

void CoolProp::IncompressibleFluid::setViscosity ( IncompressibleData  viscosity)
inline

Definition at line 225 of file IncompressibleFluid.h.

◆ setVolume2input()

void CoolProp::IncompressibleFluid::setVolume2input ( IncompressibleData  volume2input)
inline

Definition at line 242 of file IncompressibleFluid.h.

◆ setxbase()

void CoolProp::IncompressibleFluid::setxbase ( double  xbase)
inline

Definition at line 214 of file IncompressibleFluid.h.

◆ setxid()

void CoolProp::IncompressibleFluid::setxid ( composition_types  xid)
inline

Definition at line 205 of file IncompressibleFluid.h.

◆ setxmax()

void CoolProp::IncompressibleFluid::setxmax ( double  xmax)
inline

Definition at line 199 of file IncompressibleFluid.h.

◆ setxmin()

void CoolProp::IncompressibleFluid::setxmin ( double  xmin)
inline

Definition at line 202 of file IncompressibleFluid.h.

◆ T_c()

double CoolProp::IncompressibleFluid::T_c ( double  Cmass,
double  p,
double  x 
)

Temperature as a function of heat capacities as a function of temperature, pressure and composition.

Definition at line 408 of file IncompressibleFluid.cpp.

◆ T_cond()

double CoolProp::IncompressibleFluid::T_cond ( double  cond,
double  p,
double  x 
)
inline

Thermal conductivity as a function of temperature, pressure and composition.

Definition at line 361 of file IncompressibleFluid.h.

◆ T_h()

double CoolProp::IncompressibleFluid::T_h ( double  Hmass,
double  p,
double  x 
)
inline

Temperature as a function of enthalpy, pressure and composition.

Definition at line 353 of file IncompressibleFluid.h.

◆ T_psat()

double CoolProp::IncompressibleFluid::T_psat ( double  psat,
double  x 
)
inline

Saturation pressure as a function of temperature and composition.

Definition at line 365 of file IncompressibleFluid.h.

◆ T_rho()

double CoolProp::IncompressibleFluid::T_rho ( double  Dmass,
double  p,
double  x 
)

Temperature as a function of density, pressure and composition.

Definition at line 394 of file IncompressibleFluid.cpp.

◆ T_s()

double CoolProp::IncompressibleFluid::T_s ( double  Smass,
double  p,
double  x 
)
inline

Temperature as a function of entropy as a function of temperature, pressure and composition.

Definition at line 345 of file IncompressibleFluid.h.

◆ T_u()

double CoolProp::IncompressibleFluid::T_u ( double  Umass,
double  p,
double  x 
)
inline

Temperature as a function of internal energy as a function of temperature, pressure and composition.

Definition at line 349 of file IncompressibleFluid.h.

◆ T_visc()

double CoolProp::IncompressibleFluid::T_visc ( double  visc,
double  p,
double  x 
)
inline

Viscosity as a function of temperature, pressure and composition.

Definition at line 357 of file IncompressibleFluid.h.

◆ Tfreeze()

double CoolProp::IncompressibleFluid::Tfreeze ( double  p,
double  x 
)

Freezing temperature as a function of pressure and composition.

Definition at line 207 of file IncompressibleFluid.cpp.

◆ u()

double CoolProp::IncompressibleFluid::u ( double  T,
double  p,
double  x 
)
inline

Internal energy as a function of temperature, pressure and composition.

Definition at line 281 of file IncompressibleFluid.h.

◆ u_h()

double CoolProp::IncompressibleFluid::u_h ( double  T,
double  p,
double  x 
)
inlineprotected

Internal energy from h, p and rho.

Calculate internal energy as a function of temperature and pressure employing functions for enthalpy and density. Provides consistent formulations.

Definition at line 390 of file IncompressibleFluid.h.

◆ validate()

void CoolProp::IncompressibleFluid::validate ( )

A function to check coefficients and equation types.

A thermophysical property provider for all properties.

This fluid instance is populated using an entry from a JSON file and uses simplified polynomial and exponential functions to calculate thermophysical and transport properties.

Definition at line 23 of file IncompressibleFluid.cpp.

◆ visc()

double CoolProp::IncompressibleFluid::visc ( double  T,
double  p,
double  x 
)

Viscosity as a function of temperature, pressure and composition.

Definition at line 146 of file IncompressibleFluid.cpp.

◆ x_Tfreeze()

double CoolProp::IncompressibleFluid::x_Tfreeze ( double  Tfreeze,
double  p 
)
inline

Composition as a function of freezing temperature and pressure.

Definition at line 369 of file IncompressibleFluid.h.

Member Data Documentation

◆ conductivity

IncompressibleData CoolProp::IncompressibleFluid::conductivity
protected

Conductivity coefficients.

If 2D, the rows are temperature and the columns are concentration. If 1D, should be a column vector of temperature coefficients

Definition at line 105 of file IncompressibleFluid.h.

◆ density

IncompressibleData CoolProp::IncompressibleFluid::density
protected

These are the objects that hold the coefficients.

Note that all polynomials require a 2-dimensional array of coefficients. This array may have only one row or column, but the structure should be 2D. This behaviour is hard-coded in the JSON file reader that resides inside the IncompressibleLibrary.cpp All other functions, also polyoffset, can only handle 1D input and throw an error if you feed them other coefficients. Density coefficients If 2D, the rows are temperature and the columns are concentration. If 1D, should be a column vector of temperature coefficients

Definition at line 88 of file IncompressibleFluid.h.

◆ description

std::string CoolProp::IncompressibleFluid::description
protected

Definition at line 64 of file IncompressibleFluid.h.

◆ mass2input

IncompressibleData CoolProp::IncompressibleFluid::mass2input
protected

Mass fraction conversion coefficients.

If the fluid type is mass-based, it does not do anything. Otherwise, it converts the mass fraction to the required input.

Definition at line 121 of file IncompressibleFluid.h.

◆ mole2input

IncompressibleData CoolProp::IncompressibleFluid::mole2input
protected

Mole fraction conversion coefficients.

If the fluid type is mole-based, it does not do anything. Otherwise, it converts the mole fraction to the required input.

Definition at line 131 of file IncompressibleFluid.h.

◆ name

std::string CoolProp::IncompressibleFluid::name
protected

Definition at line 63 of file IncompressibleFluid.h.

◆ p_sat

IncompressibleData CoolProp::IncompressibleFluid::p_sat
protected

Saturation pressure coefficients.

If 2D, the rows are temperature and the columns are concentration. If 1D, should be a column vector of temperature coefficients

Definition at line 110 of file IncompressibleFluid.h.

◆ poly

Polynomial2DFrac CoolProp::IncompressibleFluid::poly
protected

Definition at line 133 of file IncompressibleFluid.h.

◆ reference

std::string CoolProp::IncompressibleFluid::reference
protected

Definition at line 65 of file IncompressibleFluid.h.

◆ specific_heat

IncompressibleData CoolProp::IncompressibleFluid::specific_heat
protected

Specific heat coefficients.

If 2D, the rows are temperature and the columns are concentration. If 1D, should be a column vector of temperature coefficients Fails for all other forms than polynomial due to the automatic integration for internal energy and entropy.

Definition at line 95 of file IncompressibleFluid.h.

◆ strict

bool CoolProp::IncompressibleFluid::strict
protected

Definition at line 61 of file IncompressibleFluid.h.

◆ T_freeze

IncompressibleData CoolProp::IncompressibleFluid::T_freeze
protected

Freezing temperature coefficients.

If 2D, the rows are concentration and the columns are pressure. If 1D, should be a column vector of concentration coefficients

Definition at line 115 of file IncompressibleFluid.h.

◆ Tbase

double CoolProp::IncompressibleFluid::Tbase
protected

Definition at line 72 of file IncompressibleFluid.h.

◆ Tmax

double CoolProp::IncompressibleFluid::Tmax
protected

Definition at line 67 of file IncompressibleFluid.h.

◆ Tmin

double CoolProp::IncompressibleFluid::Tmin
protected

Definition at line 67 of file IncompressibleFluid.h.

◆ TminPsat

double CoolProp::IncompressibleFluid::TminPsat
protected

Definition at line 71 of file IncompressibleFluid.h.

◆ viscosity

IncompressibleData CoolProp::IncompressibleFluid::viscosity
protected

Viscosity coefficients.

If 2D, the rows are temperature and the columns are concentration. If 1D, should be a column vector of temperature coefficients

Definition at line 100 of file IncompressibleFluid.h.

◆ volume2input

IncompressibleData CoolProp::IncompressibleFluid::volume2input
protected

Volume fraction conversion coefficients.

If the fluid type is volume-based, it does not do anything. Otherwise, it converts the volume fraction to the required input.

Definition at line 126 of file IncompressibleFluid.h.

◆ xbase

double CoolProp::IncompressibleFluid::xbase
protected

Definition at line 72 of file IncompressibleFluid.h.

◆ xid

composition_types CoolProp::IncompressibleFluid::xid
protected

Definition at line 69 of file IncompressibleFluid.h.

◆ xmax

double CoolProp::IncompressibleFluid::xmax
protected

Definition at line 68 of file IncompressibleFluid.h.

◆ xmin

double CoolProp::IncompressibleFluid::xmin
protected

Definition at line 68 of file IncompressibleFluid.h.


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