Articles | Volume 12, issue 6
https://doi.org/10.5194/esurf-12-1295-2024
https://doi.org/10.5194/esurf-12-1295-2024
Research article
 | 
25 Nov 2024
Research article |  | 25 Nov 2024

GraphFlood 1.0: an efficient algorithm to approximate 2D hydrodynamics for landscape evolution models

Boris Gailleton, Philippe Steer, Philippe Davy, Wolfgang Schwanghart, and Thomas Bernard
Abstract

Computing hydrological fluxes at the Earth's surface is crucial for landscape evolution models, topographic analysis, and geographic information systems. However, existing formalisms, like single or multiple flow algorithms, often rely on ad hoc rules based on local topographic slope and drainage area, neglecting the physics of water flow. While more physics-oriented solutions offer accuracy (e.g. shallow-water equations), their computational costs limit their use in terms of spatial and temporal scales. In this contribution, we introduce GraphFlood, a novel and efficient iterative method for computing river depth and water discharge in 2D with a digital elevation model (DEM). Leveraging the directed acyclic graph structure of surface water flow, GraphFlood iteratively solves the 2D shallow-water equations. This algorithm aims to find the correct hydraulic surface by balancing discharge input and output over the topography. At each iteration, we employ fast-graph-theory algorithms to calculate flow accumulation on the hydraulic surface, approximating discharge input. Discharge output is then computed using the Manning flow resistance equation, similar to the River.lab model (Davy and Lague2009). The divergence of discharges iteratively increments flow depth until reaching a stationary state. This algorithm can also solve for flood wave propagation by approximating the input discharge function of the immediate upstream neighbours. We validate water depths obtained with the stationary solution against analytical solutions for rectangular channels and the River.lab and CAESAR-Lisflood models for natural DEMs. GraphFlood demonstrates significant computational advantages over previous hydrodynamic models, an with approximately 10-fold speed-up compared to the River.lab model (Davy and Lague2009). Additionally, its computational time scales slightly more than linearly with the number of cells, making it suitable for large DEMs exceeding 106108 cells. We demonstrate the versatility of GraphFlood by integrating realistic hydrology into various topographic and morphometric analyses, including channel width measurement, inundation pattern delineation, floodplain delineation, and the classification of hillslope, colluvial, and fluvial domains. Furthermore, we discuss its integration potential in landscape evolution models, highlighting its simplicity of implementation and computational efficiency.

1 Introduction

