Preprints
https://doi.org/10.5194/gmd-2022-281
https://doi.org/10.5194/gmd-2022-281
Submitted as: model description paper
 | 
04 Jan 2023
Submitted as: model description paper |  | 04 Jan 2023
Status: a revised version of this preprint was accepted for the journal GMD and is expected to appear here in due course.

SedTrace 1.0: a Julia-based framework for generating and running reactive-transport models of marine sediment diagenesis specializing in trace elements and isotopes

Jianghui Du

Abstract. Trace elements and isotopes (TEIs) are important tools in studying ocean biogeochemistry. Understanding their modern ocean budgets and using their sedimentary records to reconstruct paleoceanographic conditions require mechanistic understanding of the diagenesis of TEIs, yet the lack of appropriate modeling tools has limited our ability to perform such research. Here we introduce SedTrace, a modeling framework that can be used to generate reactive-transport code for modeling marine sediment diagenesis and assist model simulation using advanced numerical tools in Julia. SedTrace enables mechanistic TEI modeling by providing flexible tools of pH and speciation modeling, which are essential in studying TEI diagenesis. SedTrace is designed to solve one particular challenge facing the users of diagenetic models: existing models are usually case-specific and not easily adaptable for new problems, such that the user has to choose between modifying published code and writing their own code, both of which demand strong coding skills. To lower this barrier, SedTrace can generate diagenetic models only requiring the user to supply Excel spreadsheets containing necessary model information. The resulting code is clearly structured and readable, and is integrated with Julia’s differential equation solving ecosystems, utilizing tools such as automatic differentiation, sparse numerical methods, Newton-Krylov solvers and preconditioner. This allows efficient solution of large systems of stiff diagenetic equations. We demonstrate the capacity of SedTrace using case studies of modeling the diagenesis of pH, radiogenic and stable isotopes of TEIs.

Jianghui Du

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on gmd-2022-281', Anonymous Referee #1, 28 Feb 2023
    • AC1: 'Reply on RC1', Jianghui Du, 26 Jul 2023
  • RC2: 'Comment on gmd-2022-281', Anonymous Referee #2, 02 Jul 2023
    • AC2: 'Reply on RC2', Jianghui Du, 26 Jul 2023

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on gmd-2022-281', Anonymous Referee #1, 28 Feb 2023
    • AC1: 'Reply on RC1', Jianghui Du, 26 Jul 2023
  • RC2: 'Comment on gmd-2022-281', Anonymous Referee #2, 02 Jul 2023
    • AC2: 'Reply on RC2', Jianghui Du, 26 Jul 2023

Jianghui Du

Model code and software

SedTrace.jl: a Julia package for generating and running reactive-transport models of marine sediment diagenesis Jianghui Du https://doi.org/10.5281/zenodo.7225861

Jianghui Du

Viewed

Total article views: 768 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
586 167 15 768 2 5
  • HTML: 586
  • PDF: 167
  • XML: 15
  • Total: 768
  • BibTeX: 2
  • EndNote: 5
Views and downloads (calculated since 04 Jan 2023)
Cumulative views and downloads (calculated since 04 Jan 2023)

Viewed (geographical distribution)

Total article views: 738 (including HTML, PDF, and XML) Thereof 738 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 11 Sep 2023
Download
Short summary
Trace elements and isotopes (TEIs) are important tools to study the changes of the ocean environment both today and in the past. However, the behaviors of TEIs in marine sediments are poorly known, limiting our ability to use them in oceanography. Here we present a modeling framework that can be used to generate and run models of the sedimentary cycling of TEIs assisted with advanced numerical tools in the Julia language, lowering the coding barrier for the general user to study marine TEIs.