Preprints
https://doi.org/10.5194/gmd-2024-108
https://doi.org/10.5194/gmd-2024-108
Submitted as: model description paper
 | 
27 Aug 2024
Submitted as: model description paper |  | 27 Aug 2024
Status: this preprint is currently under review for the journal GMD.

Alquimia v1.0: A generic interface to biogeochemical codes – A tool for interoperable development, prototyping and benchmarking for multiphysics simulators

Sergi Molins, Benjamin Andre, Jeffrey Johnson, Glenn Hammond, Benjamin Sulman, Konstantin Lipnikov, Marcus Day, James Beisman, Daniil Svyatsky, Hang Deng, Peter Lichtner, Carl Steefel, and David Moulton

Abstract. We present Alquimia v1.0, a generic interface to geochemical solvers that facilitates development of multiphysics simulators by enabling code coupling, prototyping and benchmarking. The interface enforces a call signature for setting up, solving, serving up output data, and other common auxiliary tasks, while providing a set of structures for data transfer between the multiphysics code driving the simulation and the geochemical solver. Alquimia relies on a single-cell approach that permits operator splitting coupling and parallel computation. We describe the implementation in Alquimia of two widely-used open-source codes that perform geochemical calculations, PFLOTRAN and CrunchFlow. We then exemplify its use for the implementation and simulation of reactive transport in porous media by two open-source flow and transport simulators, Amanzi and Parflow. We also demonstrate its use for the simulation of coupled processes in novel multiphysics applications including the effect of multiphase flow on reaction rates at the pore scale with openFOAM, the role of complex biogeochemical processes in land surface models such as the E3SM Land Model (ELM), and the impact of surface-subsurface hydrological interactions on hydrogeochemical export from watersheds with the Advanced Terrestrial Simulator (ATS). These applications make it apparent that the availability of a well-defined yet flexible interface has the potential to improve the software development workflow, freeing up resources to focus on advances in process models and mechanistic understanding of coupled problems.

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 preprint. The responsibility to include appropriate place names lies with the authors.
Sergi Molins, Benjamin Andre, Jeffrey Johnson, Glenn Hammond, Benjamin Sulman, Konstantin Lipnikov, Marcus Day, James Beisman, Daniil Svyatsky, Hang Deng, Peter Lichtner, Carl Steefel, and David Moulton

Status: open (until 19 Dec 2024)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on gmd-2024-108', Anonymous Referee #1, 11 Nov 2024 reply
Sergi Molins, Benjamin Andre, Jeffrey Johnson, Glenn Hammond, Benjamin Sulman, Konstantin Lipnikov, Marcus Day, James Beisman, Daniil Svyatsky, Hang Deng, Peter Lichtner, Carl Steefel, and David Moulton

Model code and software

Alquimia: A generic interface to biogeochemical codes– A tool for interoperable development, prototyping and benchmarking for multiphysics simulators Sergi Molins, Benjamin J. Andre, Jeffrey N. Johnson, Glenn E. Hammond, Benjamin N. Sulman, Konstantin Lipnikov, Marcus S. Day, James J. Beisman, Daniil Svyatsky, Hang Deng, Peter C. Lichtner, Carl I. Steefel, and J. David Moulton https://doi.org/10.5281/zenodo.11414441

Sergi Molins, Benjamin Andre, Jeffrey Johnson, Glenn Hammond, Benjamin Sulman, Konstantin Lipnikov, Marcus Day, James Beisman, Daniil Svyatsky, Hang Deng, Peter Lichtner, Carl Steefel, and David Moulton

Viewed

Total article views: 260 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
176 75 9 260 9 4
  • HTML: 176
  • PDF: 75
  • XML: 9
  • Total: 260
  • BibTeX: 9
  • EndNote: 4
Views and downloads (calculated since 27 Aug 2024)
Cumulative views and downloads (calculated since 27 Aug 2024)

Viewed (geographical distribution)

Total article views: 247 (including HTML, PDF, and XML) Thereof 247 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 17 Nov 2024
Download
Short summary
Developing scientific software and making sure it functions properly requires a significant effort. As we advance our understanding of natural systems, however, there is the need to develop yet more complex models and codes. In this work, we present a piece of software that facilitates this work, specifically with regard to reactive processes. Existing tried-and-true codes are made available via this new interface, freeing up resources to focus on the new aspects of the problems at hand.