28.06.2014 Views

POLYMIN - University of Waterloo

POLYMIN - University of Waterloo

POLYMIN - University of Waterloo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>POLYMIN</strong> 2005<br />

Other important variables:<br />

nn<br />

ne<br />

x,y,z<br />

vx,vy,vz<br />

u0,u1,u2<br />

in<br />

........... total number <strong>of</strong> nodes in the finite element grid<br />

........... total number <strong>of</strong> elements in finite element grid<br />

........... nodal grid coordinates<br />

........... elemental average linear groundwater flow velocities<br />

........... nodal concentration arrays (at last time step, most recent iteration, and new<br />

solution respectively)<br />

........... element incidence array<br />

2.4 Geochemical Database<br />

The database files used by <strong>POLYMIN</strong> and their analogous MINTEQA2 files are:<br />

<strong>POLYMIN</strong><br />

alk.dbm<br />

analy.dbm<br />

error.dbm<br />

compcp.dbm<br />

type6cp.dbm<br />

thermcp.dbm<br />

MINTEQA2<br />

alk.dbs<br />

analyt.dbs<br />

error.dbs<br />

comp.dbs<br />

type6.dbs<br />

thermo.dbs<br />

Redox and gas reactions can be included in type6cp.dbm and thermcp.dbm database files<br />

within MINTOX and thus do not have their own database files. Modifications to these database<br />

files can be made relatively easily. They are in ascii format and the format/unformat routine<br />

necessary when modifying MINTEQA2 database files is not needed.<br />

To add a component to the databases edit the compcp.dbm file and insert the new<br />

component in the same format as in the comp.dbs MINTEQA2 file. To add reactions, add the<br />

reaction to both the type6cp.dbm and the thermcp.dbm files in the same format as the reaction<br />

occurs in the MINTEQA2 database files. The <strong>POLYMIN</strong> program does not need to be<br />

recompiled when changes are made to the database files.<br />

20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!