Abstract

Abstract. Numerical simulation has become an inevitable tool for improving the understanding on coupled processes in the geological subsurface and its utilisation. However, most of the available open source and commercial modelling codes do not come with flexible chemical modules or simply do not offer a straight-forward way to couple third-party chemical libraries. For that reason, the simple and efficient TRANsport Simulation Environment (TRANSE) has been developed based on the Finite Difference Method in order to solve the density-driven formulation of the Darcy flow equation, coupled with the equations for transport of heat and chemical species. Simple explicit, weighted semi-implicit or fully-implicit numerical schemes are available for the solution of the system of partial differential equations, whereby the entire numerical code is composed of less than 1000 lines of Python code, only. A diffusive flux-corrected advection scheme can be employed in addition to pure upwinding to minimise numerical diffusion in advection-dominated transport problems. The objective of the present study is to verify the numerical code implementation by means of benchmarks for density-driven fluid flow and advection-dominated transport. In summary, TRANSE exhibits a very good agreement with established numerical simulation codes for the benchmarks investigated here. Consequently, its applicability to numerical density-driven flow and transport problems is proven. The main advantage of the presented numerical code is that the implementation of complex problem-specific couplings between flow, transport and chemical reactions becomes feasible without substantial investments in code development using a low-level programming language, but the easy-to-read and -learn Python programming language.

Highlights

  • Many different scientific open-source and commercial closed-source software packages are available for the simulation of fluid flow and transport processes in the geological subsurface

  • Scientific numerical codes written in low-level programming languages (e.g., FORTRAN, C++ or C) are per se less comprehensible compared to high-level language implementations (i.e., Python), and limit the user who is not experienced in low-level language programming to simple code modifications

  • TRANsport Simulation Environment (TRANSE) is based on the Finite Difference Method, whereby non-linearity is introduced by the different coupling parameters between fluid flow as well as transport of chemical species and heat to the system of partial differential equations (PDEs)

Read more

Summary

Introduction

Many different scientific open-source and commercial closed-source software packages are available for the simulation of fluid flow and transport processes in the geological subsurface. High flexibility is required to tackle specific (reactive) transport problems, such as those requiring the development and integration of chemical surrogate models to overcome the computational burden of chemical simulations (De Lucia et al, 2017, 2015), with a special focus on the integration of process-dependent chemical modules and/or coupling interfaces for third-party chemical modules In this view, scientific numerical codes written in low-level programming languages (e.g., FORTRAN, C++ or C) are per se less comprehensible compared to high-level language implementations (i.e., Python), and limit the user who is not experienced in low-level language programming to simple code modifications.

Objectives
Methods
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call