Professional Documents
Culture Documents
Readme
Readme
Readme
0
Newton Formulation for MODFLOW-2005
This software has been approved for release by the U.S. Geological Survey (USGS).
Although the software has been subjected to rigorous review, the USGS reserves
the right to update the software as needed pursuant to further analysis and review.
Any use of trade, product or firm names is for descriptive purposes only and
does not imply endorsement by the U.S. Government.
MODFLOW-NWT version 1.2.0 is packaged for personal computers using one of the
Microsoft Windows operating systems. Executable files for personal
computers are provided as well as the source code at the following URL:
http://water.usgs.gov/ogw/modflow-nwt/
The executable files were compiled on a personal computer with the Intel(R)
Core(TM) i7-7820HQ CPU, running the Microsoft Windows 10 Enterprise
operating system, using the Microsoft Visual Studio 2017 Version 15.9.13
development environment and the Intel� Parallel Studio XE 2019 Update 4 Composer
Edition for Fortran Windows* Integration for Microsoft Visual Studio* 2017,
Version 19.0.0052.15 compiler. The source code is provided to aid users in
compilation on other computers. However, no support is provided for compilation.
TABLE OF CONTENTS
A. DISTRIBUTION FILE
B. INSTALLING
C. EXECUTING THE SOFTWARE
D. TESTING
E. COMPILING
A. DISTRIBUTION FILE
MODFLOW-NWT_1.2.0.zip
The MODFLOW-NWT program and related files can be extracted from the
distribution file. Extracting these files is all that is required
for installation. It is recommended that the directory structure
in the zip file be maintained when the files are extracted. The
recommended installation directory is C:\WRDAPP. The distribution
file contains the following directory structure.
|
|--MODFLOW-NWT
| |--bin ; Compiled MODFLOW-NWT executables for personal computers
| |--data ; Sample problems
| |--doc ; Documentation report for MODFLOW-NWT and the Surface-
Water Routing Package, updated input instructions for
UZF and SFR2
| |--output_test ; Output files from running the sample problems
| |--output_test_64 ; Output files from running the sample problems, 64 bit
versions
| |--src ; Source code for MODFLOW-NWT
B. INSTALLING
or
MODFLOW-NWT_64.exe [Fname]
The optional Fname argument is the name of the MODFLOW-NWT Name File.
The data arrays in MODFLOW-NWT are dynamically allocated, so models are not
limited by hard-coded array limits. However, it is best to have at least
2 MB of RAM available to hold all of the required data. If there is
less available RAM than the model requires, which depends on the size of the
application, the program will use virtual memory; however, this can
slow execution significantly. If there is insufficient RAM to run
the model, then MODFLOW-NWT will not initiate the beginning of the
simulation; however, the Windows Command-Prompt window may continue to
indicate that MODFLOW-NWT is executing. For this circumstance, the program
must be terminated manually using the Windows Task Manager application.
Some of the files written by MODFLOW-NWT are unformatted files. The structure
of these files depends on the compiler and options in the Fortran write
statement. MODFLOW-NWT is compiled with the unformatted file type specified
as "BINARY". Any program that reads the unformatted files produced by
MODFLOW-NWT must be compiled with a compiler that produces programs that
use the same structure for unformatted files. For example, Zonebudget
and Modpath use unformatted budget files produced by MODFLOW-NWT.
Another example are head files that are generated by one MODFLOW-NWT
simulation and used in a following simulation as initial heads. Both
simulations must be run using an executable version of MODFLOW-NWT that uses
the same unformatted file structure.
D. TESTING
Thirteen sample problems with MODFLOW-NWT data sets are provided to verify that
MODFLOW-NWT is correctly installed and running on the system. The sample
problems also may be looked at as examples of how to use the program. Five of
the test problems (Pr1a, Pr1b, Pr2, Pr3_lower (32 bit and 64 bit), and
Pr3_higher (32 bit and 64 bit) are documented in Niswonger and others (2011),
one test problems (l1b2k) is documented in Merritt and Konikow (2000) as Test
Simulation 1, one test problem (SwrSample05) is documented in Hughes and others
(2012), and one test problem (swi2ex4sww) is documented in Bakker and others
(2013).
A test problem (Sfr2weltab) was added that was modified from the hypothetical test
simulation described by Niswonger and Prudic (2005) to provide an example of
specifying
tabular time series input files for pumping rates. Another test problem
(Uzf_testoptions) was added that was modified from test simulation 2 of Niswonger
and
others (2006) to provide as example of the new input options for UZF. Another test
problem (SFR_LAK_floodplain) was created that combines the SFR2, LAK7, and UZF1
packages
to demonstrate how the lake package can be used to simulate floodplains adjacent
to streams. Two additional test problems were added that was documented as test
problem 1
and Test Problem 2 in Niswonger and others (2006). These test problems can be run
using
either the 32-bit or 64-bit versions of the MODFLOW-NWT executable. Saved results
for these
simulations are included in the Output_test and Output_test_64 directories for
comparison.
All test problems can be run at once by executing the file run_all.bat in the data
directory.
E. COMPILING
of the program are provided, the source code also is provided in the MODFLOW-
NWT\src
directory so that MODFLOW-NWT can be recompiled if necessary. However, the USGS
cannot provide
assistance to those compiling MODFLOW-NWT.
F. REFERENCES
Bakker, Mark, Schaars, Frans, Hughes, J.D., Langevin, C.D., and Dausman, A.M.,
2013,
Documentation of the seawater intrusion (SWI2) package for MODFLOW:
U.S. Geological Survey Techniques and Methods, book 6, chap. A46, 47 p. Available
online at http://pubs.usgs.gov/tm/6a46/
Hughes, J.D., Langevin, C.D., Chartier, K.L., and White, J.T., 2012, Documentation
of the Surface-Water Routing (SWR1) Process for modeling surface-water flow with
the
U.S. Geological Survey Modular Ground-Water Model (MODFLOW-2005): U.S. Geological
Survey Techniques and Methods, book 6, chap. A40 (Version 1.0), 113 p. Available
online at http://pubs.usgs.gov/tm/6a40/
Niswonger, R.G., Panday, Sorab, and Ibaraki, Motomu, 2011, MODFLOW-NWT, A Newton
formulation for MODFLOW-2005: U.S. Geological Survey Techniques and Methods 6-A37,
44 p. Available online at http://pubs.usgs.gov/tm/tm6a37/
Niswonger, R.G., Prudic, D.E., and Regan, R.S., 2006, Documentation of the
Unsaturated-Zone Flow (UZF1) Package
for modeling unsaturated flow between the land surface and the water table with
MODFLOW-2005: U.S. Geological
Survey Techniques and Methods 6-A19, 62 p
Niswonger, R. G. (2020). An Agricultural Water Use Package for MODFLOW and GSFLOW.
Environmental Modelling & Software, 104617.
https://www.sciencedirect.com/science/article/pii/S1364815219305080