News Blog Tools About Me
Clemente Gotelli
BRAIDS logo beside the QGIS modelling interface, showing a steep river terrain and calculation domain

BRAIDS brings the river terrain, model boundary and numerical controls together in QGIS.

BRAIDS: a morphodynamic solver for steep rivers

Hydraulics Morphodynamics Open science

A river does not stop at the water surface. Every flood also works on the bed: it moves grains, sorts them, opens new paths and fills others. In a steep river these changes can happen quickly, especially around weirs, check dams, sills, bridge piers and other hydraulic structures. BRAIDS is the code I am developing to explore that moving boundary between water, sediment and infrastructure.

By Clemente Gotelli

I started this project because I kept returning to the same practical problem. We can calculate water levels and velocities with very capable hydraulic models, but the questions that interest me often begin just after that calculation: Where will the bed erode? Where will the sediment settle? Will the channel armour? And how will those changes alter the next stage of the flow?

This is what morphodynamics means in practice. The water moves the sediment, the sediment changes the river bed, and the new bed changes the water. Treating one part without the others can miss the feedback that actually controls the evolution of a steep channel.

The questions behind the code

My main objective is to use BRAIDS to study the morphodynamic evolution of steep-slope rivers and the influence of hydraulic structures on that evolution. I want to work towards questions such as:

  • How do steep channels adjust during a flood, and how much of that adjustment remains after the water recedes?
  • When and where do mixed-grain beds sort, armour, erode or deposit?
  • How do structures interrupt sediment continuity and redistribute erosion and deposition upstream and downstream?
  • Can we predict local scour and deposition without losing the reach-scale evolution of the river?
  • Which sediment-transport and slope-correction models remain reliable when the bed is genuinely steep?

These are not questions I expect one equation to answer. Part of the purpose of having my own code is to propose models, compare alternative descriptions of the processes and test them in a controlled way. A useful result may be a new formulation, but it may also be a clear map of where an existing formulation stops being trustworthy.

Why build another model?

There is an obvious question: why develop another code when HEC-RAS, Iber, Delft3D and TELEMAC already exist?

The short answer is that these programs were created for different jobs. HEC-RAS is an exceptionally useful river-engineering system, particularly when a project involves one- and two-dimensional hydraulics, structures, flood mapping and an established engineering workflow. Iber offers an accessible unstructured-mesh environment for river hydraulics and sediment transport. Delft3D has decades of development behind its coastal, estuarine and morphodynamic tools. TELEMAC provides an open and highly configurable family of two- and three-dimensional solvers.

Their coexistence is useful evidence: there is no single best model for every river and every scientific question. A model is a set of choices about equations, numerical methods, meshes, scales, data and usability. Developing BRAIDS only makes sense if those choices help answer a particular class of questions.

I am therefore not trying to reproduce every feature of these established packages, or to claim that BRAIDS should replace them. My aim is narrower: a transparent numerical laboratory for fast, strongly unsteady flow and morphodynamic change in steep terrain, with enough flexibility to examine how the model itself affects the answer.

Why start from GeoClaw?

GeoClaw was built for geophysical flows in which fronts move rapidly across complicated topography: tsunamis, storm surges, dam breaks and inundation. Its finite-volume, shock-capturing approach is a good starting point for steep rivers, where wet and dry areas, abrupt changes in flow and strong topographic forcing are normal rather than exceptional.

GeoClaw also brings adaptive mesh refinement. In the longer term, this could allow BRAIDS to follow a moving flood front or a local zone of intense bed change with fine cells, while keeping a coarser description elsewhere. That is attractive when the reach is long but the decisive erosion occurs in a small and changing part of it.

There is important work hidden inside that idea. Water and every sediment fraction must remain conservative when a grid is refined or coarsened, and the evolving bed must be transferred consistently between grid levels. The current QGIS workflow uses a fixed grid; morphodynamic adaptive refinement is a future research step that will need its own verification before it can be trusted.

Why make it a QGIS plugin?

Most river studies already begin in a geographic information system. The terrain is a raster, the model domain is a polygon, boundary conditions belong to particular parts of the river, and material properties vary in space. QGIS is therefore a natural place to build the model rather than only a place to view the final map.

BRAIDS keeps the terrain, domain, boundary conditions, erodible-bed information, run settings and results together in one spatial project. The numerical solver runs behind the interface, while QGIS handles the geographical work of preparing a case and examining how it evolves. My hope is that this makes experiments easier to reproduce and, just as importantly, easier to inspect.

Where BRAIDS is today

BRAIDS is still an alpha research code. The present version couples two-dimensional shallow-water flow with suspended load, bedload and bed evolution. It can represent several sediment fractions, an active surface and substrate, sand and mud, spatially variable erodible material, and different transport formulations. Simulations are prepared and run from QGIS, and the time-dependent results return to the map.

That list is a description of what has been implemented, not a claim that every application is ready. I am currently testing conservation, wetting and drying, boundary conditions, grain sorting, slope corrections and sensitivity to space and time resolution. Comparisons with analytical solutions and with Delft3D help reveal where two implementations agree and, more usefully, where they do not. Quantitative morphodynamic predictions still require careful validation against experiments and field observations.

Hydraulic structures are part of the objective rather than a finished capability. They will require suitable flow controls, sediment passage rules and dedicated scour and deposition tests. Building them step by step makes it possible to ask what physics is actually needed for each type of structure instead of treating every obstacle in the same way.

A code for asking questions

I see BRAIDS less as a finished product and more as a scientific instrument under construction. I want to use it to formulate hypotheses about steep-river behaviour, turn those hypotheses into numerical models and confront them with simple benchmarks, laboratory experiments and eventually field cases.

The development process is part of the research. If a model reproduces one experiment but fails when the slope, grain mixture or structure changes, that failure is information. It tells us which assumptions deserve attention and what the next experiment should isolate.

The long-term objective: develop BRAIDS into an open and testable modelling framework for the morphodynamic evolution of steep rivers, with particular attention to how hydraulic structures alter flow, sediment continuity, scour, deposition and channel adjustment.

There is a long way to go, and that is precisely why I am building the code. The goal is not simply to obtain another coloured map. It is to understand how the map was produced, which physical ideas it contains and how confidently we can use it to reason about a changing river.