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

HaarWater Class Reference

#include <HaarWater.h>

Inheritance diagram for HaarWater:

Phase List of all members.

Public Member Functions

 HaarWater ()
 blank constructor

virtual void setPa (double lpa)
 set pressure in Pascals

virtual double getGibbs ()
 Gibbs free energy at T and P.

virtual double getEnthalpy ()
 Enthalpy at T and P.

virtual double getEntropy ()
 returns entropy at T and P

virtual double getCp ()
 returns heat capacity at T and P

virtual double getdCpdT ()
 derivative of Cp with respect to temperature

virtual double getVolume ()
 returns volume at T and P

virtual double getdVdT ()
 returns dVdT

virtual double getdVdP ()
 returns dVdP

virtual double getd2VdT2 ()
 d2V/dT2 in M^3/Kelvin^2

virtual double getd2VdTdP ()
 d2V/dTdP in M^3/KelvinPascal

virtual double getd2VdP2 ()
 d2V/dP2 in M^3/Pascal^2


Protected Member Functions

virtual void init ()
 initialization function


Private Member Functions

void updateWater ()
 routine to update water properties by calling wHaar and wdh78 (MELTS)


Private Attributes

const double pbr
 1 bar reference pressure

double pb
 pressure in bars

double gH2O
 Gibbs free energy - Haar[+Wdh78] equation.

double hH2O
 Enthalpy - Haar[+Wdh78] equation.

double sH2O
 Entropy - Haar[+Wdh78] equation.

double cpH2O
 Heat capacity - Haar[+Wdh78] equation.

double dcpdtH2O
 dCpdT - Haar[+Wdh78] equation

double vH2O
 Volume - Haar/Wdh78 equation.

double dvdtH2O
 dVdT - Haar/Wdh78 equation

double dvdpH2O
 dVdP - Haar/Wdh78 equation

double d2vdt2H2O
 d2VdT2 - Haar/Wdh78 equation

double d2vdtdpH2O
 d2VdTdP - Haar/Wdh78 equation

double d2vdp2H2O
 d2VdP2 - Haar/Wdh78 equation


Detailed Description

class for water properties using the Haar/Wdh78 formulation
Author:
Mark Ghiorso
Version:
1.0

Revision
1.3

Definition at line 17 of file HaarWater.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