About aXqua
aXqua is designed as a QGIS plugin to support numerical simulations of surface waters with the open-source codes TELEMAC and OpenFOAM. This vibe-coded plugin is hosted on GitHub and maintained by Sebastian Schwindt with the help of Claude Code. Installing the QGIS plugin requires a backend installation of the aXqua code, so please make sure to follow each step in the QGIS plugin and Plugin setup sections, including instructions to get ready with TELEMAC and OpenFOAM, as well as ParaView, and Visit DAV for post-processing. This documentation is published at axqua.eu.
Purpose
Building a numerical model by hand involves many steps in which input files can silently disagree, for instance, a boundary numbering that does not match the mesh or a roughness zone that does not match the terrain. aXqua derives all input files from one case description, so that the same inputs always produce the same model. Specifically, aXqua sets up, runs and evaluates standardized numerical simulations of georeferenced free-surface water bodies including hydraulic structures with the open-source codes TELEMAC and OpenFOAM. The software treats each case as a reach (computational domain) that is described once, by a digital elevation model, boundaries, wall roughness, and field measurements. Both TELEMAC and OpenFOAM read that one description, so that a depth-averaged two-dimensional (2D) model and a three-dimensional (3D) model of the same reach rely on identical input data. The workflow covers the following steps that also decide whether a simulation result can be trusted via mesh convergence studies and uncertainty quantification:
Preprocessing converts geodata into a computational mesh, boundary conditions, and input files (Preprocessing).
Hydraulic simulations begin with a TELEMAC run on a dry riverbed. The result serves as the starting point for 3D simulations with TELEMAC-3D or OpenFOAM (Hydraulic simulations).
Mesh convergence studies quantify how much a result depends on the mesh resolution, with the grid convergence index of Celik et al. (2008) (Mesh convergence).
Morphodynamic simulations add sediment transport and bed elevation change (Morphodynamic simulations).
Calibration and validation adjust uncertain model parameters to field measurements with a surrogate-assisted Bayesian method (Oladyshkin et al. 2020) and report the remaining uncertainty (Calibration & validation) based on the hydroBayesCal project.
Postprocessing turns results into maps and figures (Postprocessing) via QGIS, ParaView, and Visit DAV.
aXqua is operated from a QGIS plugin, because the geodata of a reach is usually open in GIS software already. Simulations run as independent jobs outside of QGIS and continue when QGIS is closed. Every function is also available from a terminal without QGIS (Automation & Terminal Usage).
References
Celik, I. B., Ghia, U., Roache, P. J., Freitas, C. J., Coleman, H., and Raad, P. E. (2008). “Procedure for estimation and reporting of uncertainty due to discretization in CFD applications.” ASME Journal of Fluids Engineering, 130(7), 078001.
Oladyshkin, S., Mohammadi, F., Kroeker, I., and Nowak, W. (2020). “Bayesian3 active learning for the Gaussian process emulator using information theory.” Entropy, 22(8), 890. doi:10.3390/e22080890