CoolProp  6.6.0
An open-source fluid property and humid air property database
Public Member Functions | Protected Attributes | List of all members
AbstractCubicAlphaFunction Class Referenceabstract

Detailed Description

An abstract alpha function for the EOS, defining the interface for the alpha function.

This C++ code is the implementation of the analyses presented in the paper I.Bell and A. Jäger, "Helmholtz energy translations for common cubic equations of state for use in one-fluid and multi-fluid mixture models", J. Res. NIST, 2016

This code is in the public domain, though if used in academic work, we would appreciate a reference back to the paper given above.

Definition at line 20 of file GeneralizedCubic.h.

#include <GeneralizedCubic.h>

Inheritance diagram for AbstractCubicAlphaFunction:
BasicMathiasCopemanAlphaFunction MathiasCopemanAlphaFunction TwuAlphaFunction

Public Member Functions

virtual ~AbstractCubicAlphaFunction ()
 
virtual double term (double tau, std::size_t itau)=0
 
void set_Tr_over_Tci (double Tr_over_Tci)
 
 AbstractCubicAlphaFunction (double a0, double Tr_over_Tci)
 

Protected Attributes

double a0
 The constant term multiplying the alpha function. More...
 
double Tr_over_Tci
 The (constant) reducing temperature divided by the critical temperature of the pure component. More...
 
double sqrt_Tr_Tci
 The sqrt of the (constant) reducing temperature divided by the critical temperature of the pure component. More...
 
std::vector< double > c
 The vector of constants. More...
 

Constructor & Destructor Documentation

◆ ~AbstractCubicAlphaFunction()

virtual AbstractCubicAlphaFunction::~AbstractCubicAlphaFunction ( )
inlinevirtual

Definition at line 28 of file GeneralizedCubic.h.

◆ AbstractCubicAlphaFunction()

AbstractCubicAlphaFunction::AbstractCubicAlphaFunction ( double  a0,
double  Tr_over_Tci 
)
inline

Definition at line 34 of file GeneralizedCubic.h.

Member Function Documentation

◆ set_Tr_over_Tci()

void AbstractCubicAlphaFunction::set_Tr_over_Tci ( double  Tr_over_Tci)
inline

Definition at line 30 of file GeneralizedCubic.h.

◆ term()

virtual double AbstractCubicAlphaFunction::term ( double  tau,
std::size_t  itau 
)
pure virtual

Member Data Documentation

◆ a0

double AbstractCubicAlphaFunction::a0
protected

The constant term multiplying the alpha function.

Definition at line 23 of file GeneralizedCubic.h.

◆ c

std::vector<double> AbstractCubicAlphaFunction::c
protected

The vector of constants.

Definition at line 26 of file GeneralizedCubic.h.

◆ sqrt_Tr_Tci

double AbstractCubicAlphaFunction::sqrt_Tr_Tci
protected

The sqrt of the (constant) reducing temperature divided by the critical temperature of the pure component.

Definition at line 25 of file GeneralizedCubic.h.

◆ Tr_over_Tci

double AbstractCubicAlphaFunction::Tr_over_Tci
protected

The (constant) reducing temperature divided by the critical temperature of the pure component.

Definition at line 24 of file GeneralizedCubic.h.


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