Hydrodynamic model
FLUXOS
Two-dimensional flood hydrodynamics and contaminant transport.
What it does
FLUXOS solves the two-dimensional shallow-water equations, including inertial, pressure, gravity and friction terms, so it captures backwater effects that kinematic- or diffusion-wave models miss, which matters in low-relief terrain. Flow paths emerge from the topography rather than from a predefined channel network, and the same velocities drive advection–dispersion of solutes, so it can show where water and contaminants connect during floods and snowmelt. It began as a coupled river–aquifer model for the Ciliwung River in Jakarta, was adapted to snowmelt runoff and variable contributing areas on the Canadian Prairies (FLUXOS-OVERLAND), and is now a C++ flood and transport code that runs on CPUs and GPUs.
- 2D shallow-water equations solved with a Roe approximate Riemann solver and MUSCL reconstruction, robust wetting and drying, and CFL-based adaptive time stepping
- Regular Cartesian grids or unstructured triangular meshes (edge-based finite volume, rotated Roe/HLL flux, Barth–Jespersen limiter, hydrostatic reconstruction)
- Advection–dispersion–reaction transport of solutes with the simulated flow; soil infiltration loss module with per-cell saturated hydraulic conductivity from USDA soil classes
- Parallel: OpenMP, hybrid MPI+OpenMP and CUDA GPU for both mesh types; C++17 with Armadillo, HDF5 and nlohmann/json
- Python templates for pre-processing (DEM, Gmsh mesh, modset.json, HTML config report) and post-processing (flood statistics, KML/WebGL/MP4 viewers); Docker and Apptainer containers
- Origins: the first FLUXOS (Fortran) coupled 2D river flow and transport (2dMB, QeS2) two-way with MODFLOW and MT3DMS; the C++ version can host openWQ for water-quality chemistry
Figures




Publications
- Costa, D., Shook, K., Spence, C., Elliott, J., Baulch, H., Wilson, H., Pomeroy, J.W. (2020). Predicting variable contributing areas, hydrological connectivity, and solute transport pathways for a Canadian Prairie basin. Water Resources Research 56(12), e2020WR027984. doi:10.1029/2020WR027984 Model paper
- Costa, D., Burlando, P., Liong, S.-Y. (2016). Coupling spatially distributed river and groundwater transport models to investigate contaminant dynamics at river corridor scales. Environmental Modelling & Software 86, 91–110. doi:10.1016/j.envsoft.2016.09.009 Model paper
- Costa, D., Burlando, P., Priadi, C., Liong, S.-Y. (2016). The nitrogen cycle in highly urbanized tropical regions and the effect of river–aquifer interactions: The case of Jakarta and the Ciliwung River. Journal of Contaminant Hydrology 192, 87–100. doi:10.1016/j.jconhyd.2016.06.004
- Costa, D., Burlando, P., Priadi, C. (2016). The importance of integrated solutions to flooding and water quality problems in the tropical megacity of Jakarta. Sustainable Cities and Society 20, 199–209. doi:10.1016/j.scs.2015.09.009
- Vollmer, D., Costa, D., Lin, E.S., Ninsalam, Y., Shaad, K., Prescott, M.F., Gurusamy, S., Remondi, F., Padawangi, R., Burlando, P., Girot, C., Grêt-Regamey, A., Rekittke, J. (2015). Changing the course of rivers in an Asian city: Linking landscapes to human benefits through iterative modeling and design. JAWRA Journal of the American Water Resources Association 51(3), 672–688. doi:10.1111/1752-1688.12316