River dynamics encompass key processes of landscape evolution at different temporal and spatial scales. Rivers transfer sediments downstream, control the base level of hillslopes, and set the pace of denudation rates (e.g. Clubb et al.2019). Modelling landscape evolution and the development of fluvial landforms, in particular, thus requires a sound representation of how rivers erode, transport, and deposit material. As landscape evolution models are used to simulate the dynamics of topography over 105107 years and at continental scales (Salles et al.2023), accounting for short-term processes (e.g. daily variations of discharge, flood) at local scales remains a methodological and numerical challenge. Simulating flow in open environments in two or three dimensions requires sophisticated numerical methods, which are computationally demanding and which are thus mostly inappropriate for the challenge of simulating landscape evolution over geological timescales (Davy et al.2017). Instead, a common approach to modelling water flow across landscapes consists of applying single or multiple flow algorithms (e.g. Tarboton1997; O'Callaghan and Mark1984). These techniques route water along topographic gradients towards one or multiple neighbouring pixels in a digital elevation model (DEM) and approximate discharge by drainage area weighted by precipitation rates (Adams et al.2020). The approximation of steady flow using drainage-area-based discharge has been the cornerstone of integrating hydrodynamics in long-term erosion laws (e.g. Whipple and Tucker1999). This approach has the compelling advantage that it reduces flow patterns to a network of flow lines and has been widely used to establish empirical scaling laws relating drainage area to channel steepness and uplift (Wobus et al.2006) or to unravel landscape evolution from the planform shape of river networks (Schumm et al.2000; Willett et al.2014). Moreover, these methods rely on efficient algorithms, which leverage graph theory to compute drainage area (e.g. Braun and Willett2013; Anand et al.2020), flow across complex terrain (e.g. Barnes et al.2014; Cordonnier et al.2019; Barnes et al.2021; Schwanghart and Scherler2017), or geomorphological metrics (e.g. Gailleton et al.2019; Mudd et al.2018; Grieve et al.2018; Schwanghart et al.2021). In particular, the single-flow-direction algorithm is thus the numerical workhorse for simulation software for landscape evolution (e.g. Hergarten2020; Braun and Sambridge1997; Willgoose et al.1994; Campforts et al.2017; Braun and Willett2013) and numerical frameworks for quantitative geomorphology (e.g. Barnhart et al.2020; Gailleton et al.2024; Schwanghart and Scherler2014; Mudd et al.2019).

However, reducing rivers to lines in landscape evolution models may overtly simplify the dynamics and feedbacks of fluvial processes (Armitage2019). In fact, the response of rivers to climate variability, tectonic movements, or base-level changes is more varied than the simple propagation of a wave of vertical changes through a 1D network of lines. For example, changes in boundary conditions cause rivers to adjust their width (e.g. Dunne and Jerolmack2020; Baynes et al.2022) and their planform flow pattern (e.g. Schuurman et al.2013), both of which feed back on sediment fluxes (e.g. Davy and Lague2009). In addition, the past decade has seen the rising availability of high-resolution lidar-derived DEMs (< 1 m resolution). This means, however, that for a variety of geomorphological applications (e.g. Steer et al.2022; Stammberger et al.2024) rivers cannot be realistically represented by one-pixel-wide paths (Fig. 1d). Several recent studies demonstrate the advantages of integrating 2D hydrodynamics to inform the study of landforms, even on long timescales (Costabile et al.2019; Costabile and Costanzo2021; Bernard et al.2022). However, these methods are difficult to upscale for more generalized analysis due to their reliance on closed-source software and are not straightforward for non-specialists to adapt and reuse.

Here we present GraphFlood, a new and efficient method based on graph theory and finite differences, to fill this methodological gap and allow the efficient approximation of 2D hydrodynamics on high-resolution topography and/or in a longer-term landscape evolution model.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f01

Figure 1Comparison between water flows approximated with GraphFlood (a, c), calculating flow depth and discharge vectors, and with a classic drainage-area-based method (D8 steepest descent route) (b, d). The panels detail a channel junction and highlight how GraphFlood models flow patterns and how these differ from one-pixel-wide flows derived from the D8 algorithm. The black arrows in panel (c) represent the flow velocity vectors and are scaled to their magnitude. For panel (d), the red arrows represent the D8 flow direction. h is the flow depth and A the drainage area.

1.1 Existing solutions

A range of numerical models incorporating 2D to 3D hydrodynamics to study river systems and their morphological evolution exists, with widely different methods and levels of complexity, depending on the temporal and spatial scales of interest. Finite-element models are commonly used for reach-scale models, such as DELFT3D (Roelvink and Banning1995), HEC-RAS (Brunner2016), BASEMENT (Vanzo et al.2021), or TELEMAC (Villaret et al.2013). These models are designed for simulating the evolution of fluvial landforms over scales of 1–100 km and over 1–100 years and therefore fall outside the scope of this study.

Bates et al. (2010) developed a two-dimensional hydrodynamic model, Lisflood-FP, solving for the 2D shallow-water equations. Their cellular automata approach has been successfully incorporated into the landscape evolution model CAESAR Coulthard et al. (2013) to simulate reach- to catchment-scale fluvial hydro-morphodynamics (e.g. Yu and Coulthard2015; Liu and Coulthard2015; Coulthard and Van De Wiel2017). Lisflood-FP adopts a finite-difference scheme on the bidirectional water fluxes between pixels. While it has been applied to catchment scales over potentially thousands of years (e.g. Liu and Coulthard2017), its potential for longer-term and larger-scale studies remains hampered by the physics behind, which explicitly and gradually transfer water from one cell to another. Specifically, any upstream change in runoff input (e.g. precipitation) must be gradually propagated downstream one pixel per computational time step. Although modelling non-steady flows is crucial for simulating transient responses to individual storm events (e.g. Van De Wiel and Coulthard2010), it becomes a limiting factor when simulating over longer timescales or larger scales. Bates et al. (2010) and subsequent improvements by de Almeida et al. (2012) have been utilized in other landscape evolution frameworks (e.g. Barnhart et al.2020) following the same principle.

An alternative approach is to focus on the stationary state of the river network (i.e. in equilibrium with the input field of runoff). The main challenge in efficiently estimating the stationary solution lies in spreading the flow to its equilibrium field. The latter depends on the final geometry of the hydraulic surface, which cannot be deduced from the geometry of the terrain alone. To address this point, Davy et al. (2017) developed an efficient particle-based solution to solve the shallow-water equations. In this approach, precipitons (i.e. elementary volumes of water) are released onto the landscape. Each precipiton follows a stochastic path down the hydraulic surface, increasing the flow depth by a constant value, representing the total water influx. This increase is balanced by a decrease in flow depth, calculated using Manning's equations and where each precipiton has its own timestamp. The frequency at which precipitons pass through a cell determines the final, stationary flow depth field. This method is computationally efficient in areas where flow converges and a high frequency of precipitons passes through (e.g. fluvial valleys). However, the efficiency and accuracy of River.lab (formerly FLOODOS) depend on the frequency of precipiton passage. Accurately approximating the shallow-water equation becomes challenging in regions with lower drainage areas or any domains where the frequency of precipiton passage is very low (e.g. flat areas, hilltops, hillslopes, smaller tributaries). This behaviour is accentuated in large DEMs, where the probability of precipiton passage is even lower.

Finally, Pelletier (2008) outlined the prototype of a highly iterative solution that repeatedly runs a multiple-flow-direction flow-routing DEM (e.g. Tarboton1997). This process incrementally and arbitrarily increases the flow height until satisfying an equilibrium between flow depth and input discharge. However, it requires a significant number of iterations to ensure all the cells have converged to the final result.

1.2 A new solution based on graph theory

In this contribution, we introduce GraphFlood, a novel iterative approach that is both efficient and adaptable for solving the shallow-water equations across entire landscapes. Numerically, each DEM location is linked to its neighbours through unique directional connections, either upstream or downstream. In graph theory, this structure is known as a directed acyclic graph, which allows for the application of efficient algorithms for information propagation through landscapes (e.g. Anand et al.2020; Braun and Willett2013; Gailleton et al.2024; Hergarten and Neugebauer2001). Similar to Davy et al. (2017), GraphFlood assumes steady flow to focus on the stationary solution, meaning that flow is propagated across the landscape instantaneously. However, unlike Davy et al. (2017), whose accuracy and efficiency vary depending on the frequency of passage of discrete particles, GraphFlood leverages the graph structure to process the entire landscape in each iteration. This includes domains with low drainage areas. Runoff is propagated using drainage area weighted by precipitation rates, and local discharge is calculated using Manning's friction equations. At each iteration, the balance of input and output discharges is incrementally adjusted for every cell in the landscape, refining the flow depth until hydraulic equilibrium is achieved. This global approach is scalable and allows for targeting larger DEMs without compromising the efficiency or accuracy of the algorithm.

In the following sections, we first describe the theory behind our method, then explain the algorithm and the associated finite-difference scheme. We then test different case studies to demonstrate the method's potential for flood modelling, morphometric analysis, and landscape evolution modelling. Finally, we discuss the limitations and potential future developments of the model.

2 Theoretical background

First, we outline the governing equations behind GraphFlood. We use the 2D shallow-water equations to approximate the physics of water flow in open environments. They integrate the three-dimensional Navier–Stokes equations over the vertical dimension, assuming that the velocity field varies primarily in the horizontal direction. Different variants of the shallow-water equations are commonly used to model flooding beyond reach scale (e.g. Bates et al.2010; de Almeida et al.2012; Davy et al.2017; Bates2022). The 2D shallow-water equations consist of a mass conservation equation and a momentum conservation equation. Using the notation of Davy et al. (2017), the mass conservation equation can be written as

(1) h t - ( q ) = 0 ,

where h is the water depth [L], t the time [T], and q the discharge per unit width [L2 T−1].

Neglecting inertia, Manning et al. (1895) demonstrated that the momentum equation can be simplified into Manning's equations where flow velocity u (in L T−1) is expressed as

(2) u = h α n s s 1 2 ,

where α is Manning's exponent, usually assumed to equal 23, n is Manning's friction coefficient, and s is the steepest gradient of the hydraulic surface. The hydraulic surface is Zh=Z+h, the elevation of the flow depth h on the top of the topographic surface Z.

In order to insert Eq. (2) into Eq. (1), discharge per unit width and velocity are related via flow depth.

(3) q = u h

Unlike similar methods (e.g. Bates et al.2010) or more sophisticated formulations (e.g. Brunner2016) incorporating additional physical elements (e.g. inertia, turbulence), our method is designed to be optimized when these components can be neglected (Davy et al.2017). We use Q to refer to the volumetric flux [L3 T−1] and the subscript Qin and Qout to respectively refer to quantities entering or leaving a given cell.

These equations can simulate the propagation of water through space and time dynamically, solving a transient flood wave. ∇⋅q is the difference between qin made of qout from upstream neighbours and qout from the current cell to its downstream neighbours. For a constant input of qin on a landscape (e.g. constant precipitation rates, fixed input discharge), the system has an equilibrium state – or stationary solution – where the water depth and hydraulic slope lead to a qout balancing qin. The total Qin for the stationary state for a given location becomes the integration of all the source terms (e.g. precipitation, resurgence) over the drainage area upstream of a given location.

In this contribution, we refer to the transient solution when we seek to solve the transient propagation of Q through space and time and to the stationary solution when we are only interested in the equilibrated fields.

3 A graph-based iterative method

We present a numerical framework to solve the governing equations outlined in Sect. 2. Our scheme applies various variants of an explicit finite-difference method on a directed acyclic graph (see Braun and Willett2013; Barnhart et al.2020; Gailleton et al.2024, for other geomorphological models using this family of methods). It aims to provide efficient solutions, suitable for large-scale DEMs and landscape evolution models. Our iterative scheme is optimized for the stationary solution but can be used for transient simulation. In the following, we detail the numerical graph structure required by our method, describe the finite-difference scheme, explain the transient and stationary solutions, and validate them against analytical solutions.

3.1 Numerical structure

We use the following terms adopted from graph theory (see  Heckmann et al.2015, for a comprehensive review of the use of graph theory applied to geomorphological applications): a discrete location is represented by a node, linked to its neighbour nodes via links. The links are directed edges linking donors to their downstream receivers. In our reference donors have a higher hydraulic surface (Z+h) than their receivers. The algorithm is compatible with any type of grid (e.g. hexagonal grid or triangular network), as long as the directed acyclic graph structure defines the topology between the pixels or facets. Each link is characterized by a specific length l representing the distance between the two neighbour nodes and a link width w representing the local width. Each node represents a cell area Ac ([L2]). The scheme also requires common directed acyclic graph algorithms: topological ordering, which provides a list of nodes sorted from upstream to downstream, and sink filling, a method for filling local minima disconnected from the rest of the graph (e.g. lakes, local noise). The directed acyclic graph can utilize either a single-flow-direction topology (Braun and Willett2013), where each node has a single receiver (e.g. steepest descent or D8), or a multiple-flow-direction directed acyclic graph where each node is linked to multiple receivers (e.g. Tarboton1997; Anand et al.2020). This distinction is important because operations on single-flow-direction directed acyclic graphs are generally simpler and more efficient than those on multiple-flow-direction directed acyclic graphs (e.g. Braun and Willett2013; Anand et al.2020). However, it is worth noting that the latter captures more details about flow topology and tends to increase the accuracy of the represented processes (e.g. Armitage2019).

In this contribution, we developed the method for regular grids. In the stationary case, we use the algorithms of Barnes et al. (2014) and Cordonnier et al. (2019) to ensure flow continuity and proceed to an initial filling of the local minima (e.g. noise, lake). Topological sorting operations use a modified version of Braun and Willett (2013) for a single flow direction and a variant of Anand et al. (2020) for multiple flow directions. These modifications involve minor data structure changes that enhance performance and readability without altering overall functioning (see Gailleton et al.2024, for detailed implementations). One advantage of GraphFlood is that it can be implemented using existing computational frameworks for DEM analysis and landscape evolution model (LEM) simulation (e.g. Schwanghart and Scherler2014; Gailleton and Mudd2021; Barnhart et al.2020): the base of the algorithm only needs to calculate flow direction and topological order. A notable difference compared to existing frameworks is that we calculate the directed acyclic graph using the hydraulic surface rather than the topography.

3.2 Iterative explicit finite-difference scheme

We use an explicit finite-difference scheme to solve Eq. (1). In the transient case, the numerical solution predicts flow depth change for every node i:

(4) h i t + 1 - h i t Δ t = d = donors ( i ) Q in d - r = receivers ( i ) Q out r A c ,

where Qind represents the discharge from a donor d to the node i and Qoutr the discharge from the node i and a receiver r. For the latter, in the case of a single flow direction (i.e. single receiver), Eq. (3) becomes

(5) Q out i = Δ W n h i α s i r ,

where i and r are a given node and its single receiver, respectively, and ΔW is the flow width ([L]) in the given direction. Because flow can only go through one link, ΔW is easy to determine. For example, for our case of a regular grid, it is Δx in the y direction, Δy in the x direction, and the diagonal length for the other cases. As noted by Coulthard et al. (2013), multiple flow directions can become increasingly more complicated: multiple receivers mean ΔW “overlaps” and using the direct width of flow for each link can break the conservation of mass. Let us imagine a regular grid considering D8 neighbouring (cardinal and diagonal directions): a node that would discharge to all these directions would integrate twice the total flow width. Porting this formulation to multiple flow directions requires a correction factor. Equation (3) in a multiple-flow-direction directed acyclic graph therefore becomes

(6) Q out i = C n h i α j in receivers s i , j Δ W i , j s i , j , max ,

where si,j,max is the hydraulic slope in the direction of maximum descent.

By definition, and for a given flow depth, both single-flow-direction and multiple-flow-direction discharges should be equal. Therefore, the correction factor is

(7) C = s i , j max Δ W i , j max j in receivers S i , j Δ W i , j ,

Eq. (6) is then equivalent to Eq. (5), and the difference between the two solvers only remains in the partitioning of Qin, which becomes proportional to si,jΔWi,j.

Both transient and stationary solutions follow that scheme to calculate the output discharge; the difference is the calculation Qin for all nodes. The overall process is outlined in Algorithm 1.

Algorithm 1Iterative stationary solver.

Initialize directed acyclic graph structure on hydraulic surface
while Convergence criterion (see Sect. 3.3 and 3.4) not met do
Update directed acyclic graph with hydraulic surface
for each node n in downstream topological order do
Calculate s(n) and weight partitioning
Determine Qin(n) from upstream nodes
Calculate Qout(n)
Transfer Q to receivers of n
end for
Increment hw for all nodes
end while

3.3 Transient solution

For the transient solution, Qindi is Qoutdi calculated between the donor and this node plus an eventual local external Qin source term (e.g. resurgence, precipitation, grid edge input). The method becomes similar to Bates et al. (2010) – but their formulation includes an approximation of inertia and has a D4 flow topology. Although straightforward and massively parallelizable (e.g. Apel et al.2022), this method does not benefit from the directed acyclic graph data structure as signals are propagated from one node to their immediate neighbours. If external Qin is kept constant long enough, this solution converges toward a unique equilibrium stationary state and is not efficient if the intermediate transient steps are not important.

Like any explicit finite-difference methods, higher time steps lead to fewer iterations and more efficient spread but also more instability. Equation (2) expresses the velocity of a flood wave and therefore its stability can be approximated using the Courant–Friedrichs–Levy (CFL) conditions:

(8) C r = Δ t u max Δ x max ,

where Cr is the Courant number.

The transient solution converges toward an equilibrium hydraulic surface and Q field. We estimate convergence based on median h and ΔhΔt for the whole landscape. We stop the iterative process once the first plateaus and when the increment in flow depth becomes lower than an acceptable ad hoc threshold (e.g. 10−9 m).

3.4 Stationary solution

The stationary solution optimizes convergence towards the equilibrated solution – i.e. the steady-state flow depth and discharge fields to an input runoff. Ultimately, the amount of water flowing through a landscape equates to the runoff rate propagated into the drainage network. Numerically speaking, it results in calculating a weighted drainage area, a procedure already in use in GIS applications and LEMs when it comes to integrating the effect of spatial variations in precipitation (e.g. Leonard et al.2023). In the case of effective precipitation, each node receives a local P(x,yxΔy. In reach mode, the model receives Qin in the boundary cells corresponding to the upstream section of the river. In both cases, received water is then recursively transferred to all the downstream nodes following the topological order. It effectively reduces the need to propagate a signal gradually from upstream to downstream one node at a time. However, the final hydraulic surface being different than the topographic surface, the algorithm needs to iterate to gradually build the hydraulic surface. From the first iteration, discharge is propagated through the full landscape and starts “piling up” h on the whole flow path. Every iteration recomputes the directed acyclic graphs from the updated hydraulic surface, effectively spreading Qin towards its final geometry balanced by Qout. The time step in the stationary mode is a numerical stability criterion modulating the magnitude of flow depth increment. Similarly to the transient solution, we estimate convergence based on median h and Δh between each iteration for the whole landscape and consider convergence reached once median Δh<1×10-9 m.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f02

Figure 2Graphical representation of a single iteration with GraphFlood. Panels (a) and (b) show the flow routing structuring the graph for a single flow direction and multiple flow directions, respectively, in map view. Note that this figure only displays flow routing from a single source for clarity. Panel (c) illustrates in cross-sectional view the increment or decrement of flow depth at the end of the iteration depending on calculated or propagated discharges.

Download

3.5 Validation

We validate the numerical scheme against an analytical solution (Fig. 3) using a rectangular channel (Bates et al.2010; Davy et al.2017). We combine Eqs. (1) and (3) to obtain an analytical stationary flow depth denoted h*.

(9) h * = n Q in d x s 1 α

Equation (2) predicts that in the case of a rectangular channel with a constant given slope S0, the slope of the stationary water surface s should be equal to S0. Assuming a boundary condition of fixed hydraulic slope, we can calculate a reference h*.

We run GraphFlood with the transient and stationary solvers as well as multiple-flow-direction and single-flow-direction schemes on a 200 m × 40 m rectangular channel with a regular dx=1 m (more details in the Fig. 3 caption). Figure 3a shows the results for all runs. Each simulation converges towards h*, validating the numerical methods. The number of iterations to reach h* – directly linked to the computational efficiency of the algorithms – is significantly higher for the transient model as it needs to propagate the flood wave through the whole channel one node per iteration. This behaviour is likely to worsen with the complexity of a natural river network where any junction would need catchment-wise upstream information before being equilibrated and being able to propagate a signal downstream. Figure 3b zooms in on the stationary models that reach a stationary state in about 300–1000 iterations, roughly 400 times faster than the transient model. Adaptive time stepping based on the CFL condition slightly reduces the number of iterations required to reach the analytical solution, and the single-flow-direction model converges in fewer iterations than the multiple-flow-direction model.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f03

Figure 3Validation tests for the multiple-flow-direction and single-flow-direction stationary and transient simulation for a given Qin=15 m3 s−1. The scenarios with constant dt were set to 1×10-3 s, and the scenarios with the CFL condition were calculated with Cr=3×10-3. Both were chosen empirically as values balancing model performance and stability of the final results. Panel (a) displays the full results for all the simulations, while panel (b) zooms in on the stationary model results. Panel (c) describes the model setting in map view. A total of 1000 iterations of GraphFlood on this small rectangular channel take about 0.7 s for a single flow direction and 1.2 s for multiple flow directions with a CPU Intel i9-11950H.

Download

3.6 Test sites

We test GraphFlood on two lidar-derived DEMs and aim to explore the effect of different geographical contexts on the algorithm in terms of both relief and climate. Our first test site is located near Green River (Utah, USA), a low-relief area in an arid context with smooth hillslopes. The second test site is the Hanalei River catchment in Hawaii (USA), with sharp relief made of volcanic rocks, steep hillslopes, and entrenched valleys. The original spatial resolution of both DEMs is 1 m, provided pre-processed from point clouds and provided by https://www.opentopography.org (OpenTopography2020, 2012). We also down-sample the DEM of the Hanalei River catchment to a resolution of 5 m using a cubic resampling implemented by GDAL/OGR contributors (2023) to process a larger watershed and test GraphFlood at multiple resolutions.

4 Results

4.1 Numerical behaviour for a single simulation

We first explore the behaviour of the model during a single simulation, where we run the multiple-flow-direction stationary algorithm for both test sites for a high-intensity rainfall rate of 100 mm h−1. We deliberately chose an extreme rainfall rate to test the algorithm under high-flow conditions during which multiple diverging river channels are activated.

We run the model to convergence (Fig. 4 – see caption for the full simulation parameters). In terms of channel network topology, GraphFlood is able to reproduce diverging and converging flow patterns that follow converging and diverging channel networks. This behaviour is striking on Green River, where the broad valleys consist of an interwoven network of channels, but also well-captured on the clearer channel beds of Hanalei. GraphFlood in that way contrasts with drainage-area-based flow patterns which by nature converge toward a single line of flow (e.g. Fig. 1). In both cases the majority of the DEM pixels display insignificant flow depth (< 1 cm) as one should expecting from natural landscapes where rivers only represent small portions of the landscape.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f04

Figure 4Flow depth field calculated with GraphFlood for fluvial valleys in Green River, Wyoming, USA (a), and Hanalei, Hawaii, USA (b). The maps are zoomed in on major fluvial valleys for clarity. Both histograms show the distribution of water height for the multiple-flow-direction stationary solutions calculated during a high storm event (precipitation rate 100 mm h−1). Note the logarithmic y scale on the histogram demonstrating that the majority of points have low flow depth (< 1 cm).

GraphFlood reaches convergence in 4000 and 3000 numerical iterations for the Green River and Hanalei (Fig. 5a and b), respectively, based on the criterion outlined in Sect. 3.3 and 3.4. At first glance, this number is high, but we observe a discrepancy in the spatial and temporal patterns of convergence. The model converges asymptotically in the fluvial domain only where fewer than 200 iterations for Green River and fewer than 60 for Hanalei are enough, as illustrated by the striking spatial variations in Fig. 5c and d. Low drainage area on the hillslopes induces lower increments of flow depth, which combined with high slopes explains the slower convergence on the hillslopes.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f05

Figure 5Rate of convergence for the simulation in Fig. 4 with Δt=1×10-2 and Δt=2×10-2 s. In panels (a) and (b), we show in black the median flow depth function of the number of numerical iterations and in red the changes in flow depth between each iteration. Panels (c) and (d) demonstrate the spatial variability in the rate of convergence. Note that GraphFlood converges significantly faster in the fluvial domain. The number of iterations before convergence is defined as the first iteration reaching 95 % of its equilibrium value.

We test the sensitivity of the model to its numerical parameter Δt and its discretization Δx. Δt controls the magnitude of the h increment. Maximizing it optimizes the spreading of Q to its equilibrium field. However, our tests also highlight that while significant overestimation provokes numerical divergence, slight overestimation converges to an underestimated final h. The spatial resolution of a DEM, Δx, can be dictated by the availability of source data, but it can be interesting to reduce the resolution of a DEM in order to process a larger area (if computing speed or memory are limiting factors). For this test, we use the Green River DEM resampled from dx = 1 m to dx = 10 m. Flow patterns remain relatively similar from one resolution to another. However, loss of detail is observed at lower resolution as expected. Lowering the resolution leads to lower hydraulic slopes on average and subsequently a decrease in Qout and an increase in the total volume of water stored on the DEM.

We also test the sensitivity to the physical parameters. Manning's coefficient is an empirical friction parameter reflecting the local surface condition (e.g. vegetation, bed roughness; see Arcement and Schneider1989, for different measurements). Higher friction values predicts a higher and more distributed water surface required to reach the same Qout. Higher input discharges or precipitation rates lead to higher flow velocity and therefore lower the stability condition, thus impacting the speed of convergence.

4.2 Comparison with existing models

We compared GraphFlood with previous models sharing similar applications (relatively large-scale and medium-term hydrology): CAESAR-Lisflood (Coulthard et al.2013) and River.lab (formerly EROS/FLOODOS – Davy et al.2017). We ran the three models on Green River with a constant rainfall rate of 30 mm h−1 and a classical friction coefficient of 0.033. We ran the three stationary simulations, as detailed in Sect. 3.4. We compared the fields of flow depth by pairs of models (Fig. 6). Overall, the differences between the models are minimal, centred between 3×10-4 and 5×10-4 m. The differences can be linked to the differences in flow routing. CAESAR-Lisflood can only route flow to cardinal directions, and therefore the distribution of slopes is not exactly the same as GraphFlood and River.lab, which include diagonals. River.lab relies on a stack of consecutive 1D stochastic paths on a 2D grid, while GraphFlood offers a continuous solution in space and time, explaining the small differences in the final solutions.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f06

Figure 6Benchmark comparing the difference in the stationary field of flow depth between CAESAR-Lisflood, River.lab (formerly EROS/FLOODOS), and GraphFlood. The data express the distribution of flow depth differences for each pair of models. The distributions are estimated using a kernel density estimation.

Download

5 Applications and potential

5.1 Flood extent

The computational efficiency of GraphFlood enables the rapid simulation of stationary flow depth and extents under different runoff intensities. We ran the model for effective precipitation rates ranging from 5 mm h−1 – approximating low-flow conditions – to 300 mm h−1 – extreme storm conditions. Figure 7 shows the flood extent for each different scenario on a per node basis. In addition to fast engineering application or flood risk assessment (e.g. Bates2022), Bernard et al. (2022) noted that flow metrics calculated from different precipitation rates could be used to determine the extent of flood plains and of the different channels of a river system. While more computationally demanding than the geometrical method (e.g. Clubb et al.2022), GraphFlood offers a physics-based method for self-emerging the floodplain geometry. Low-flow conditions in purple in Fig. 7 emphasize the geometry of channel beds, while higher-flow storm-related conditions in blue indicate the maximum extent of the floodplain. We only computed uniform-precipitation-rate scenarios, but GraphFlood can ingest spatially variable matrices of effective precipitation if coupled with more sophisticated precipitation/infiltration data or models.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f07

Figure 7Flood extent at stationary solutions for different precipitation rates. The colours represent the minimum precipitation rate at which the area is flooded by at least 10 cm of water. Note the self-emergence of bedforms and floodplains.

5.2 Flood waves

While the model is primarily designed and optimized for the stationary state, we illustrate its capabilities to model the transient propagation of a flood wave (e.g. sudden increase in input discharge in reach mode) in Fig. 8. We isolated a small section from the Green River site and started from equilibrated low-flow conditions (time 0 s). We instantly increase the input discharge by a factor of 3, and the different panels display the spatial propagation of the resulting flood wave through time.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f08

Figure 8Propagation of a flood wave through time using GraphFlood in transient mode. The initial conditions correspond to a steady flow for a total input of 3 m3 s−1, which is triple at the start of the simulation. The times indicated in the different panels are the simulation times.

5.3 Hydromorphometry

One of the main technical challenges in topographic analysis studies is to determine from topographic data the transitions between the fluvial network, colluvial channels, and hillslopes. Such classification is useful for understanding landscape dynamics (e.g. Grieve et al.2016; Hurst et al.2019) to constrain geomorphological laws (e.g. Perron2011). Landscape evolution models also routinely apply different process laws based on that transition (e.g. Perron2011) or to assess the response of landscape to tectonics or climate changes (e.g. Willett1999). A common approach consists of isolating breaks in slope–area distributions to determine a critical drainage area value (e.g. DiBiase et al.2010; Whipple et al.2013). A number of geometrical/empirical methods have also been developed to isolate individual channel heads in higher-resolution DEMs (e.g. Pelletier2013; Clubb et al.2014; Lurin et al.2023). These methods' intrinsic limitation is the use of surface topography: the latter by nature cannot express the actual geometry of water bodies, making them harder to detect.

Recent studies (Costabile et al.2019; Costabile and Costanzo2021; Bernard et al.2022) have demonstrated that approaches explicitly approximating hydrodynamics effectively overcome that limitation by computing hydrology-derived geomorphological metrics from hydraulic surface and discharge. In particular, Bernard (2022) show that the slope–area relationship can incorporate hydrological information by replacing topographic slope by the hydraulic slope at equilibrium and D8 drainage area by a specific drainage area as(r)=qr, where r is the runoff precipitation rate and q the discharge per unit width. s and as(r) are naturally embedded within the directed acyclic graph structure of GraphFlood, allowing a more systematic and straightforward bulk computation.

First, as illustrated in Fig. 7, applying GraphFlood with high precipitation rates proves to be an efficient method for determining the extent of the floodplain. Next, we extracted s and as(r) for both test sites and applied thresholds based on the breaks in slope of the log as(r)log s plots to delineate different domains (Fig. 9a and b). Following the approach of Bernard (2022), we isolated domains I, II, and III, which correspond to the classic geomorphological features of convex hillslopes, concave valleys, and fluvial regions, respectively.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f09

Figure 9Classification of different domains at the test sites based on the sas(r) relationship. Panels (a) and (b) show the classification of an area of interest for the Green River and Hanalei test sites, respectively. Panels (c) and (d) show the corresponding log slog as(r) plots. The colour of the points corresponds to their domains. As described in the main text, we determined the separations of the domains using the breaks in slope in the binned data. Outliers, belonging to nodes showing high as(r) and potentially high s, are displayed in Appendix Fig. B1.

The s-as(r) relationships for both catchments (Fig. 9c and d) generally exhibit patterns similar to those observed in classic slope–area techniques. In domain I, s increases and then plateaus before decreasing, with breaks in slope in the log–log space defining the transitions to domains II and III (e.g. Montgomery2001). Notably, domains I and III define hillslopes and fluvial areas, as discussed in Bernard (2022). Domain II reveals a variety of patterns, including (i) convergent hillslopes that gradually concentrate flow into small channels and (ii) divergent branches of fluvial channels in partially flooded regions. For each domain, we calculated θ and kw, which are equivalent to the concavity and steepness indices in Flint's law (Flint1974). The observed variation in θ values is greater than that typically seen in Flint's law (Gailleton et al.2021). The significant scatter in the log slog as(r) plots is consistent with common slope–area plots. However, the incorporation of hydraulic information and the reduction of topographic noise by using the hydraulic surface allow us to link local outliers to specific morphological features. For example, low s and low as(r) values reflect a flat surface disconnected from the active channel (e.g. a fluvial terrace), a feature that traditional methods might struggle to detect. The fluvial domains also exhibit an interesting surge in s for high as(r), a novel feature compared to traditional slope–area plots, decoupled from the typical monotonic downstream increase in drainage area. We isolated these outliers using the last break in slope in Fig. 9c and d and visualized some of them in Appendix Fig. B1. A few of these points represent numerical artefacts linked to local minima that artificially increase h and, consequently, the discharge and as(r). Most of them correspond to areas of accelerated flow and concentrated discharge where channels narrow and branches converge and potentially where hydraulic slopes increase due to topographic knickpoints.

This last observation highlights the kind of additional information the hydrology-aware approach unravels. Bernard et al. (2022) built on earlier work restricted to a hillslope (Gallant and Hutchinson2011), where sdzdx, to develop this principle further and express a proxy for channel width, called specific width ws(r). The specific width is calculated from the ratio between single-flow-direction drainage area (i.e. most convergent flow lines) and the specific drainage area (i.e. representing the flow field spread to its natural extent). As acknowledged by the authors, the challenge lies in the choice of the single flow path, which will determine A: if the latter does not coincide with that main discharge field, the results are highly noisy and difficult to interpret. With the precipiton method, Bernard et al. (2022) suggest the calculation should be post-processed on the discharge field calculated at low-flow conditions and following its maximum values.

We leverage GraphFlood integrated directed acyclic graph data structure to optimize this process and generalize it to the 2D channel network. Using the directed acyclic graph calculated from the equilibrated hydraulic surface, we repeat a stochastic walk to calculate A, where the steepest receivers of each node are determined from the multiple flow receivers using the hydraulic surface and a probability function of these receivers' Qout. Repeating this walk about 50 times and keeping track of node-wise max(ws) ensures all the channel pixels are visited. Figure 10 displays the resulting field of flow width where we simply apply a threshold to filter out unreasonable values where A lies out of the main channel for a few nodes. This method effectively highlights fine-grained variations in flow width and allows its systematic, efficient extraction by unravelling patterns of “width” knickpoints.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f10

Figure 10Effective width for a section of the Hanalei River, reflecting channel widening and narrowing.

6 Discussion

6.1 Controls on numerical efficiency and accuracy

Computational efficiency to reach the stationary solution is one of the main advantages of GraphFlood, and Fig. 12 provides a number or benchmark function of the number of nodes of the DEM. However, computational efficiency depends on multiple factors, making the efficiency partly case-dependent.

First, part of the method relies on subjective choices. As demonstrated on Fig. 5, there are spatial discrepancies in GraphFlood convergence speed. A study focusing on fluvial domains (e.g. flood extent) often only requires < 100 iterations, while obtaining convergence for the entire landscape (e.g. separate the different process-based domains) can take up to a few thousand iterations. The time step also influences the speed and accuracy of the algorithm. Maximizing the time step reduces the number of iterations to reach convergence. Yet, it also impacts the accuracy, consistency, computational time, and stability of the solution (i.e. a higher time step plateau to a fluctuating hydraulic surface).

Secondly, switching the model from multiple flow directions to single-flow-direction mode reduces the number of operations to compute and therefore the computational time. However, the resulting water surface is impacted by this choice due to the over-focusing of flow in single flow routing (Fig. 11). The line concentrating all the flow overestimates Qin, while all the other channel nodes overestimate Qout, resulting in a global underestimation of h. The error in Green River is concentrated around 10 %.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f11

Figure 11Differences in final results for a single flow solver and multiple flow solvers. The multiple-flow-direction solution is cleaner and has fewer artefacts. The magnitude of the differences is a function of the frequency at which the D8 single-flow-direction flow passes through a cell (proxied here by multiple flow directions, as(r)). While single-flow-direction solvers are faster and simpler, their accuracy will be a function of diverging flow patterns. Smaller Δt can reduce the differences.

https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f12

Figure 12Time benchmark comparing the computational efficiency of GraphFlood and its induced graph variant for the Green River DEM resampled at various resolutions. The global convergence time represents the timing for converging the model for the fluvial and colluvial domains, while the time per iteration is an important metric when considering GraphFlood for LEMs.

Download

Finally, the performances of GraphFlood are tightly linked to the numerical framework used for its implementation. The simplicity and versatility of GraphFlood make it straightforward to re-implement in different frameworks as long as they offer basic graph data structure and local minima handling. Computing the directed acyclic graph and the related algorithms for each iteration accounts for a big part of the computational time. Therefore, the implementations of these algorithms strongly impact the overall performances. For example, the exact same simulation takes approximately 250 or 800 ms in the Python/C++ implementation or using MATLAB©/TopoToolBox (Schwanghart and Scherler2014), respectively. The time-consuming algorithms are the topological ordering (e.g. Anand et al.2020; Braun and Willett2013; Carretier et al.2016), the local minima resolver (e.g. Cordonnier et al.2019; Barnes et al.2014; Gailleton et al.2024), and the receiver and donor computations as they need updates at each iteration.

A detailed time benchmark comparison with other methods can also quickly be misleading because of the divergence of scopes: GraphFlood focuses on steady flow, which is conceptually too different to compare to transient solvers (e.g. Bates et al.2010; Brunner2016). River.lab (Davy et al.2017, formerly Floodos) also targets the stationary solution. Bernard (2022) demonstrated that the method could reach the same orders of magnitude for the time required to get a convergent solution in the main rivers in specific cases where the influx of precipitons is optimized to enter only the main channel via discrete inlets from tributary junctions. However, the efficiency of this method decreases when simulating other parts of the landscape, such as hillslopes, due to the low frequency of precipitation passage on non-convergent areas.

Nevertheless it is worth noting that the algorithm is scalable: the Green River site converges in about 20 s for the main rivers, with less than 200 ms per iteration. We also tested GraphFlood on an 83-million-pixel DEM on a laptop with 32 GB of memory, and the model converged for the main rivers in about 20 h with 100 s per iteration.

6.2 Potential optimizations

An obvious optimization consists of developing a parallel version of GraphFlood. In this paper, we made the choice to remain on a single-threaded CPU (i) for simplicity, (ii) for flexibility, and (iii) to favour the possibility of running concurrent models to explore parameter space. The transient mode can be parallelized, even on a GPU, as each node is independent of the others at a time t, similar to Apel et al. (2022). Stationary GraphFlood, on the other hand, has a strong non-local component in the calculation of Qin and would require significant modification to be partially parallelized using, for example, Barnes et al. (2021) .

Another optimization consists of improving our management of time stepping. CFL conditions only theoretically apply to our calculation of Qout but not to the propagation of Qin in stationary mode. An alternative finite-difference formulation like Runge–Kutta or an implicit formulation could allow for larger time steps. However, these methods would only increase the efficiency of a single iteration but would still suffer from the highly iterative nature of the algorithm to reach an equilibrated hydraulic surface.

Finally, we can significantly reduce the computation time of studies interested in the fluvial domain only. As suggested in Bernard (2022) and illustrated in Fig. 4, GraphFlood converges significantly faster in areas with higher Q. The fluvial domain only represents a minor subset of the total number of nodes in a landscape, and theoretically, focusing only on these nodes could significantly speed up the process. Induced sub-graph methods offer solutions to apply algorithms in a subset of a directed acyclic graph without the need to process its entirety. In the case of rivers, it requires the identification of all the nodes of interest, i.e. downstream of a given discharge or drainage area threshold. Taking full advantage of this optimization is challenging as it requires the dynamic identification of the nodes of interest without processing the whole graph.

We developed an induced sub-graph method to take advantage of that optimization. The principle remains the same as in Sect. 3.1, except that graph-related operations are computed on a node-to-node basis (e.g. computing the directed acyclic graph donors and receivers, handling of local minima, topological ordering). A pre-computing step determines input points based on drainage area thresholds or arbitrary input points (Tarboton1997). These points are pushed in a priority queue that sorts active nodes per decreasing elevation (opposite to Barnes et al.2014), ensuring that the most upstream node of interest that has not been processed yet is always next in queue. The nodes are popped and processed from the priority queue sequentially. Once Qin and Qout are computed according to Sect. 3.1, we push in the priority queue the receivers of the active node. The process is repeated until the queue is empty. Note that if a node has no receiver and is not a model edge, we gradually fill the local depression until an outlet is found, in a way similar to Davy et al. (2017) or Gailleton et al. (2024).

This version of the algorithm reproduces the results from the original one, except that there are minor artefacts near the input points. One iteration takes 250 ms with GraphFlood and 15 ms with the induced graph method. For a discharge threshold of 36 000 m2 and a precipitation rate of 50 mm yr−1, the models converge for the main rivers in about 50 s for GraphFlood vs. 3 s for the induced graph method, demonstrating strong potential for studies focusing on the fluvial domain. The complexity of the algorithm is tied to the priority queue and is therefore 𝒪(nlog n), with n being the number of nodes in each traversal, meaning computation time increases nonlinearly as the drainage area threshold decreases. Figure 12 provides an extensive time benchmark comparing the efficiency of both methods in a global and per-iteration perspective.

6.3 Potential for hydromorphometry and landscape evolution models

Bernard et al. (2022) demonstrated the potential of informing common scaling laws used in tectonic geomorphology (e.g. Kirby and Whipple2012) with hydrodynamics. GraphFlood represents a step toward making the inclusion of hydrology more systematic in geomorphological analysis. For example, sas(r) plots, as illustrated by both Bernard et al. (2022) and Fig. 9, isolate more signals than classic SA as per originally designed by Morisawa (1962) and Flint (1974). as(r) is not strictly a function of the downstream distance like A and has the potential to express a wider range of landforms. Data points with high as(r) and/or high s are likely to represent areas of increased stream power beyond the common geometrical knickpoint (e.g. increased discharge due to local channel narrowing), as demonstrated in Fig. B1. Alternatively, low s and low as testify to abnormally flat areas (i.e. flat areas not visited by rivers), which if calculated from multiple runoff rates could unravel families of terraces. Commonly used metrics linked to SA (e.g. concavity index, steepness index) are likely to express a wider range of signals when extracted from sas(r). Both our test sites and the study of Bernard (2022) show similar global patterns in sas(r) plots while displaying notably different values, regression coefficient and intercept, and absolute values.

Combined with effective width or the direct calculation of shear stress from h, hydromorphometrics can help identify and quantify a new family of responses to perturbations. Alongside geometrical knickpoints (e.g. Gailleton et al.2019), areas of channel narrowing or widening or accelerated flow can be identified, unravelling wider ranges of landscape responses to perturbations. Systematic calculations of all these metrics for multiple ranges of runoff rates could help redefine and complete global scaling laws comparing discharge, drainage area, channel width, and hydraulic slopes.

GraphFlood's ability to extract metrics for various precipitation rates also opens possibilities for indirect metrics. For instance, Clubb et al. (2022) and Clubb et al. (2023) highlighted the importance of valley width in understanding landscape evolution. By using extremely high precipitation rates with GraphFlood, it becomes possible to flood the valley and systematically determine its width. Another potential application could involve gradually increasing precipitation rates to progressively flood a fluvial system from its bed to its floodplain, revealing multiple families of terraces.

GraphFlood allows the fast approximation of hydrodynamics and therefore shear stress. Coupling GraphFlood with physics-based morphodynamics (e.g. Davy and Lague2009; Minor et al.2022) would allow the upscaling of short-term fluvial dynamics to a longer timescale and larger spatial scales.

7 Conclusion

This study introduces GraphFlood, an efficient algorithm for solving 2D hydrodynamics based on 2D shallow-water equations specifically tailored for large DEMs. By employing Manning's equation within a graph theory framework, GraphFlood iteratively computes a stationary flow depth and discharge equilibrated to prescribed runoff rates. Leveraging graph theory algorithms ensures numerical efficiency, enabling GraphFlood to compute solutions for rivers in just seconds for a million-pixel DEM. Validation against analytical solutions and established models demonstrates the accuracy of GraphFlood. The simplicity, efficiency, and versatility of GraphFlood position it as a promising engine for incorporating 2D hydrodynamics into large-scale topographic analysis and landscape evolution models. Future work could utilize GraphFlood to investigate river inundation patterns, systematically extract river width as a function of water discharge, or focus on classifying landscapes to better relate landscape shape to geomorphological processes.

Appendix A: Notations

Table A1Nomenclature for scientific notations.

Download Print Version | Download XLSX

Appendix B: Outliers in sas(r)
https://esurf.copernicus.org/articles/12/1295/2024/esurf-12-1295-2024-f13

Figure B1Zoom-in on outliers for the Hanalei test site, isolated using data from Fig. 9. From left to right, the maps show the flow depth with the localization of the outliers, the specific area, and the hydraulic slope. Panel (a) displays outliers concentrating flow on a narrowing section of the river or on its bends. Panel (b) shows the case of converging branches. In both cases, outliers are accompanied by a slight increase in s.

Download

Code availability

The static version of the code used in this contribution can be found in Gailleton (2024) (https://doi.org/10.5281/zenodo.11065794). Updates on newer versions and more material will be posted at https://github.com/bgailleton/Gailleton_et_al_2024_GraphFlood_esurf (last access: 19 November 2024).

Data availability

The DEMs utilized in this study are openly available from OpenTopography in the datasets from OpenTopography (2012) (https://doi.org/10.5069/G91V5BWJ) and OpenTopography (2020) (https://doi.org/10.5069/G9J964J3).

Author contributions

PS and BG designed the concept of the GraphFlood algorithms. BG, PS, PD, TB, and WS designed the study. BG wrote the code and ran the analysis. BG wrote the manuscript with the inputs of PS, WS, PD, and TB.

Competing interests

At least one of the (co-)authors is a member of the editorial board of Earth Surface Dynamics. The peer-review process was guided by an independent editor, and the authors also have no other competing interests to declare.

Disclaimer

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.

Acknowledgements

We thank Dimitri Lague, Guillaume Cordonnier, Ron Nativ, Fiona Clubb, and Laure Guerit for constructive discussions, feedback, and testing on GraphFlood. We thank two anonymous referees and the handling editor Greg Hancock for constructive reviews that greatly improved the manuscript.

Financial support

This research has been supported by the EU H2020 European Research Council (grant no. 803721).

Review statement

This paper was edited by Greg Hancock and reviewed by two anonymous referees.

References

Adams, B. A., Whipple, K. X., Forte, A. M., Heimsath, A. M., and Hodges, K. V.: Climate controls on erosion in tectonically active landscapes, Science Advances, 6, 42, https://doi.org/10.1126/sciadv.aaz3166, 2020. a

Anand, S. K., Hooshyar, M., and Porporato, A.: Linear layout of multiple flow-direction networks for landscape-evolution simulations, Environ. Modell. Softw., 133, 104804, https://doi.org/10.1016/j.envsoft.2020.104804, 2020. a, b, c, d, e, f

Apel, H., Vorogushyn, S., and Merz, B.: Brief communication: Impact forecasting could substantially improve the emergency management of deadly floods: case study July 2021 floods in Germany, Nat. Hazards Earth Syst. Sci., 22, 3005–3014, https://doi.org/10.5194/nhess-22-3005-2022, 2022. a, b

Arcement, G. J. and Schneider, V. R.: Guide for selecting Manning's roughness coefficients for natural channels and flood plains, USGS Numbered Series 2339, U.S. G.P.O.; For sale by the Books and Open-File Reports Section, U.S. Geological Survey, https://doi.org/10.3133/wsp2339, 1989. a

Armitage, J. J.: Short communication: flow as distributed lines within the landscape, Earth Surf. Dynam., 7, 67–75, https://doi.org/10.5194/esurf-7-67-2019, 2019. a, b

Barnes, R., Lehman, C., and Mulla, D.: Priority-flood: An optimal depression-filling and watershed-labeling algorithm for digital elevation models, Comput. Geosci., 62, 117–127, https://doi.org/10.1016/j.cageo.2013.04.024, 2014. a, b, c, d

Barnes, R., Callaghan, K. L., and Wickert, A. D.: Computing water flow through complex landscapes – Part 3: Fill–Spill–Merge: flow routing in depression hierarchies, Earth Surf. Dynam., 9, 105–121, https://doi.org/10.5194/esurf-9-105-2021, 2021. a, b

Barnhart, K. R., Hutton, E. W. H., Tucker, G. E., Gasparini, N. M., Istanbulluoglu, E., Hobley, D. E. J., Lyons, N. J., Mouchene, M., Nudurupati, S. S., Adams, J. M., and Bandaragoda, C.: Short communication: Landlab v2.0: a software package for Earth surface dynamics, Earth Surf. Dynam., 8, 379–397, https://doi.org/10.5194/esurf-8-379-2020, 2020. a, b, c, d

Bates, P. D.: Flood Inundation Prediction, Annu. Rev. Fluid Mech., 54, 287–315, https://doi.org/10.1146/annurev-fluid-030121-113138, 2022. a, b

Bates, P. D., Horritt, M. S., and Fewtrell, T. J.: A simple inertial formulation of the shallow water equations for efficient two-dimensional flood inundation modelling, J. Hydrol., 387, 33–45, https://doi.org/10.1016/j.jhydrol.2010.03.027, 2010. a, b, c, d, e, f, g

Baynes, E. R., Lague, D., Steer, P., and Davy, P.: Dynamic bedrock channel width during knickpoint retreat enhances undercutting of coupled hillslopes, Earth Surf. Proc. Land., 47, 3629–3640, https://doi.org/10.1002/esp.5477, 2022. a

Bernard, T.: Analyse haute résolution de la morphologie des paysages et des processus à partir de LiDAR aéroporté répété et simulation hydraulique, These de doctorat, Rennes 1, https://www.theses.fr/2022REN1B011 (last access: 19 November 2024), 2022. a, b, c, d, e, f

Bernard, T. G., Davy, P., and Lague, D.: Hydro-Geomorphic Metrics for High Resolution Fluvial Landscape Analysis, J. Geophys. Res.-Earth, 127, e2021JF006535, https://doi.org/10.1029/2021JF006535, 2022. a, b, c, d, e, f, g

Braun, J. and Sambridge, M.: Modelling landscape evolution on geological time scales: a new method based on irregular spatial discretization, Basin Res., 9, 27–52, https://doi.org/10.1046/j.1365-2117.1997.00030.x, 1997. a

Braun, J. and Willett, S. D.: A very efficient O(n), implicit and parallel method to solve the stream power equation governing fluvial incision and landscape evolution, Geomorphology, 180–181, 170–179, https://doi.org/10.1016/j.geomorph.2012.10.008, 2013. a, b, c, d, e, f, g, h

Brunner, G. W.: HEC-RAS River Analysis System. HYDRAULIC Reference Manual, Version 5.0, Hydrologic Engineering Center: Davis, CA, USA, 2016. a, b, c

Campforts, B., Schwanghart, W., and Govers, G.: Accurate simulation of transient landscape evolution by eliminating numerical diffusion: the TTLEM 1.0 model, Earth Surf. Dynam., 5, 47–66, https://doi.org/10.5194/esurf-5-47-2017, 2017. a

Carretier, S., Martinod, P., Reich, M., and Godderis, Y.: Modelling sediment clasts transport during landscape evolution, Earth Surf. Dynam., 4, 237–251, https://doi.org/10.5194/esurf-4-237-2016, 2016. a

Clubb, F. J., Mudd, S. M., Milodowski, D. T., Hurst, M. D., and Slater, L. J.: Objective extraction of channel heads from high-resolution topographic data, Water Resour. Res., 50, 4283–4304, https://doi.org/10.1002/2013WR015167, 2014. a

Clubb, F. J., Mudd, S. M., Hurst, M. D., and Grieve, S. W.: Differences in channel and hillslope geometry record a migrating uplift wave at the Mendocino triple junction, California, USA, Geology, 48, 184–188, https://doi.org/10.1130/G46939.1, 2019. a

Clubb, F. J., Weir, E. F., and Mudd, S. M.: Continuous measurements of valley floor width in mountainous landscapes, Earth Surf. Dynam., 10, 437–456, https://doi.org/10.5194/esurf-10-437-2022, 2022. a, b

Clubb, F. J., Mudd, S. M., Schildgen, T. F., van der Beek, P. A., Devrani, R., and Sinclair, H. D.: Himalayan valley-floor widths controlled by tectonically driven exhumation, Nat. Geosci., 16, 739–746, https://doi.org/10.1038/s41561-023-01238-8, 2023. a

Cordonnier, G., Bovy, B., and Braun, J.: A versatile, linear complexity algorithm for flow routing in topographies with depressions, Earth Surf. Dynam., 7, 549–562, https://doi.org/10.5194/esurf-7-549-2019, 2019. a, b, c

Costabile, P. and Costanzo, C.: A 2D-SWEs framework for efficient catchment-scale simulations: Hydrodynamic scaling properties of river networks and implications for non-uniform grids generation, J. Hydrol., 599, 126306, https://doi.org/10.1016/j.jhydrol.2021.126306, 2021. a, b

Costabile, P., Costanzo, C., De Bartolo, S., Gangi, F., Macchione, F., and Tomasicchio, G. R.: Hydraulic Characterization of River Networks Based on Flow Patterns Simulated by 2-D Shallow Water Modeling: Scaling Properties, Multifractal Interpretation, and Perspectives for Channel Heads Detection, Water Resour. Res., 55, 7717–7752, https://doi.org/10.1029/2018WR024083, 2019. a, b

Coulthard, T. J. and Van De Wiel, M. J.: Modelling long term basin scale sediment connectivity, driven by spatial land use changes, Geomorphology, 277, 265–281, https://doi.org/10.1016/j.geomorph.2016.05.027, 2017. a

Coulthard, T. J., Neal, J. C., Bates, P. D., Ramirez, J., de Almeida, G. A. M., and Hancock, G. R.: Integrating the LISFLOOD-FP 2D hydrodynamic model with the CAESAR model: implications for modelling landscape evolution, Earth Surf. Proc. Land., 38, 1897–1906, https://doi.org/10.1002/esp.3478, 2013. a, b, c

Davy, P. and Lague, D.: Fluvial erosion/transport equation of landscape evolution models revisited, J. Geophys. Res.-Earth, 114, F03007, https://doi.org/10.1029/2008JF001146, 2009. a, b, c, d

Davy, P., Croissant, T., and Lague, D.: A precipiton method to calculate river hydrodynamics, with applications to flood prediction, landscape evolution models, and braiding instabilities, J. Geophys. Res.-Earth, 122, 1491–1512, https://doi.org/10.1002/2016JF004156, 2017. a, b, c, d, e, f, g, h, i, j, k

de Almeida, G. A. M., Bates, P., Freer, J. E., and Souvignet, M.: Improving the stability of a simple formulation of the shallow water equations for 2-D flood modeling, Water Resour. Res., 48, W05528, https://doi.org/10.1029/2011WR011570, 2012. a, b

DiBiase, R. A., Whipple, K. X., Heimsath, A. M., and Ouimet, W. B.: Landscape form and millennial erosion rates in the San Gabriel Mountains, CA, Earth Planet. Sc. Lett., 289, 134–144, https://doi.org/10.1016/j.epsl.2009.10.036, 2010. a

Dunne, K. B. J. and Jerolmack, D. J.: What sets river width?, Science Advances, 6, eabc1505, https://doi.org/10.1126/sciadv.abc1505, 2020. a

Flint, J. J.: Stream gradient as a function of order, magnitude, and discharge, Water Resour. Res., 10, 969–973, https://doi.org/10.1029/WR010i005p00969, 1974. a, b

Gailleton, B.: Supporting code for GraphFlood 1.0: an efficient algorithm to approximate 2D hydrodynamics for Landscape Evolution Models, Zenodo [code], https://doi.org/10.5281/zenodo.11065794, 2024. a

Gailleton, B. and Mudd, S. M.: LSDtopotools/lsdtopytools: lsdtopytools (v0.4), Zenodo [code], https://doi.org/10.5281/zenodo.4774992, 2021. a

Gailleton, B., Mudd, S. M., Clubb, F. J., Peifer, D., and Hurst, M. D.: A segmentation approach for the reproducible extraction and quantification of knickpoints from river long profiles, Earth Surf. Dynam., 7, 211–230, https://doi.org/10.5194/esurf-7-211-2019, 2019. a, b

Gailleton, B., Mudd, S. M., Clubb, F. J., Grieve, S. W. D., and Hurst, M. D.: Impact of Changing Concavity Indices on Channel Steepness and Divide Migration Metrics, J. Geophys. Res.-Earth, 126, e2020JF006060, https://doi.org/10.1029/2020JF006060, 2021. a

Gailleton, B., Malatesta, L. C., Cordonnier, G., and Braun, J.: CHONK 1.0: landscape evolution framework: cellular automata meets graph theory, Geosci. Model Dev., 17, 71–90, https://doi.org/10.5194/gmd-17-71-2024, 2024. a, b, c, d, e, f

Gallant, J. C. and Hutchinson, M. F.: A differential equation for specific catchment area, Water Resour. Res., 47, W05535, https://doi.org/10.1029/2009WR008540, 2011. a

GDAL/OGR contributors: GDAL/OGR Geospatial Data Abstraction software Library, Open Source Geospatial Foundation, Zenodo [code], https://doi.org/10.5281/zenodo.5884351, 2023. a

Grieve, S. W., Mudd, S. M., and Hurst, M. D.: How long is a hillslope?, Earth Surf. Proc. Land., 41, 1039–1054, https://doi.org/10.1002/esp.3884, 2016. a

Grieve, S. W. D., Hales, T. C., Parker, R. N., Mudd, S. M., and Clubb, F. J.: Controls on Zero-Order Basin Morphology, J. Geophys. Res.-Earth, 123, 3269–3291, https://doi.org/10.1029/2017JF004453, 2018. a

Heckmann, T., Schwanghart, W., and Phillips, J. D.: Graph theory—Recent developments of its application in geomorphology, Geomorphology, 243, 130–146, https://doi.org/10.1016/j.geomorph.2014.12.024, 2015. a

Hergarten, S.: Transport-limited fluvial erosion – simple formulation and efficient numerical treatment, Earth Surface Dynamics, 8, 841–854, https://doi.org/10.5194/esurf-8-841-2020, 2020. a

Hergarten, S. and Neugebauer, H. J.: Self-Organized Critical Drainage Networks, Phys. Rev. Lett., 86, 2689–2692, https://doi.org/10.1103/PhysRevLett.86.2689, 2001. a

Hurst, M. D., Grieve, S. W., Clubb, F. J., and Mudd, S. M.: Detection of channel-hillslope coupling along a tectonic gradient, Earth Planet. Sc. Lett., 522, 30–39, https://doi.org/10.1016/j.epsl.2019.06.018, 2019. a

Kirby, E. and Whipple, K. X.: Expression of active tectonics in erosional landscapes, J. Struct. Geol., 44, 54–75, https://doi.org/10.1016/j.jsg.2012.07.009, 2012. a

Leonard, J. S., Whipple, K. X., and Heimsath, A. M.: Isolating climatic, tectonic, and lithologic controls on mountain landscape evolution, Science Advances, 9, eadd8915, https://doi.org/10.1126/sciadv.add8915, 2023. a

Liu, B. and Coulthard, T. J.: Mapping the interactions between rivers and sand dunes: Implications for fluvial and aeolian geomorphology, Geomorphology, 231, 246–257, https://doi.org/10.1016/j.geomorph.2014.12.011, 2015. a

Liu, B. and Coulthard, T. J.: Modelling the interaction of aeolian and fluvial processes with a combined cellular model of sand dunes and river systems, Comput. Geosci., 106, 1–9, https://doi.org/10.1016/j.cageo.2017.05.003, 2017. a

Lurin, A., Marc, O., Meunier, P., and Carretier, S.: A Robust Channel Head Extraction Method Based on High-Resolution Topographic Convergence, Suitable for Both Slowly and Fastly Eroding Landscapes, J. Geophys. Res.-Earth, 128, e2022JF006999, https://doi.org/10.1029/2022JF006999, 2023. a

Manning, R., Griffith, J. P., Pigot, T., and Vernon-Harcourt, L. F.: On the flow of water in open channels and pipes, Transactions of the Institution of Civil Engineers of Ireland, Vol. XX, 161–207, 1891, Vol. XXIV, 179– 207, 1895. a

Minor, M., Davy, P., Howarth, J., and Lague, D.: Multi Grain‐Size Total Sediment Load Model Based on the Disequilibrium Length, J. Geophys. Res.-Earth, 127, e2021JF006546, https://doi.org/10.1029/2021JF006546, 2022. a

Montgomery, D. R.: Slope distributions, threshold hillslopes, and steady-state topography, Am. J. Sci., 301, 432–454, 2001. a

Morisawa, M. E.: Quantitative Geomorphology of Some Watersheds in the Appalachian Plateau, GSA Bulletin, 73, 1025–1046, https://doi.org/10.1130/0016-7606(1962)73[1025:QGOSWI]2.0.CO;2, 1962. a

Mudd, S. M., Clubb, F. J., Gailleton, B., and Hurst, M. D.: How concave are river channels?, Earth Surf. Dynam., 6, 505–523, https://doi.org/10.5194/esurf-6-505-2018, 2018. a

Mudd, S. M., Clubb, F. J., Grieve, S. W. D., Milodowski, D. T., Hurst, M. D., Gailleton, B., and Valters, D. A.: LSDTopoTools2, Zenodo [code], https://doi.org/10.5281/zenodo.3245041, 2019. a

O'Callaghan, J. F. and Mark, D. M.: The extraction of drainage networks from digital elevation data, Computer Vision Graph., 28, 323–344, https://doi.org/10.1016/S0734-189X(84)80011-0, 1984. a

OpenTopography: Hawaii Kauai Survey, OpenTopography [data set], https://doi.org/10.5069/G91V5BWJ, 2012. a, b

OpenTopography: Interpreting Fluvial Processes from Channel-Belt Deposits, Utah 2018, OpenTopography [data set], https://doi.org/10.5069/G9J964J3, 2020. a, b

Pelletier, J. D.: Quantitative Modeling of Earth Surface Processes, Cambridge University Press, https://doi.org/10.1017/CBO9780511813849, 2008. a

Pelletier, J. D.: A robust, two-parameter method for the extraction of drainage networks from high-resolution digital elevation models (DEMs): Evaluation using synthetic and real-world DEMs, Water Resour. Res., 49, 75–89, https://doi.org/10.1029/2012WR012452, 2013. a

Perron, J. T.: Numerical methods for nonlinear hillslope transport laws, J. Geophys. Res.-Earth, 116, F02021, https://doi.org/10.1029/2010JF001801, 2011. a, b

Roelvink, J. A. and Banning, G. K. F. M. V.: Design and development of DELFT3D and application to coastal morphodynamics, Oceanographic Literature Review, 11, 925, https://www.infona.pl//resource/bwmeta1.element.elsevier-1ca19bb6-25b9-3bf5-bfe9-e96a7027c553 (last access: 19 November 2024), 1995. a

Salles, T., Husson, L., Rey, P., Mallard, C., Zahirovic, S., Boggiani, B. H., Coltice, N., and Arnould, M.: Hundred million years of landscape dynamics from catchment to global scale, Science, 379, 918–923, 2023. a

Schumm, S. A., Dumont, J. F., and Holbrook, J. M.: Active Tectonics and Alluvial Rivers, Cambridge University Press, Cambridge, UK, New York, NY, ISBN 978-0-521-66110-2, 2000. a

Schuurman, F., Marra, W. A., and Kleinhans, M. G.: Physics-based modeling of large braided sand-bed rivers: Bar pattern formation, dynamics, and sensitivity, J. Geophys. Res.-Earth, 118, 2509–2527, https://doi.org/10.1002/2013JF002896, 2013. a

Schwanghart, W. and Scherler, D.: Short Communication: TopoToolbox 2 – MATLAB-based software for topographic analysis and modeling in Earth surface sciences, Earth Surf. Dynam., 2, 1–7, https://doi.org/10.5194/esurf-2-1-2014, 2014. a, b, c

Schwanghart, W. and Scherler, D.: Bumps in river profiles: uncertainty assessment and smoothing using quantile regression techniques, Earth Surf. Dynam., 5, 821–839, https://doi.org/10.5194/esurf-5-821-2017, 2017. a

Schwanghart, W., Molkenthin, C., and Scherler, D.: A systematic approach and software for the analysis of point patterns on river networks, Earth Surf. Proc. Land., 46, 1847–1862, https://doi.org/10.1002/esp.5127, 2021. a

Stammberger, V., Jacobs, B., and Krautblatter, M.: Hyperconcentrated flows shape bedrock channels, Commun. Earth Environ., 5, 1–15, https://doi.org/10.1038/s43247-024-01353-3, 2024. a

Steer, P., Guerit, L., Lague, D., Crave, A., and Gourdon, A.: Size, shape and orientation matter: fast and semi-automatic measurement of grain geometries from 3D point clouds, Earth Surf. Dynam., 10, 1211–1232, https://doi.org/10.5194/esurf-10-1211-2022, 2022. a

Tarboton, D. G.: A new method for the determination of flow directions and upslope areas in grid digital elevation models, Water Resour. Res., 33, 309–319, https://doi.org/10.1029/96WR03137, 1997. a, b, c, d

Van De Wiel, M. J. and Coulthard, T. J.: Self-organized criticality in river basins: Challenging sedimentary records of environmental change, Geology, 38, 87–90, https://doi.org/10.1130/G30490.1, 2010. a

Vanzo, D., Peter, S., Vonwiller, L., Bürgler, M., Weberndorfer, M., Siviglia, A., Conde, D., and Vetsch, D. F.: basement v3: A modular freeware for river process modelling over multiple computational backends, Environ. Modell. Softw., 143, 105102, https://doi.org/10.1016/j.envsoft.2021.105102, 2021. a

Villaret, C., Hervouet, J.-M., Kopmann, R., Merkel, U., and Davies, A. G.: Morphodynamic modeling using the Telemac finite-element system, Comput. Geosci., 53, 105–113, https://doi.org/10.1016/j.cageo.2011.10.004, 2013. a

Whipple, K. X. and Tucker, G. E.: Dynamics of the stream-power river incision model: Implications for height limits of mountain ranges, landscape response timescales, and research needs, J. Geophys. Res.-Sol. Ea., 104, 17661–17674, https://doi.org/10.1029/1999JB900120, 1999. a

Whipple, K. X., DiBiase, R. A., and Crosby, B. T.: Bedrock Rivers, in: Treatise on Geomorphology, Fluvial Geomorphology, 9, 550–573, https://doi.org/10.1016/B978-0-12-374739-6.00254-2, 2013. a

Willett, S. D.: Orogeny and orography: The effects of erosion on the structure of mountain belts, J. Geophys. Res.-Sol. Ea., 104, 28957–28981, 1999. a

Willett, S. D., McCoy, S. W., Taylor Perron, J., Goren, L., and Chen, C. Y.: Dynamic reorganization of River Basins, Science, 343, 1248765, https://doi.org/10.1126/science.1248765, 2014.  a

Willgoose G., Bras, R. L., and Rodríguez-Iturbe I.: Hydrogeomorphology modelling with a physically based river basin evolution model, Process models and theoretical geomorphology, edited by: Kirkby, M. J., Chichester, UK Wiley 271–294, 1994. a

Wobus, C., Whipple, K. X., Kirby, E., Snyder, N., Johnson, J., Spyropolou, K., Crosby, B., and Sheehan, D.: Tectonics from topography: procedurses, promise, and pitfalls, Geol. Soc. Am. S., 398, 55–74, https://doi.org/10.1130/2006.2398(04), 2006. a

Yu, D. and Coulthard, T. J.: Evaluating the importance of catchment hydrological parameters for urban surface water flood modelling using a simple hydro-inundation model, J. Hydrol., 524, 385–400, https://doi.org/10.1016/j.jhydrol.2015.02.040, 2015. a

Download
Short summary
We use cutting-edge algorithms and conceptual simplifications to solve the equations that describe surface water flow. Using quantitative data on rainfall and elevation, GraphFlood calculates river width and depth and approximates erosive power, making it a suitable tool for large-scale hazard management and understanding the relationship between rivers and mountains.