HAL Id: hal-01667379
https://hal-brgm.archives-ouvertes.fr/hal-01667379
Submitted on 19 Dec 2017
HAL is a multi-disciplinary open access
archive for the deposit and dissemination of
sci-entific research documents, whether they are
pub-lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.
L’archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d’enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.
Geothermal Modeling in Complex Geological Systems
with the ComPASS Code
Simon Lopez, Roland Masson, Laurence Beaude, Nabil Birgle, Konstantin
Brenner, Michel Kern, Farid Smaï, Feng Xing
To cite this version:
Simon Lopez, Roland Masson, Laurence Beaude, Nabil Birgle, Konstantin Brenner, et al.. Geothermal
Modeling in Complex Geological Systems with the ComPASS Code. Stanford Geothermal Workshop
2018 - 43rd Workshop on Geothermal Reservoir Engineering, Stanford University, Feb 2018, Stanford,
United States. �hal-01667379�
PROCEEDINGS, 43rd Workshop on Geothermal Reservoir Engineering Stanford University, Stanford, California, February 12-14, 2018 SGP-TR-213
1
Geothermal Modeling in Complex Geological Systems with the ComPASS Code
Simon Lopez1, Roland Masson2, Laurence Beaude2, Nabil Birgle2, Konstantin Brenner2, Michel Kern3, Farid Smai1, Feng
Xing1,2
1. BRGM, 3 av. Claude Guillemin, 45060 Orléans CEDEX 2, France
2. Laboratoire Jean Alexandre Dieudonné, Université Nice Sophia Antipolis, Parc Valrose, 06800 Nice CEDEX 02, France 3. Maison de la Simulation, USR 3441, Bâtiment 565 – Digiteo, CEA Saclay, 91191 Gif-sur-Yvette CEDEX, France
Keywords: reservoir modeling, hydrothermal simulations, multiphase flow, unstructured meshes, fracture network ABSTRACT
Deep geothermal systems often lie in complex geological settings, with multi-scale geological structures that exert a dominant control on convective processes and the transfer of geothermal heat. Methods based on the implicit description of geometrical objects offer an efficient framework to quickly build structural models of such contexts with the occurrence of discontinuities like faults and fractures. Yet, when it comes to discretizing such models the implicit nature of surfaces make volume meshing a non-trivial task and the results are unstructured polyhedral meshes. Over the last few years, much progress has been made towards the consistent and robust discretization of diffusion processes in porous media. These research efforts resulted in several numerical schemes designed with a sound mathematical basis and able to deal with subsurface spatial heterogeneities (permeability variations, anisotropies…) and general polyhedral meshes. We introduce hereafter the ComPASS platform, an open source initiative that aims at building a geotermal simulation platform relying on one such scheme and recent numerical techniques. The current code is able to handle compositional multiphase Darcy flows, relying on a Coats type formulation, coupled to the conductive and convective transfers of energy. Simulations can be run on unstructured meshes including complex networks of fractures with intersecting, immersed and non immersed fractures. Flow inside the fractures is modelled with a so called hybrid-dimensional model, using a 2D model in the fractures that can have variable apertures and permeability and is coupled with 3D transfers in the matrix. The physics is discretized using a fully implicit time integration combined with the Vertex Approximate Gradient (VAG) finite volume scheme which is adapted to polyhedral meshes and anisotropic heterogeneous media. The fully coupled systems are assembled and solved in parallel using the PETSc library and can be run on large computing clusters. An efficient preconditioner is implemented to solve the linear systems at each time step and each Newton type iteration of the simulation. A high level interface to describe the simulation contexts is provided by the Python language, whereas the core routine are written in Fortran and C++. The paper will review the theoretical foundations and the current architecture of the code. Then it will present applications examples and present the current development roadmap.