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 | Public Attributes | List of all members
CriticalSplineStruct_T Class Reference

#include <FluidClass.h>

Public Member Functions

 CriticalSplineStruct_T ()
 
 CriticalSplineStruct_T (double Tend, double rhoendL, double rhoendV, double drhoLdT_sat, double drhoVdT_sat)
 
double interpolate_rho (Fluid *pFluid, int phase, double T)
 

Public Attributes

double Tend
 The last temperature for which the conventional methods can be used. More...
 
double rhoendL
 Saturated liquid density at the last temperature for which the conventional methods can be used. More...
 
double rhoendV
 Saturated vapor density at the last temperature for which the conventional methods can be used. More...
 
double drhoLdT_sat
 Derivative of density w.r.t. temperature along the saturated liquid curve. More...
 
double drhoVdT_sat
 Derivative of density w.r.t. temperature along the saturated vapor curve. More...
 

Detailed Description

Definition at line 88 of file FluidClass.h.

Constructor & Destructor Documentation

CriticalSplineStruct_T::CriticalSplineStruct_T ( )
inline

Definition at line 91 of file FluidClass.h.

CriticalSplineStruct_T::CriticalSplineStruct_T ( double  Tend,
double  rhoendL,
double  rhoendV,
double  drhoLdT_sat,
double  drhoVdT_sat 
)
inline

Definition at line 92 of file FluidClass.h.

Member Function Documentation

double CriticalSplineStruct_T::interpolate_rho ( Fluid pFluid,
int  phase,
double  T 
)

Interpolate within the spline to get the density

Parameters
pFluidPointer to fluid of interest
phaseInteger for phase (0=liquid, 1 = vapor)
TTempeature [K]

Definition at line 3827 of file FluidClass.cpp.

Member Data Documentation

double CriticalSplineStruct_T::drhoLdT_sat

Derivative of density w.r.t. temperature along the saturated liquid curve.

Definition at line 112 of file FluidClass.h.

double CriticalSplineStruct_T::drhoVdT_sat

Derivative of density w.r.t. temperature along the saturated vapor curve.

Definition at line 114 of file FluidClass.h.

double CriticalSplineStruct_T::rhoendL

Saturated liquid density at the last temperature for which the conventional methods can be used.

Definition at line 108 of file FluidClass.h.

double CriticalSplineStruct_T::rhoendV

Saturated vapor density at the last temperature for which the conventional methods can be used.

Definition at line 110 of file FluidClass.h.

double CriticalSplineStruct_T::Tend

The last temperature for which the conventional methods can be used.

Definition at line 106 of file FluidClass.h.


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