CoolProp
Public Member Functions | List of all members
CoolProp::GERG2008DepartureFunction Class Reference

Detailed Description

The departure function used by the GERG-2008 formulation.

This departure function has a form like

\[ \alphar^r_{ij} = \sum_k n_{ij,k}\delta^{d_{ij,k}}\tau^{t_{ij,k}} + \sum_k n_{ij,k}\delta^{d_{ij,k}}\tau^{t_{ij,k}}\exp[-\eta_{ij,k}(\delta-\varepsilon_{ij,k})^2-\beta_{ij,k}(\delta-\gamma_{ij,k})] \]

It is symmetric so \(\alphar^r_{ij} = \alphar^r_{ji}\)

#include <ExcessHEFunction.h>

Inheritance diagram for CoolProp::GERG2008DepartureFunction:
CoolProp::DepartureFunction

Public Member Functions

 GERG2008DepartureFunction (const std::vector< double > &n, const std::vector< double > &d, const std::vector< double > &t, const std::vector< double > &eta, const std::vector< double > &epsilon, const std::vector< double > &beta, const std::vector< double > &gamma, std::size_t Npower)
 
- Public Member Functions inherited from CoolProp::DepartureFunction
 DepartureFunction (const ResidualHelmholtzGeneralizedExponential &_phi)
 
DepartureFunctioncopy_ptr ()
 
virtual void update (double tau, double delta)
 
double get (std::size_t itau, std::size_t idelta)
 
void calc_nocache (double tau, double delta, HelmholtzDerivatives &_derivs)
 
double alphar ()
 
double dalphar_dDelta ()
 
double dalphar_dTau ()
 
double d2alphar_dDelta2 ()
 
double d2alphar_dDelta_dTau ()
 
double d2alphar_dTau2 ()
 
double d3alphar_dTau3 ()
 
double d3alphar_dDelta_dTau2 ()
 
double d3alphar_dDelta2_dTau ()
 
double d3alphar_dDelta3 ()
 
double d4alphar_dTau4 ()
 
double d4alphar_dDelta_dTau3 ()
 
double d4alphar_dDelta2_dTau2 ()
 
double d4alphar_dDelta3_dTau ()
 
double d4alphar_dDelta4 ()
 

Additional Inherited Members

- Public Attributes inherited from CoolProp::DepartureFunction
ResidualHelmholtzGeneralizedExponential phi
 
HelmholtzDerivatives derivs
 

Constructor & Destructor Documentation

§ GERG2008DepartureFunction()

CoolProp::GERG2008DepartureFunction::GERG2008DepartureFunction ( const std::vector< double > &  n,
const std::vector< double > &  d,
const std::vector< double > &  t,
const std::vector< double > &  eta,
const std::vector< double > &  epsilon,
const std::vector< double > &  beta,
const std::vector< double > &  gamma,
std::size_t  Npower 
)
inline

Break up into power and gaussian terms


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