[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View Source Code

PHREEQC 2.4.2 is embedded in PhreeqcI. PhreeqcI simply accumulates data for
an input file to PHREEQC, so the transport module is available in the
source code for PHREEQC in the file transport.c. It's gotten a little ugly,
but in outline, there is an initialization, and then a loop through the
number of time steps (shifts). For each time step, there is an advective
step and zero or more dispersive steps. If there are multiple dispersive
steps, half are performed before the advective step, and half are performed
after. There are also sections to allow diffusion into a stagnant zone and
transport of heat, which make it fairly cluttered. The file advection.c
also does transport, but is much simpler to read because it does not
include dispersion.

BTW, we just released PHREEQC 2.5 and PhreeqcI RC1, available at


David Parkhurst (dlpark@xxxxxxxx)
U.S. Geological Survey
Box 25046, MS 413
Denver Federal Center
Denver, CO 80225

                      "Aaron Redman"                                                                                              
                      <REDMA2A@xxxxxxxxxxxx         To:      "David L Parkhurst" <dlpark@xxxxxxxx>                                
                      DUPONT.COM>                   cc:                                                                           
In-Reply-To: <85256AF0.004A974B.00@xxxxxxxxxxxxxxxxxxxxxx>
                                                    Subject: View Source Code                                                     
                      10/25/01 07:35 AM                                                                                           


Is there a way to view the source code for the 1-D reactive transport
module of PHREEQCi alpha verson 2.4.2?

Aaron Redman

Project Home Page
Complete Water Resources Division Software
USGS Home Page
Water Resources Division Home Page
NRP Home Page
Help Page
USGS Privacy Statement       

Please note that some U.S. Geological Survey (USGS) information accessed through this page may be preliminary in nature and presented prior to final review and approval by the Director of the USGS. This information is provided with the understanding that it is not guaranteed to be correct or complete and conclusions drawn from such information are the sole responsibility of the user.

Any use of trade, product, or firm names in this publication is for descriptive purposes only and does not imply endorsement by the U.S. Government. 

The URL of this page is: https://wwwbrr.cr.usgs.gov/projects/GWC_coupled/phreeqc/mail/msg00336.html
Last modified: $Date: 2005-09-13 21:04:21 -0600 (Tue, 13 Sep 2005) $
Visitor number 2611 since Jan 22, 1998.