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

Compensated Redlich-Kwong (CORK) model for fluid mixtures. More...

#include <s_solmod.h>

Inheritance diagram for TCORKcalc:
TSolMod

List of all members.

Public Member Functions

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

Detailed Description

Compensated Redlich-Kwong (CORK) model for fluid mixtures.

References: Holland and Powell (1991) (c) TW May 2010


Member Function Documentation

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

Calculates excess properties.

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

Reimplemented from TSolMod.

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

Calculates ideal mixing properties.

calculates ideal mixing properties

Reimplemented from TSolMod.

long int TCORKcalc::MixMod ( ) [virtual]

Calculates activity coefficients.

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

Reimplemented from TSolMod.

long int TCORKcalc::PTparam ( ) [virtual]

Calculates T,P corrected interaction parameters.

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

Reimplemented from TSolMod.

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