Make Input Files (mkinp)



The mkinp program is used to produce input files for MODFLOW-2000, rrpp, mkgw and mksw.

The mkinp program takes a year (or years) specified on the command line and writes the appropriate files for this period.

Principles of Operation

The mkinp takes a year or years on the a command line which defines the period of the simulation.

Input files to the mkgw and mksw programs called co.gw.par and co.sw.par are then written. The files are exactly the same every year, except for the TRANSIENT command which is altered to be appropriate to the period.

Five rrpp input files are also written. For the year yyyy, these files are named yyyy.par for the historical run and yyyya.par, yyyyb.par, yyyyc.par and yyyyd.par for the four impact runs. These files are all extactly the same from year to year, except for the TRANSIENT command and output file names which is altered appropriately. In addition, the FILE, NOPUMP and MOUND commands are used as needed.

mkinp writes MODFLOW-2000 discretization file for the period. The discretication file defines one mile by one mile grid cells, 165 rows by 326 columns by one layer and monthly stress periods. The top and bottom of saturation is defined by reference to the files ../static/12.top and ../static/12.bot, respectively. The length of each stress period is defined as the number of seconds in each calendar month, traversed by two time steps of equal length.

Five MODFLOW-2000 basic package files are written. These files are the same from year to year except that the starting head files are named for the initial year and whether it is the historical or one of the four impact simulations.

The program also writes the file used by MODFLOW-2000 to get the names of the input and output files. These files are the same from year to year, except that some files are named for the year and some also depend on the particular simulation. Depending on whether the V12p7 or V12s stream package is used, a different HYDMOD input file is required. By default, the V12s HYDMOD input file is referenced, unless the -12p parameter is specified on the mkinp command line.

Example: Generate input files for 2002

This will generate files co.gw.par and co.sw.par as the input to mkgw and mksw for 2002, rrpp input files for 2002 named 2002.par, 2002a.par, 2002b.par, 2002c.par and 2002d.par, a discretization file named 2002.dis, basic package files named 2002.bas, 2002a.bas, 2002b.bas, 2002c.bas and 2002d.bas, and name files called 2002.nam, 2002a.nam, 2002b.nam, 2002c.nam and 2002d.nam.
mkinp 2002

Example: Generate input files for 1995

This will create files named as above with 2002 replaced by 1995, but in the .nam files, the HYDMOD file references will be ../static/12.hyd instead of ../static/12s.hyd.
mkinp -p12 1995

Home | Index | Next

Model Units
Directory Structure
Programs
Static Files
Precipitation Data Entry
Colorado Data Entry
ET Data Entry
Stream Data Entry
Kansas Data Entry
Nebraska Data Entry
Running the Model