thumbnail

WATEQ4F - a personal computer Fortran translation of the geochemical model WATEQ2 with revised data base

Open-File Report 87-50

By:
, ,

Links

Abstract

A FORTRAN 77 version of the PL/1 computer program for the geochemical model WATEQ2, which computes major and trace element speciation and mineral saturation for natural waters has been developed. The code (WATEQ4F) has been adapted to execute on an IBM PC or compatible microcomputer. Two versions of the code are available, one operating with IBM Professional FORTRAN and an 8087 or 89287 numeric coprocessor, and one which operates without a numeric coprocessor using Microsoft FORTRAN 77. The calculation procedure is identical to WATEQ2, which has been installed on many mainframes and minicomputers. Limited data base revisions include the addition of the following ions: AlHS04(++), BaS04, CaHS04(++), FeHS04(++), NaF, SrC03, and SrHCO3(+). This report provides the reactions and references for the data base revisions, instructions for program operation, and an explanation of the input and output files. Attachments contain sample output from three water analyses used as test cases and the complete FORTRAN source listing. U.S. Geological Survey geochemical simulation program PHREEQE and mass balance program BALANCE also have been adapted to execute on an IBM PC or compatible microcomputer with a numeric coprocessor and the IBM Professional FORTRAN compiler. (Author 's abstract)

Additional Publication Details

Publication type:
Report
Publication Subtype:
USGS Numbered Series
Title:
WATEQ4F - a personal computer Fortran translation of the geochemical model WATEQ2 with revised data base
Series title:
Open-File Report
Series number:
87-50
Edition:
-
Year Published:
1987
Language:
ENGLISH
Publisher:
U.S. Geological Survey,
Description:
iii, 108 p. ;28 cm.