Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

DuanetalVaporPhase Class Reference

#include <DuanetalVaporComponent.h>

Inheritance diagram for DuanetalVaporPhase:

Phase List of all members.

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


Detailed Description

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.

Id
DuanetalVaporComponent.h,v 1.1 2006/07/01 02:12:14 kress Exp
Author:
Victor Kress
Version:
Revision
1.1

Definition at line 19 of file DuanetalVaporComponent.h.


The documentation for this class was generated from the following file:
Generated on Mon Jul 7 21:43:02 2008 for phases by doxygen 1.3.4