Description Usage Arguments Details Value Author(s) References Examples
View source: R/WriteModflowInput.R
This function generates and writes input files for a MODFLOW simulation of groundwater flow in the Wood River Valley (WRV) aquifer system.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | WriteModflowInput(
rs.model,
rech,
well,
trib,
misc,
river,
drain,
id,
dir.run,
is.convertible = FALSE,
ss.perlen = 0L,
tr.stress.periods = NULL,
ntime.steps = 4L,
mv.flag = 1e+09,
auto.flow.reduce = FALSE,
verbose = TRUE
)
|
rs.model |
RasterStack. Collection of RasterLayer objects with the same extent and resolution, see ‘Details’ for required raster layers. |
rech |
data.frame.
Areal recharge rate, in cubic meters per day.
Variables describe the model cell location ( |
well |
data.frame. Well pumping at point locations in cubic meters per day. Variables describe the model cell location and volumetric rate during each stress period. |
trib |
data.frame. Incoming flows from the major tributary canyons. Variables describe the model cell location and volumetric rate during each stress period. |
misc |
data.frame. Direct recharge from miscellaneous seepage sites in cubic meters per day. Variables describe the model cell location and volumetric rate during each stress period. |
river |
data.frame.
River conditions.
Variables describe the model cell location, river conductance
( |
drain |
data.frame.
Drain conditions for groundwater outlet boundaries.
Variables describe the model cell location, drain threshold elevation
( |
id |
character. Short identifier for the model run. |
dir.run |
character. Path name of the directory to write model input files. |
is.convertible |
logical. If true, indicates model layers are ‘convertible’, with transmissivity computed using upstream water-table depth. Otherwise, model layers are ‘confined’ and transmissivity is constant over time. |
ss.perlen |
integer or difftime. Length of the steady-state stress period in days. |
tr.stress.periods |
Date. Vector of start times for each stress period in the transient simulation. If missing, only steady-state conditions are simulated. |
ntime.steps |
integer. Number of uniform time steps in a stress period. |
mv.flag |
numeric. Missing value flag for output reference data files. |
auto.flow.reduce |
logical. If true, a simulated well will adjust pumping according to supply under bottom-hole conditions. Pumping rates that have been automatically reduced will be written to a model output file (‘.afr’). |
verbose |
logical. If true, additional information is written to the listing file (‘.lst’) and budget file (‘.bud’) |
Groundwater flow in the WRV aquifer system is simulated using the MODFLOW-USG groundwater-flow model. This numerical model was chosen for its ability to solve complex unconfined groundwater flow simulations. The solver implemented in MODFLOW-USG incorporates the Newton-Raphson formulation for improving solution convergence and avoiding problems with the drying and rewetting of cells (Niswonger and others, 2011). A structured finite-difference grid is implemented in the model to (1) simplify discretization, (2) keep formats and structures for the MODFLOW-USG packages identical to those of MODFLOW-2005, and (3) allow any MODFLOW post-processor to be used to analyze the results of the MODFLOW-USG simulation (such as Model Viewer).
Model input files are written to dir.run
and include the following MODFLOW Package files:
Name (‘.nam’), Basic (‘.ba6’), Discretization (‘.dis’),
Layer-Property Flow (‘.lpf’), Drain (‘.drn’), River (‘.riv’),
Well (‘.wel’), Sparse Matrix Solver (‘.sms’), and Output Control (‘.oc’).
See the users guide (Description of Model Input and Output) included with the MODFLOW-USG
software for details on input file formats and structures.
Data within the rech
, well
, trib
, and misc
arguments are
combined in the MODFLOW Well Package and identifiable with added id
values of
1, 2, 3, and 4, respectively.
The Layer-Property Flow file includes options for the calculation of vertical flow in partially dewatered cells. For the WRV model, where there is no indication that perched conditions exist, CONSTANTCV and NOVFC options are used to create the most stable solution (Panday and others, 2013, p. 15-16). Options for the Sparse Matrix Solver were set for unconfined simulations by implementing an upstream-weighting scheme with Newton-Raphson linearization, Delta-Bar-Delta under-relaxation, and the χMD solver of Ibaraki (2005).
The raster stack rs.model
includes the following layers:
elevation at the top of model layer 1 (land surface), in meters above the NAVD 88.
elevation at the bottom of model layer 1, in meters above the NAVD 88.
elevation at the bottom of model layer 2.
elevation at the bottom of model layer 3.
initial (starting) hydraulic head in model layer 1, in meters above the NAVD 88.
initial hydraulic head in model layer 2.
initial hydraulic head in model layer 3.
hydrogeologic zones in model layer 1 where values equal to 1 is unconfined alluvium, equal to 2 is basalt, equal to 3 is clay, and equal to 4 is confined alluvium.
hydrogeologic zones in model layer 2.
hydrogeologic zones in model layer 3.
horizontal hydraulic conductivity in model layer 1, in meters per day.
horizontal hydraulic conductivity in model layer 2.
horizontal hydraulic conductivity in model layer 3.
Used for the side-effect of files written to disk.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
Ibaraki, M., 2005, χMD User's guide-An efficient sparse matrix solver library, version 1.30: Columbus, Ohio State University School of Earth Sciences.
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 at https://pubs.usgs.gov/tm/tm6a37/.
Panday, Sorab, Langevin, C.D., Niswonger, R.G., Ibaraki, Motomu, and Hughes, J.D., 2013, MODFLOW-USG version 1: An unstructured grid version of MODFLOW for simulating groundwater flow and tightly coupled processes using a control volume finite-difference formulation: U.S. Geological Survey Techniques and Methods, book 6, chap. A45, 66 p., available at https://pubs.usgs.gov/tm/06/a45/.
1 | ## Not run: # see Appendix D. Uncalibrated Groundwater-Flow Model
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.