Walt McNab's repositories
Pumping_Test_Interpretation_with_Python
This is a Python (version 2 or 3) script to aid in the interpretation of aquifer pumping tests using the Theis (1935) and Hantush and Jacob (1955) solutions for confined and leaky confined aquifers, respectively, as well as a simple numerical method-of-lines solution for an unconfined aquifer with wellbore storage.
Coupled_gas_water_flow_and_transport_porous_media
This Julia language (version 0.5) script solves the coupled partial differential equations associated with (1) compressible gas flow in partially water-saturated porous media, (2) partially-saturated flow of water (essentially amounting to a solution of the Richards equation using the Van Genuchten equations for capillarity and relative permeability), and (3) advective-dispersive transport of both aqueous-phase solutes and gas components in the respective media.
Coupled_gas_water_transport_with_geochemistry
A two-phase (water + gas) reactive transport model, written in Julia, that also simulates geochemical reactions between water-gas-mineral phases via a link with PHREEQC.
Unsaturated_Flow_2D_Steady-state
This script, written in Julia (v. 1.0), solves the steady-state form of the Richards equation for variably-saturated flow in porous media in a two-dimensional vertical cross section.
RBF-based_correlated_random_field_generator
This is a streamlined python 3 script for generating spatially-correlated random fields in 2-D or 3-D using a radial basis function interpolator.
random_field
Python-based script for generating realistic-looking correlated random fields in 2-D or 3-D; includes a tkinter-based user interface
Theis_Well_Field_Drawdown
This python script uses scipy functionality (special function + spatial classes) to calculate the drawdown associated with a pumping well field according to the Theis equation.
Partially_saturated_groundwater_flow_model_in_julia
This julia script is a complete groundwater flow model based on the integral finite difference method.
Simplified_surface_water-groundwater_screening_model
This python script models the transient flow of water through a network of connected stream reaches of differing slopes and widths in accordance with the Manning equation, also accounting for discharge through the stream bed to underlying groundwater.
vadose_multiphase
A python script for modeling 1-D multiphase flow, based on a method-of-lines approach to solving a modified form of the Richards equation
Facilitator_scripts_for_reactive_flow_through_fractured_rock_with_PHREEQC
This repository contains python scripts for pre- and post-processing PHREEQC simulations for flow through a dual-porosity column, emulating reactive transport through fractured porous media.
Numerical_Solver_in_Python_for_Soil_Infiltration_Tests
This is a short Python 3 script that uses the SciPy package’s integrate.odeint method to solve a set of coupled ordinary differential equations approximating the infiltration of a wetting front into unsaturated soil.
Python_Script_for_Statistical_Resampling_and_Modeling_of_Multivariate_Water_Quality_Data
This special-purpose Python script reads a multivariate water quality data set, generates a larger synthetic data set with matching parameter probability distributions and pairwise correlations, and runs PHREEQC speciation simulations on the synthetic data.
Diamond-Square_Terrain_and_3D_Lattice_Generation_with_Python_and_Pandas
This is a relatively short python script (works with versions 2 or 3) for generating fractal surfaces or volumes, starting with an arbitrary initial lattice.
Heuristic_model_for_aquifer-aquitard_structures_in_fluvial_environments
This julia script models the formation of aquifer-aquitard structures in a fluvial setting.
A_Prototype_Lake_Package_for_Solute_Transport_Modeling_with_PHAST
This Python script provides a limited groundwater-lake water interaction modeling capability to the U.S. Geological Survey’s PHAST reactive transport model.
Heuristic_simulation_of_erosion_and_hydrologic_feature_formation
This julia language script reads an initial N x N grid of elevations across an x-y plane and simulates the formation of erosional and hydrologic features in response to user-supplied input parameters.
Leaky_Aquifer_Analytical_Model_for_Gas_Flow
This Python script models the steady-state pressure distribution and gas mass fluxes associated with operation of a soil vapor extraction (SVE) system in a leaky aquifer setting.
Numerical_Toolkit_for_Approximating_Groundwater_Flow_Field_from_Scattered_Data
This Julia script imports and interpolates scattered hydraulic head and hydraulic conductivity data (for a single-layer aquifer) using ordinary kriging.
VOC_Plume_Meta-analysis_with_Python
This is a python script I have written to read and parse a large groundwater quality database (tens of thousands of wells, with hundreds of thousands of sample events) into individual groundwater plumes, subject to subsequent spatial analyses to develop a simple set of plume metrics.
Alluvial_fan_formation_simulator
This repository contains the source code, example input files, and Windows executable for an alluvial fan formation simulator, written in D language.
GW_Quality_Classifier
This is python 2.7 script which reads, processes, and evaluates a large, multi-county groundwater quality data set.
LNAPL-in-an-unconfined-aquifer
A Julia-language script for modeling LNAPL floating on top of groundwater in a single-layer unconfined aquifer using an integral finite difference methodology
Modeling_Groundwater_Mounding_Using_D-Language
This is a relatively short program, written and compiled in D-language (https://dlang.org/), which simulates time-dependent mounding of groundwater in an unconfined aquifer underneath recharge basin(s), subject to pumping from nearby well(s).
Parsing_a_Numerical_Alluvial_Fan_Model_for_MODFLOW
This Python script parses the output of a simulated alluvial fan formation model into layers to support construction of a MODFLOW model for groundwater flow through the fan.
Regional_groundwater_chemistry_trends_in_R
This simple R script reads in selected analytes from the State of California’s groundwater Ambient Monitoring and Assessment (GAMA) database and performs principal component analysis and spatial correlation analysis on the resulting data subset.
Regression_Models_in_Python_for_Predicting_Lake_Stage_from_Cumulative_Hydrology_Data
This is a short Python script intended for analysis of historic rainfall data and lake stage hydrographs, with the objective of predicting the latter from the former.
Semi-analytical_groundwater_plume_model
A julia-based script to compute groundwater plumes by superposition and numerical integration
Superposition_of_Numerical_Radial_Groundwater_Flow_Models_to_Model_Multi-Aquifer_Transient_Radial_Fl
This Python script provides the functionality of a multi-aquifer, transient radial groundwater flow model, similar to what would be expected from an equivalent analytical solution.