SCIEPublish

A Reproducible R–Fortran Toolkit for Groundwater Flow and Contaminant Transport Modeling in Watershed Applications

Article Open Access

A Reproducible R–Fortran Toolkit for Groundwater Flow and Contaminant Transport Modeling in Watershed Applications

Author Information
Department of Biological Systems Engineering, Virginia Polytechnic Institute and State University, Blacksburg, VA 24061, USA
*
Authors to whom correspondence should be addressed.

Received: 10 March 2026 Revised: 10 April 2026 Accepted: 29 April 2026 Published: 15 May 2026

Creative Commons

© 2026 The authors. This is an open access article under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/).

Views:11
Downloads:4
J. Watershed Ecol. 2026, 1(1), 10005; DOI: 10.70322/jwe.2026.10005
ABSTRACT: Uncertainty and calibration are major challenges in hydrologic and hydraulic analysis, especially in watershed applications involving groundwater flow and contaminant transport. This study presents an integrated modeling framework for comprehensive simulation of groundwater flow and contaminant transport, with automated calibration and sensitivity analysis capabilities. The framework extends traditional Fortran-based modeling by incorporating the statistical, numerical, and visualization strengths of the R environment. In the proposed approach, the Fortran code is executed within R, while the Fortran program employs a finite-volume time-splitting method to discretize the governing equations of groundwater flow and contaminant transport. Integration with R statistical packages improves model calibration, sensitivity evaluation, and visualization of groundwater contamination results. To illustrate the applicability of the framework, two test cases of groundwater flow and contaminant transport through porous media were conducted. Results demonstrate the accuracy, efficiency, and enhanced visualization capabilities of the integrated system. Ultimately, the framework is intended to support three-dimensional analysis of pollution plume evolution in heterogeneous media and to investigate interactions among multiple contaminant sources in watershed systems.
Keywords: Groundwater flow; Contaminant transport; Watershed modeling; R–Fortran integration

Graphical Abstract

TOP