Submitted:
05 March 2025
Posted:
06 March 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. GMesh Architecture
2.1.1. Network Pre-Processing
2.1.2. Mesh Generation
2.1.3. Polygons Definition
2.1.4. Localized Mesh Refinement
2.2. Functions and Usage
- Get_segments_topology: Obtains the connectivity between the new channel segments (Figure 1b).
- Get_mesh_river_points: Obtains the coordinates of the points surrounding each network segment. It extracts two points per segment, one over the left and the other over the right (Figure 1c).
- Get_mesh_grid_points: Defines the coordinates of a regular grid used to populate the mesh inside the watershed (Figure 1d).
- Get_vornoi_polygons: Derives the polygons using the river, regular grid, and border mesh points. Also, it differentiates between them.
- Define_polygons_topology: Defines the valid polygons, the connectivity between them, their connectivity with the segments network, and their properties (Figure 1e).
3. Results
3.1. Bear Creek Watershed Example
3.2. Mesh Stability Evaluation
3.3. Local Mesh Refinement
4. Discussion
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
Abbreviations
| GHOST | Generic Hydrologic Overland-Subsurface Toolkit |
| WMF | Watershed Modelling Framework |
| GMesh | GHOST Mesh generator |
References
- Freeze, R.A.; Harlan, R.L. Blueprint for a Physically-Based, Digitally-Simulated Hydrologic Response Model. Journal of Hydrology 1969, 9, 237–258. [Google Scholar] [CrossRef]
- Politano, M.; Arenas, A.; Weber, L. A Process-Based Hydrological Model for Continuous Multi-Year Simulations of Large-Scale Watersheds. International Journal of River Basin Management 2023, 1–14. [Google Scholar] [CrossRef]
- Simmons, C.T.; Brunner, P.; Therrien, R.; Sudicky, E.A. Commemorating the 50th Anniversary of the Freeze and Harlan (1969) Blueprint for a Physically-Based, Digitally-Simulated Hydrologic Response Model. Journal of Hydrology 2020, 584, 124309. [Google Scholar] [CrossRef]
- Sanzana, P.; Jankowfsky, S.; Branger, F.; Braud, I.; Vargas, X.; Hitschfeld, N.; Gironás, J. Computer-Assisted Mesh Generation Based on Hydrological Response Units for Distributed Hydrological Modeling. Computers & Geosciences 2013, 57, 32–43. [Google Scholar] [CrossRef]
- García, M.Á.D. Modelación del flujo en 3D en el proceso de sedimentación primaria para el tratamiento de aguas residuales domesticas utilizando ANSYS-FLUENT. Master thesis, Escuela Colombiana de Ingenieria Julio Garavito: Bogota, Colombia, 2022.
- Slotnick, J.; Khodadoust, A.; Alonso, J.; Darmofal, D.; Gropp, W.; Lurie, E.; Mavriplis, D. CFD Vision 2030 Study: A Path to Revolutionary Computational Aerosciences. 2014.
- Donnelly, C.; Rosberg, J.; Isberg, K. A Validation of River Routing Networks for Catchment Modelling from Small to Large Scales. Hydrology Research 2013, 44, 917–925. [Google Scholar] [CrossRef]
- Rojas, R.; Velleux, M.; Julien, P.Y.; Johnson, B.E. Grid Scale Effects on Watershed Soil Erosion Models. J. Hydrol. Eng. 2008, 13, 793–802. [Google Scholar] [CrossRef]
- Marsh, C.B.; Spiteri, R.J.; Pomeroy, J.W.; Wheater, H.S. Multi-Objective Unstructured Triangular Mesh Generation for Use in Hydrological and Land Surface Models. Computers & Geosciences 2018, 119, 49–67. [Google Scholar] [CrossRef]
- Shewchuk, J.R. Triangle: Engineering a 2D Quality Mesh Generator and Delaunay Triangulator. In Applied Computational Geometry Towards Geometric Engineering; Lin, M.C., Manocha, D., Eds.; Lecture Notes in Computer Science; Springer Berlin Heidelberg: Berlin, Heidelberg, 1996; ISBN 978-3-540-61785-3. [Google Scholar]
- Brunner, P.; Simmons, C.T. HydroGeoSphere: A Fully Integrated, Physically Based Hydrological Model. Groundwater 2012, 50, 170–176. [Google Scholar] [CrossRef]
- Šimůnek, J.; Van Genuchten, M.Th.; Šejna, M. Development and Applications of the HYDRUS and STANMOD Software Packages and Related Codes. Vadose Zone Journal 2008, 7, 587–600. [Google Scholar] [CrossRef]
- Geuzaine, C.; Remacle, J.-F. Gmsh: A Three-Dimensional Finite Element Mesh Generator with Built-in Pre- and Post-Processing Facilities. Int. J. Numer. Meth. Engng. 2009. [Google Scholar]
- Deltares D-Flow Flexible Mesh User Manual; 2024.
- Fatichi, S.; Vivoni, E.R.; Ogden, F.L.; Ivanov, V.Y.; Mirus, B.; Gochis, D.; Downer, C.W.; Camporese, M.; Davison, J.H.; Ebel, B.; et al. An Overview of Current Applications, Challenges, and Future Trends in Distributed Process-Based Models in Hydrology. Journal of Hydrology 2016, 537, 45–60. [Google Scholar] [CrossRef]
- Kang, Y.; Kubatko, E.J. An Automatic Mesh Generator for Coupled 1D–2D Hydrodynamic Models. Geosci. Model Dev. 2024, 17, 1603–1625. [Google Scholar] [CrossRef]
- Velásquez, N.; Vélez, J.I.; Álvarez-Villa, O.D.; Salamanca, S.P. Comprehensive Analysis of Hydrological Processes in a Programmable Environment: The Watershed Modeling Framework. Hydrology 2023, 10, 76. [Google Scholar] [CrossRef]
- Vélez, J.I. Desarrollo de Un Modelo Hidrológico Conceptual y Distribuido Orientado a La Simulación de Crecidas. Tesis doctoral - Universidad Politécnica de Valencia 2001, 266.
- Francés, F.; Vélez, J.I.; Vélez, J.J. Split-Parameter Structure for the Automatic Calibration of Distributed Hydrological Models. Journal of Hydrology 2007, 332, 226–240. [Google Scholar] [CrossRef]
- Mantilla, R.; Krajewski, W.F.; Velasquez, N.; Small, S.J.; Ayalew, T.B.; Quintero, F.; Jadidoleslam, N.; Fonley, M. The Hydrological Hillslope-Link Model for Space-Time Prediction of Streamflow: Insights and Applications at the Iowa Flood Center. Extreme weather forecasting 2022, 200. [Google Scholar]
- Tarboton, D.G.; Bras, R.L. The Analysis of River Basins and Channel Networks Using Digital Terrain Data. Department of Civil Engineering 1989, Doctor of, 252. [Google Scholar]
- Özgen-Xian, I.; Kesserwani, G.; Caviedes-Voullième, D.; Molins, S.; Xu, Z.; Dwivedi, D.; Moulton, J.D.; Steefel, C.I. Wavelet-Based Local Mesh Refinement for Rainfall–Runoff Simulations. Journal of Hydroinformatics 2020, 22, 1059–1077. [Google Scholar] [CrossRef]
- Wright, K.; Passalacqua, P.; Simard, M.; Jones, C.E. Integrating Connectivity Into Hydrodynamic Models: An Automated Open-Source Method to Refine an Unstructured Mesh Using Remote Sensing. J Adv Model Earth Syst 2022, 14, e2022MS003025. [Google Scholar] [CrossRef]
- Velásquez, N.; Vélez, J.I.; Álvarez-Villa, O.D.; Salamanca, S.P. Comprehensive Analysis of Hydrological Processes in a Programmable Environment: The Watershed Modeling Framework. Hydrology 2023, 10, 76. [Google Scholar] [CrossRef]
- Horritt, M.S.; Bates, P.D.; Mattinson, M.J. Effects of Mesh Resolution and Topographic Representation in 2D Finite Volume Models of Shallow Water Fluvial Flow. Journal of Hydrology 2006, 329, 306–314. [Google Scholar] [CrossRef]
- Dehotin, J.; Braud, I. Which Spatial Discretization for Distributed Hydrological Models? Proposition of a Methodology and Illustration for Medium to Large-Scale Catchments. Hydrol. Earth Syst. Sci. 2008, 12, 769–796. [Google Scholar] [CrossRef]
- Gurtz, J.; Zappa, M.; Jasper, K.; Lang, H.; Verbunt, M.; Badoux, A.; Vitvar, T. A Comparative Study in Modelling Runoff and Its Components in Two Mountainous Catchments. Hydrological Processes 2003, 17, 297–311. [Google Scholar] [CrossRef]
- Horton, P.; Schaefli, B.; Kauzlaric, M. Why Do We Have so Many Different Hydrological Models? A Review Based on the Case of Switzerland. WIREs Water 2022, 9, e1574. [Google Scholar] [CrossRef]
- Mantilla, R.; Fonley, M.; Velasquez, N. Technical Note: Testing the Connection Between Hillslope Scale Runoff Fluctuations and Streamflow Hydrographs at the Outlet of Large River Basins 2023.







| Number of elements | Generation time (min) | Average number of faces |
|---|---|---|
| 10000 (10k) | 10 | 11 |
| 15000 (15k) | 20 | 8 |
| 30000 (30k) | 35 | 7 |
| Number of elements | GHOST computational time (hours) |
|---|---|
| 10000 (10k) | 0.5 |
| 15000 (15k) | 1 |
| 30000 (30k) | 7 |
| Item | Computational time (hours) |
| Mesh generation | 0.2 |
| GHOST execution | 0.4 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).