CoolProp
6.6.0
An open-source fluid property and humid air property database
|
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>
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... | |
|
inlinevirtual |
Definition at line 28 of file GeneralizedCubic.h.
|
inline |
Definition at line 34 of file GeneralizedCubic.h.
|
inline |
Definition at line 30 of file GeneralizedCubic.h.
|
pure virtual |
Implemented in MathiasCopemanAlphaFunction, TwuAlphaFunction, and BasicMathiasCopemanAlphaFunction.
|
protected |
The constant term multiplying the alpha function.
Definition at line 23 of file GeneralizedCubic.h.
|
protected |
The vector of constants.
Definition at line 26 of file GeneralizedCubic.h.
|
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.
|
protected |
The (constant) reducing temperature divided by the critical temperature of the pure component.
Definition at line 24 of file GeneralizedCubic.h.