# MODFLOW Model of Groundwater Flow in Sloping Surficial Sand and Gravel

## By Darrel Dunn, Ph.D., PG, HydrogeologistÂ

(View Professional Synopsis ðŸ”³)

## Purpose and Scope of MODFLOW Webpage

The purpose of this non-technical webpage is to present a MODFLOW model of groundwater moving downslope in surficial sand and gravel over impervious bedrock.Â This type ofÂ groundwater system is of interest because of the common occurrence of contaminants moving downslope from sources on sloping ground toward streams and associated alluvial aquifers.Â Modeling groundwater flow in such systems is relatively difficult because the saturated zone between the water table and bedrock is often thin.Â This condition tends to cause failure of the MODFLOW modules that solve the system of equations describing the flow.Â The tendency to fail is due to repetitive drying and wetting of portions of the model during the iterative solution process.Â Instability is produced in the MODFLOW solver modules.Â Nevertheless, a successful model may be developed by experimentation with input variables that control the behavior of the solvers.

This page uses non-technical language plus some technical language that is explained in the text .Â It also contains endnotes that provide technical details for readers who are interested.Â MODFLOW is a finite-difference groundwater modeling computer program maintained by the United States Geological Survey (USGS).Â A finite-difference model divides the groundwater system into rectangular cells, applies an equation that balances inflow, outflow, and change in water content for each cell, and solves the equations simultaneously to get hydraulic head in each cell.Â Hydraulic head at a point in a groundwater system may be thought of as the water level in a well if it got its water at that point.Â Groundwater moves in the direction of the head gradient, from higher to lower head.Â Thus MODFLOW can provide the rate and direction of groundwater movement.

## MODFLOW Model

Figure 1 shows the topography of the area simulated in the MODFLOW model and the grid used in the finite-difference computations.Â The topography is shown as the elevation of the top of each grid cell.Â This is a sloping one-layer model.Â The layer represents the surficial sand and gravel.Â The thickness of the surficial layer is shown in Figure 2.Â This is also the height of the model cells.Â The water table is within this layer and the saturated part of the sand and gravel varies in thickness, as shown in Figure 3.Â Model cells west of the stream are inactive because all of the groundwater enters the stream rather than passing below it.Â There is no need to extend the active part of the model across the stream.

Figure 1.Â Elevation of MODFLOW cell tops (land surface above sea level) and model grid1.

Figure 2.Â Thickness of sand and gravel (cell heights).

Figure 3.Â Saturated thickness of surficial sand and gravel.Â Three white cells near the east boundary are dry.

The measure of the capacity of the sand and gravel deposits to conduct water that is used in the model is called hydraulic conductivity.Â Subsurface material with relatively high hydraulic conductivity, such as sand and gravel, conducts water more easily than silt and clay.Â Figure 4 shows the distribution of hydraulic conductivity in the model.Â Typical ranges of hydraulic conductivity for types of sand and gravel deposits are shown next to the colorbar.Â These ranges are logarithmic.Â Successive integer powers of 10 are an equal distance apart (1, 10, 100, et cetera; 100, 101, 102, et cetera).Â The number 1e+05 is common computer notation for 105.Â The hydraulic conductivities in the model were obtained by calibration.Â Calibration involved making a model run using hydraulic conductivity estimated from test well data2, then modifying this distribution of hydraulic conductivity via successive model runs until the simulated heads were reasonable3.Â All simulated heads are within 10 feet of measured heads and are below the land surface.

Figure 4.Â Hydraulic conductivity distribution in the MODFLOW model.

The model includes other hydrologic input besides hydraulic conductivity.Â Groundwater recharge due to infiltration of precipitation was set at 3.1 inches per year as the first step in the model calibration4.Â The climate is semi-arid and the land surface elevation is greater than 5000 feet above sea level.Â Groundwater inflow at the north (upgradient) edge of the model was set at 5 cubic feet per day.Â The elevation of the stream in the southwest part of the model was treated as a constant head, and a constant head was applied at the southeast corner of the model to account for water flowing toward the portion of the stream outside of the model boundary.Â Other boundaries were treated as no-flow (no water crosses the boundary)5.

There is uncertainty regarding reasonable values for groundwater recharge from precipitation in a semi-arid environment.Â The value of 3.1 inches is in the upper part of the range of published estimates.Â However. once the model was calibrated at 3.1 inches per year, it became relatively easy to find a lower value providing the same calibration.Â This possibility results from the fact that there is also uncertainty regarding the hydraulic conductivity values, and the two values are linked.Â One can reduce the the hydraulic conductivity values for all cells and groundwater recharge rate by the same multiplier and the heads in the model remain unchanged.Â Therefore, model calibration is not affected.Â However, the volume of groundwater flowing downslope toward the stream is affected.Â When the recharge rate is 3.1 inches per year the groundwater discharge to the stream derived from recharge and inflow at the northern boundary is 1,195,682 cubic feet per day.Â When the recharge rate is 1.55 inches per year, this discharge is halved to 597,341 cubic feet per day.

## Conclusion

Figures 1 through 4 illustrate the use of MODFLOW to simulate groundwater flow in surficial sand and gravel on impervious bedrock sloping toward a stream.Â Solver difficulties encountered in this type of system can be overcome by experimentation with solver input variables.Â Output files from this model are used to demonstrate groundwater flow path simulation on a separate webpage, which also contains a map of the water table produced by the simulation.

## Technical Endnotes

1This is the numpy array for the model grid.Â Numpy indices start with zero.Â MODFLOW grids start with one.Â The grid size is 1000X1000 feet, which is small enough to capture variation in hydraulic conductivity in the surficial deposits and put observed heads in separate cells.Â Numpy arrays were used because the model was set up and run usingÂ USGS FloPy software to produce input files.

2I used specific capacity data and static water level data to get an initial value for hydraulic conductivity in cells containing the wells.Â Then I used computerized mapping to get an initial distribution of hydraulic conductivity for the model grid.

3The first set of calibration runs successively changed hydraulic conductivity near the well with the greatest head deviation until all differences between observed and measured heads were less than 10 feet.Â This amount of deviation allows for steady state modeling of heads that vary with time and were sampled at different times in each well.Â A second set of calibration runs was required to reduce some heads below the land surface.Â Again, I started with the greatest head deviation and worked down until all heads were below the land surface.Â A third set of runs was required to reduce differences between measured and computed heads that were affected by the second set.Â Calibration statistics are as follows:

Number of observed heads = 29

Sum of head deviations = 68.8 (observed head - calculated head)

Mean error = 2.37

Mean absolute error = 4.38

Root mean square = 5.14

RMS ratio = 0.0098 (Root mean square divided by the maximum difference in observed head across the model.)

There is no obvious clustering of positive or negative head deviations.

4Recharge was initially set at 1.94 inches per year based on literature review of recharge in a semi-arid climate at high elevation.Â This value resulted in low heads throughout the model and numerical instability related to cells cycling wet/dry during the solution.Â Increasing recharge to 3.1 inches, representing 19 percent of the mean local precipitation rate, is at the high end of reasonable recharge rates for the climate.Â Since recharge and hydraulic conductivity are linked in the basic equation, one can simulate lower recharge rates after calibration is achieved by simply multiplying recharge and hydraulic conductivity by the same factor.

5No-flow boundaries were close enough to the expected groundwater gradient and far enough from the central area of interest that they would not significantly affect the objective of the model.

Posted May 17, 2019

Revised September 16, 2019