Gems3k  3.1
GEMS3K standalone solver for geochemical equilibria
 All Classes Files Functions Variables Enumerations Enumerator
Public Member Functions
TPRSVcalc Class Reference

Peng-Robinson-Stryjek-Vera (PRSV) model for fluid mixtures. More...

#include <s_solmod.h>

Inheritance diagram for TPRSVcalc:
TSolMod

List of all members.

Public Member Functions

 TPRSVcalc (long int NCmp, double Pp, double Tkp)
 Constructor.
 TPRSVcalc (SolutionData *sd)
 ~TPRSVcalc ()
 Destructor.
long int PureSpecies ()
 Calculates pure species properties (pure fugacities)
long int PTparam ()
 Calculates T,P corrected interaction parameters.
long int MixMod ()
 Calculates activity coefficients.
long int ExcessProp (double *Zex)
 Calculates excess properties.
long int IdealProp (double *Zid)
 Calculates ideal mixing properties.
long int PRSVCalcFugPure (double Tmin, float *Cpg, double *FugProps)
 Calculates pure species properties (called from DCthermo)

Detailed Description

Peng-Robinson-Stryjek-Vera (PRSV) model for fluid mixtures.

References: Stryjek and Vera (1986) (c) TW July 2006


Member Function Documentation

long int TPRSVcalc::ExcessProp ( double *  Zex) [virtual]

Calculates excess properties.

high-level method to retrieve residual functions of the fluid mixture

Reimplemented from TSolMod.

long int TPRSVcalc::IdealProp ( double *  Zid) [virtual]

Calculates ideal mixing properties.

calculates ideal mixing properties

Reimplemented from TSolMod.

long int TPRSVcalc::MixMod ( ) [virtual]

Calculates activity coefficients.

high-level method to retrieve activity coefficients of the fluid mixture

Reimplemented from TSolMod.

long int TPRSVcalc::PTparam ( ) [virtual]

Calculates T,P corrected interaction parameters.

high-level method to calculate T,P corrected binary interaction parameters

Reimplemented from TSolMod.

long int TPRSVcalc::PureSpecies ( ) [virtual]

Calculates pure species properties (pure fugacities)

high-level method to retrieve pure fluid fugacities

Reimplemented from TSolMod.


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