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

Soave-Redlich-Kwong (SRK) model for fluid mixtures. More...

#include <s_solmod.h>

Inheritance diagram for TSRKcalc:
TSolMod

List of all members.

Public Member Functions

 TSRKcalc (long int NCmp, double Pp, double Tkp)
 Constructor.
 TSRKcalc (SolutionData *sd)
 ~TSRKcalc ()
 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 SRKCalcFugPure (double Tmin, float *Cpg, double *FugProps)
 Calculates pure species properties (called from DCthermo)

Detailed Description

Soave-Redlich-Kwong (SRK) model for fluid mixtures.

References: Soave (1972); Soave (1993) (c) TW December 2008


Member Function Documentation

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

Calculates excess properties.

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

Reimplemented from TSolMod.

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

Calculates ideal mixing properties.

calculates ideal mixing properties

Reimplemented from TSolMod.

long int TSRKcalc::MixMod ( ) [virtual]

Calculates activity coefficients.

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

Reimplemented from TSolMod.

long int TSRKcalc::PTparam ( ) [virtual]

Calculates T,P corrected interaction parameters.

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

Reimplemented from TSolMod.

long int TSRKcalc::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: