#include <DMWvapor.h>
Inheritance diagram for DMWvapor:

Public Member Functions | |
| DMWvapor () | |
| constructor | |
| virtual | ~DMWvapor () |
| destructor | |
| virtual void | setTk (double ltk) |
| set temperature in Kelvins | |
| virtual void | setPa (double lpq) |
| set pressure in Pascals | |
| virtual double | getGibbs () |
| Gibbs free energy in Joules. | |
| virtual double | getEnthalpy () |
| enthalpy in Joules | |
| virtual double | getEntropy () |
| entropy in Joules/Kelvin | |
| virtual void | getVolume () |
| get volume in m^3 | |
Public Attributes | |
| const int | NCOMP |
| number of components | |
| const int | NSPEC |
| number of species | |
| const int | H2DEX |
| hydrogen index (component and species) | |
| const int | N2DEX |
| nitrogen index (component and species) | |
| const int | O2DEX |
| oxygen index (component and species) | |
| const int | S2DEX |
| sulfur index (component and species) | |
| const int | CL2DEX |
| chlorine index (component and species) | |
| const int | CODEX |
| carbon monoxide index (component and species) | |
| const int | H2SDEX |
| H2S index (species). | |
| const int | CH4DEX |
| methane index (species) | |
| const int | CO2DEX |
| carbon dioxide index (species) | |
| const int | H2ODEX |
| water index (species) | |
| const int | SO2DEX |
| SO2 index (species). | |
Protected Member Functions | |
| virtual void | init () |
| allocates space and initializes variables | |
| virtual double | mufunc (int p, double *x) |
| virtual double | dmufunc (int m, int p, double *x) |
| virtual double | muxs (int ispec, double *x) |
| virtual double | dmuxs (int m, int p, double *x) |
| virtual void | update () |
| supplements SpecSolution::update() method | |
| virtual void | updateMvars () throw (PhaseError *) |
| updates Tm, Pm, Vm, sigma, epsilon and Z according to current T,P and speciation | |
Protected Attributes | |
| double pb double | Z |
| compressibility factor | |
| double | B |
| thermal/composition parameters for Z. | |
| double | C |
| thermal/composition parameters for Z. | |
| double | D |
| thermal/composition parameters for Z. | |
| double | E |
| thermal/composition parameters for Z. | |
| double | dZdVm |
| commonly used Z derivatives | |
| double | dZdTm |
| commonly used Z derivatives | |
| double | Tm |
| reference temperature in K | |
| double | Pm |
| reference pressure in bars | |
| double | Vm |
| reference volume in dm^3 | |
| double | sigma |
| bulk L-J bond length parameter | |
| double | epsilon |
| bulk L-J well-depth parameter | |
| double | sigmavec [11] |
| species L-J bond length parameters | |
| double | epsilonvec [11] |
| species L-J well-depth parameters | |
Static Protected Attributes | |
| double | a [15] |
| DMW methane parameters. Indexed 1-14, as in original reference. | |
| double ** | k [2] |
| DMW mixing parameters. | |
| double | allstoich [11][6] |
| matrix of species stoichiometries | |
DMWdata
Definition at line 26 of file DMWvapor.h.
|
||||||||||||||||
|
function that returns dmu[m]/dx[p] for current species
Reimplemented from SpecSolNID. |
|
||||||||||||||||
|
excess part of dm/dxi from provisional species estimate
Reimplemented from SpecSolNID. |
|
||||||||||||
|
function that returns mu from provisional species mole frac estimate
Reimplemented from SpecSolNID. |
|
||||||||||||
|
excess part of chemical potential from provisional species estimate
Reimplemented from SpecSolNID. |
1.3.4