An Interactive Code (NETPATH) for Modeling Net Geochemical Reactions Along a Flow Path Version 2.0 By L. Niel Plummer, Eric C. Prestemon, and David L. Parkhurst Water-Resources Investigations Report 94-4169 U.S. Geological Survey Revision 2.13 December 30, 1996 **************************************** DEPARTMENT OF THE INTERIOR BRUCE BABBIT, Secretary U.S. Geological Survey Gordon P. Eaton, Director (The use of trade names in this document is for identification purposes only and does not represent endorsement by the U.S. Geological Survey.) All related files and executables are contained in the self-extracting file, NETP2-13.EXE. Copy this file to the directory on the hard drive where NETPATH is to be run. From that directory type: NETP2-13 To extract all files to the same directory, or NETP2-13 -d To extract all files and sub-directories: SOURCE>DB SOURCE>NETPATH EXAMPLES DOC The Top-Level directory will contain the essential files: DB.EXE FNAMES.FIL DB.DAT NETPATH.EXE NETPATH.DAT The EXE files are 32-bit executable files of DB and NETPATH compiled with Lahey Fortran 90 that run on 386SX and higher microcomputers with math co-processor. The file FNAMES.FIL gives the path to the thermodynamic data file read by DB, DB.DAT. If FNAMES.FIL is not present in the same directory as DB, the screen will be prompted for the path and name of the DB.DAT file during the ave/peciate option of DB. The source codes are in the sub-directories SOURCE>DB and SOURCE>NETPATH. The sub-directory contains the .LON, .PAT, NETPATH.FIL, MODEL.FIL, and model files necessary to run the seven examples and test problems of this report. To run the examples and test problems of this report, the files in the top-level directory should be copied to the directory. DB and NETPATH use screen-control commands that are specific to VT100 terminals. For operation on a microcomputer, the CONFIG.SYS file located in the top-level directory should contain the statement DEVICE=ANSI.SYS, or if the ANSI.SYS file is not located in the top-level directory, the CONFIG.SYS file should show the full path name to the ANSI.SYS file, such as, DEVICE=C:\DOS\ANSI.SYS, if the file is located in the DOS directory on the C drive. If DB and NETPATH are transported to mini-computers or mainframes, the results should be viewed on a VT100 terminal, or a terminal configured to emulate a VT100 terminal. After running the self-extraction program with the command NETP2-13 -d The following source codes, data files, and directories will be set up on the hard drive. TOP-LEVEL DIRECTORY: DB.EXE-- Executable file for the data base program, DB NETPATH.EXE-- Executable file for NETPATH DB.DAT-- Data read by Subroutine WATEQFP to DB FNAMES.FIL-- Optional file containing location of DB.DAT file NETPATH.DAT-- Data read by NETPATH INFO-- Update information file NETPATH.TXT-- Description of program and references DIRECTORY SOURCE>DB: DB.FOR-- Fortran 77 source code to DB WATEQFP.FOR-- Fortran 77 source code for aqueous model subroutine called by DB LF90DB.BAT-- DOS Batch file used to compile DB with Lahey Fortran 90 DIRECTORY SOURCE>NETPATH: NETPATH.FOR-- Entire Fortran 77 source code to NETPATH LF90NP.BAT-- Batch file to compile NETPATH with Lahey Fortran 90 The following files are contained in the directory EXAMPLES: CLASS.LON-- File of chemical analyses created by DB CLASS.PAT-- File of chemical data read by NETPATH DB.FIL-- File containing list of .LON files available to DB NETPATH.FIL-- File containing list of .PAT files available to NETPATH MODEL.FIL-- List of names of model files saved to run in NETPATH NP-1a.dat-- This and 16 other .dat files with the prefix "NP" are model files that repeat the 7 test problems and examples in the report. The directory DOC contains a postscript file of the report, U.S. Geological Survey, Water-Resources Investigations Report 94-4169. The directory BALNINPT contains all software related to BALNINPT (described in Appendix A of USGS/WRIR 94-4169. PLEASE READ THE INFO FILE IN THE TOP-LEVEL DIRECTORY FOR LATEST UPDATES!