Preprints
https://doi.org/10.5194/egusphere-2026-2941
https://doi.org/10.5194/egusphere-2026-2941
01 Jun 2026
 | 01 Jun 2026
Status: this preprint is open for discussion and under review for Geoscientific Model Development (GMD).

GWSWEX v1.0: a dual-solver 1D unsaturated zone model for mass-conservative groundwater recharge and runoff computation in distributed hydrological modelling

Veethahavya Kootanoor Sheshadrivasan and Jakub Langhammer

Abstract. The faithful numerical representation of the coupled dynamics between groundwater (GW), the unsaturated zone (UZ) and surface water (SW) remains one of the more persistent challenges of regional-scale integrated hydrological modelling. Physically-based models that solve the Richards equation in three dimensions provide a rigorous description of vertical fluxes, but their computational cost, sensitivity to parameter uncertainty, and tendency to over-emphasise capillary forces at the expense of preferential and non-equilibrium flow regimes limit their suitability as self-contained UZ modules for regional integrated hydrological models, ensemble simulations, and multi-decadal climate-impact studies. Conversely, the conceptual and water-balance bucket models routinely adopted at regional scales rarely retain enough vertical resolution to track the position of a moving groundwater head, to represent capillary rise from the GW into a depleted root zone, or to impose a physically consistent evapotranspiration (ET) stress that responds to the local soil-moisture state. This paper introduces GWSWEX (Groundwater–Surface Water EXchange), a vertically resolved process-based modelling package designed to occupy the middle ground between these two extremes and to act as a UZ coupler between an external GW model and an external SW model within an integrated modelling chain. GWSWEX represents each model element as a layered 1-D soil column, tracks GW elevation, per-layer UZ storage, and SW ponding as prognostic states, and exposes two interchangeable numerical solvers behind a unified Python API: an explicit operator-split bucket-sequence solver with CFL-adaptive sub-stepping, and an implicit mixed-form Richards solver with Picard linearisation and Thomas-algorithm tridiagonal inversion. Both solvers share the same spatial discretisation, the same Mualem–van Genuchten retention and conductivity relations, the same vertically integrated drainable-volume function for the moving groundwater head, and the same atmospheric and lateral boundary conditions. The model is implemented as a modern Fortran 2008 kernel with OpenMP parallelism over elements, exposed to Python via f2py, and configured through a Pydantic-validated user-facing API. Verification against HYDRUS-1D across six soil profiles and two contrasting forcing scenarios, together with an iterated one-at-a-time sensitivity analysis of the empirical parameters of both solvers and a parallel-ensemble computational performance benchmark, demonstrates sub-centimetre to near-centimetre GWH accuracy across smooth and intensive forcing regimes, characterises the physical limits of the layered-bucket abstraction, and examines the computational cost of the model at the ensemble sizes that regional integrated modelling requires.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share
Veethahavya Kootanoor Sheshadrivasan and Jakub Langhammer

Status: open (until 27 Jul 2026)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Veethahavya Kootanoor Sheshadrivasan and Jakub Langhammer

Model code and software

GWSWEX v1.0: Source and Verification Data Veethahavya Kootanoor Sheshadrivasan and Jakub Langhammer https://doi.org/10.5281/zenodo.20268583

Interactive computing environment

GWSWEX v1.0: Source and Verification Data Veethahavya Kootanoor Sheshadrivasan and Jakub Langhammer https://doi.org/10.5281/zenodo.20268583

Veethahavya Kootanoor Sheshadrivasan and Jakub Langhammer
Metrics will be available soon.
Latest update: 02 Jun 2026
Download
Short summary
Water constantly flows between rivers, soils, and aquifers, but capturing this accurately in numerical models is difficult. Detailed models are too expensive for regional use; simpler ones lack the resolution to track groundwater and soil moisture correctly. We built a model bridging this gap using two interchangeable numerical approaches. Tests across six soil types showed near-centimetre groundwater accuracy, making it suitable for ensemble simulations and regional climate-impact studies.
Share