#include <DuanetalVaporComponent.h>
  
Public Member Functions | |
| DuanetalVaporPhase (void) | |
| blank constructor. STP assumed.  | |
| virtual | ~DuanetalVaporPhase () | 
| destructor  | |
| virtual double | getGibbs () | 
| Gibbs free energy at P and T.  | |
| virtual double | getEnthalpy () | 
| Enthalpy at P and T.  | |
| virtual double | getEntropy () | 
| Entropy at P and T.  | |
| virtual double | getCp () | 
| heat capacity at P and T  | |
| virtual double | getVolume () | 
| Volume at P and T.  | |
| virtual void | setTk (double ltk) | 
| set temperature in Kelvins  | |
| virtual void | setPa (double lpa) | 
| set pressure in Pascals  | |
Protected Member Functions | |
| virtual int | init () | 
| Space allocation and value initialization.  | |
| double | getZ () | 
| Z(P,T) function (Equation 1).  | |
| double | getlnphi () | 
| ln(phi[i]) where phi is fugacity coefficient (Equation A1)  | |
| void | UpdateReferenceState () | 
| Update pm,tm and vm (Duan et al. Equations 1, 2 and 3).  | |
| double | ZPdP () | 
| integral of (Z/P)dP at T  | |
Protected Attributes | |
| double | pb | 
| pressure in bars  | |
| double * | a | 
| methane EOS array  | |
| double | sigma | 
| Lennard-Jones sigma parameter.  | |
| double * | sigmas | 
| array of Lennard-Jones sigma parameters for individual species  | |
| double | epsilon | 
| Lennard-Jones epsilon parameter.  | |
| double * | epsilonss | 
| array of Lennard-Jones epsilon parameters for individual species  | |
| double ** | ljk | 
| Lennard-Jones 'k' matrices. k1 above diagonal and k2 below.  | |
| const double | vmtol | 
| tolerance for solution of vm  | |
| const double | spectol | 
| tolerance for speciation calculation  | |
Implementation of Duan et al corresponding state phase.
from:
Duan, Moller and Weare (1996), A general equation of state for supercritical fluid mixtures and molecular dynamics simulation of mixture PVTX properties. GCA v.60:1209-1216.
Definition at line 19 of file DuanetalVaporComponent.h.
 1.7.1