Elsevier

Geothermics

Volume 94, July 2021, 102089
Geothermics

Dynamic mesh optimisation for geothermal reservoir modelling

https://doi.org/10.1016/j.geothermics.2021.102089Get rights and content

Abstract

Modelling geothermal reservoirs is challenging due to the large domain and wide range of length- and time-scales of interest. Attempting to represent all scales using a fixed computational mesh can be very computationally expensive. Application of dynamic mesh optimisation in other fields of computational fluid dynamics has revolutionised the accuracy and cost of numerical simulations. Here we present a new approach for modelling geothermal reservoirs based on unstructured meshes with dynamic mesh optimisation. The resolution of the mesh varies during a simulation, to minimize an error metric for solution fields of interest such as temperature and pressure. Efficient application of dynamic mesh optimisation in complex subsurface reservoirs requires a new approach to represent geologic heterogeneity and we use parametric spline surfaces to represent key geological features such as faults and lithology boundaries. The resulting 3D surface-based models are mesh free; a mesh is created only when required for numerical computations. Dynamic mesh optimisation preserves the surfaces and hence geologic heterogeneity. The governing equations are discretised using a double control volume finite element method that ensures heat and mass are conserved and provides robust solutions on distorted meshes. We apply the new method to a series of test cases that model sedimentary geothermal reservoirs. We demonstrate that dynamic mesh optimisation yields significant performance gains, reducing run times by up to 8 times whilst capturing flow and heat transport with the same accuracy as fixed meshes.

Introduction

Numerical modelling is an essential tool for the development of geothermal reservoirs. Modelling of these complex and data-poor environments is important to gain insight into reservoir processes as well as predict the response of the reservoir to production. Numerical modelling can be used to optimise well number, placement and geometry for maximum heat recovery, predict thermal breakthrough, and study the interaction of production with background hydraulic flow. Modelling the response to production is essential to assess the lifetime of a given reservoir and identify the best management strategy (Arthur et al., 2010; Blöcher et al., 2010; Herbert et al., 2013; Dussel et al., 2016; Willems and Nick, 2019).

Current approaches to geothermal reservoir simulation can be broadly separated into two categories based on the approach used to discretize space: those that use k-orthogonal structured grids or unstructured meshes, and those that use non k-orthogonal unstructured meshes. In the former, the governing equations are typically discretised using the finite difference method (FDM) or finite volume method (FVM); k-orthogonal grids are required to accurately calculate fluxes between grid elements using the two-point flux approximation (Eskilson and Claesson, 1988, Eskilson and Claesson, 1988; Pruess, 1990; Sliwa and Gonet, 2005; Diersch et al., 2011a, Diersch et al., 2011b; Nabi and Al-Khoury, 2012). Simulators which use the FDM/FVM include TOUGH2 (Pruess et al., 1999), ECLIPSE (Schlumberger, 2018), STARS (CMG, 2019) and TETRAD (ThinkGeoEnergy, 2019).

The use of k-orthogonal grids (typically Cartesian) or close to k-orthogonal grids (typically pillar grids, in which pillars extend from the top to the base of the model domain) often requires excessively high resolution to accurately capture geological heterogeneity (Wu and Parashkevov, 2009, Jackson et al., 2015). Features such as dipping faults, meandering channels or pinched-out layers introduce unrealistic stair-stepping effects and associated numerical artefacts in numerical solutions. The use of pillar grids also restricts flexibility of model resolution, because all layers in the model must have the same areal grid resolution. This can be very computationally expensive when trying to resolve a large range of length-scales within a large model domain, as is often the case when modelling geothermal reservoirs (O’Sullivan et al., 2001; Cho et al., 2015).

The use of non k-orthogonal meshes can therefore be beneficial, as it allows more accurate representation of geologic heterogeneity with fewer mesh elements (Geiger et al., 2004; Paluszny et al., 2007; Jackson et al., 2015; Zehner et al., 2015). Such meshes have been extensively used to model coupled geothermal processes in fractured porous media (Weis et al., 2012, Weis et al., 2014; Scott et al., 2015, Scott et al., 2016; Yapparova et al., 2014; Nissen et al., 2018; Patterson et al., 2018; Patterson and Driesner, 2019; Berre et al., 2019, Berre et al., 2020; Keilegavlen et al., 2020, Keilegavlen et al., 2021). The finite element method (FEM) is typically used to accurately calculate fluxes across the elements. Simulators based on this approach include FEFLOW (FEFLOW, 2019), PANDAS (Xing et al., 2019) CSMP (Nick and Matthai, 2011), FEHM (Zyvoloski et al., 1997) and OpenGeoSys (Kolditz et al., 2012). However, use of the FEM can also involve numerical challenges: solutions are typically more expensive per element than FDM/FVM and poor quality meshes can lead to convergence failures or non-physical solutions. This latter issue can be a significant problem when modelling geothermal reservoirs containing high-aspect ratio geological layers.

Geothermal reservoirs host a range of thermal-hydrological-geomechanical-chemical (THMC) processes and numerical simulators must solve a system of highly-coupled, non-linear partial differential equations which is very computationally expensive. To reduce cost, small domains can be modelled or rock properties can be upscaled to a coarser mesh. However, these approaches can both introduce new problems. Large domains may be necessary to avoid boundary effects and to include the whole convective system hosting a particular reservoir, while upscaling can result in a loss of geological fidelity (Cho et al., 2015; Burnell et al., 2015; O’Sullivan et al., 2001; Renard and De Marsily, 1997).

In other areas of computational fluid dynamics, high fidelity solutions have been obtained at lower computational cost by use of dynamic mesh optimisation (DMO), in which the resolution and geometry of the mesh varies during a simulation to minimize an error metric for one or more solution fields of interest such as pressure or velocity (Alauzet and Loseille, 2016; Xie et al., 2016; Hu et al., 2018). DMO varies the mesh resolution such that higher resolution is used in parts of the domain where the solution is complex, and lower resolution is used elsewhere. However, DMO has not been applied in geothermal reservoir simulation, and it is not trivial to adapt existing DMO methods because of the need to maintain a description of the underyling geologic heterogeneity. This heterogeneity causes spatial variability in rock properties such as permeability and porosity which can have a significant impact on flow.

Modelling the spatial variability of rock properties on a fine mesh can allow geologic heterogeneity to be properly captured, but is computationally expensive on a fixed mesh and does not allow efficient application of DMO because, each time the simulation mesh changes, the rock properties must be up-, cross- or down-scaled onto the new mesh. This scaling is trivial for volumetric properties such as porosity, but non-trivial for the tensor properties of fluid permeability and thermal conductivity, for which no straightforward scaling methods are available (Renard and De Marsily, 1997; Rühaak et al., 2015).

Here, instead of the classical grid-based approach to geological reservoir modelling, a surface-based approach is used (Pyrcz et al., 2005; Caumon et al., 2009; Jackson et al., 2015; Melnikova et al., 2016; Jacquemyn et al., 2019). In surface-based geologic modelling (SBGM), all geological heterogeneities of interest are represented by surfaces: these surfaces may capture faults, stratigraphic surfaces, boundaries between different facies or lithologies, boundaries between different diagenetic regions, and any other geologic controls on the spatial distribution of petrophysical properties. The surfaces define rock volumes which we term ‘geologic domains’; these domains have constant petrophysical properties, or simple, mathematically defined trends such as upwards or downwards increases in permeability (reflecting, for example, upwards or downwards coarsening of grain size). In this sense, surface-based modelling is analogous to grid-based modelling: any discretization requires properties to be homogeneous at some scale. Here, we identify the domains based on geology, rather than using an arbitrary mesh. It has been shown that capturing correlated variability using such geologically-defined domains is key for capturing flow (Osman et al., 2020).

The aim of this paper is to demonstrate and test, for the first time, the use of dynamic mesh optimisation in geothermal reservoir simulation, using surface-based modelling to capture geologic heterogeneity and the Double-Control-Volume-Finite-Element-Method (DCVFEM; (Salinas et al., 2017a) to solve the equations governing heat flow on the unstructured, dynamically adapting mesh. The combination of surface-based geologic modelling and DMO allows the unstructured mesh to adapt over time to solution fields of interest such as pressure and temperature (e.g. Fig. 1). Numerical simulations capturing heterogeneity and flow over many length-scales can be performed at lower computational cost and without the need for the user to manually adjust the mesh resolution.

We begin by validating the approach against an analytical solution for advection-diffusion to demonstrate results are accurate and convergent for both fixed and adaptive meshes. We then apply the approach to a number of realistic test cases, including a well doublet in a homogeneous reservoir, production from a sedimentary fluvial reservoir containing sinuous, channelized sandbodies interbedded with mudstones, and production from a complex faulted reservoir with several fault blocks separated by intersecting conjugate faults. These heterogeneous test cases represent common reservoir scenarios that can be difficult to represent in conventional geothermal reservoir modelling workflows. We focus here on thermal-hydrological (TH) processes in the low enthalpy geothermal systems that are used to source and store heat in many different locations around the world (Lopez et al., 2010; Gluyas et al., 2018; Willems and Nick, 2019). Extensions of the approach to include geomechanics and chemical reaction (MC) are discussed.

Section snippets

Surfaced-based reservoir modelling

The concepts underlying SBGM and various practical implementations have been described elsewhere, so only a brief summary is reported here (Pyrcz et al., 2005; Caumon et al., 2009; Jackson et al., 2014; Jacquemyn et al., 2019). We use parameterised surfaces to represent geological boundaries of interest across scales. The approach implemented here uses NURBS (Non-Uniform Rational B-Spline) (Fig. 2) which are efficient to construct and manipulate and are widely used in other areas of

Numerical methods

The numerical formulation used here is the DCVFEM introduced by Salinas et al. (2017b) and which is based on the family of Control Volume finite element methods (Forsyth, 1991; Durlofsky, 1993; Helmig and Huber, 1998; Edwards, 2002; Geiger et al., 2004; Wheeler and Yotov, 2006; Schmid et al., 2013; Xie et al., 2016; Salinas et al., 2018; Abushaikha et al., 2017). In the DCVFEM, velocity is discretised using Finite Elements (FE) in the element mesh, while pressure and temperature are discretised

Numerical experiments

We report results from four test cases; the first is a validation of the method against an analytical solution in a homogeneous reservoir with spatially and temporally constant rock (Table 1) properties. The remaining cases represent well doublets in homogeneous and heterogeneous reservoir models in which the fluid (water) density in the buoyancy terms is temperature and pressure dependent according to a simple linear equation of state:ρf=ρf,01β(T1T0)+1E(pp0)βE(pp0)(T1T0),where ρf,0 is

Discussion

We have demonstrated here practical use of dynamic mesh optimisation in conjunction with surface-based geologic modelling to reduce computational cost while maintaining solution accuracy in models of low enthalpy geothermal reservoirs. The DMO approach we report is implemented in the open source IC-FERST code, but could be implemented in any simulator based on unstructured meshes. Our aim in this paper is not to compare the performance of IC-FERST against other such simulators, but rather to

Conclusions

We present a new approach for modelling geothermal reservoirs using surface-based geological modelling (SBGM), unstructured meshes, a double control volume finite element method (DCVFEM) and dynamic mesh optimisation (DMO). SBGM allows realistic models of complex 3D geologic heterogeneity to be created in a mesh-free environment; the heterogeneity architecture is preserved in the reservoir simulation model on the unstructured mesh, and the DCVFEM provides converged solutions even if the mesh

Author statement

Pablo Salinas: Writing, Methodology, Investigation, Software, Validation

Geraldine Regnier: Writing, Validation

Carl Jacquemyn: Software

Christopher C. Pain: Funding acquisition, Methodology, Supervision

M.D. Jackson: Writing, Funding acquisition, Supervision, Methodology

Conflict of interest

The authors declare no conflict of interest.

Acknowledgements

Authors Salinas, Jacquemyn, Pain and Jackson gratefully acknowledge funding from the UK Engineering and Physical Sciences Research Council (EPSRC) via the Smart-GeoWells project (grant EP/R005761/1). Author Regnier gratefully acknowledges funding from the EPSRC via the Centre for Doctoral Training in Fluid Dynamics across Scales. No data were generated in the course of this work. The corresponding author can be contacted at [email protected] or via the Novel Reservoir Modelling and

References (101)

  • P. Farrell et al.

    Conservative interpolation between volume meshes by local galerkin projection

    Comput. Methods Appl. Mech. Eng.

    (2011)
  • R. Helmig et al.

    Comparison of galerkin-type discretization techniques for two-phase flow in heterogeneous porous media

    Adv. Water Resour.

    (1998)
  • A. Herbert et al.

    Thermal modelling of large scale exploitation of ground source energy in urban aquifers as a resource management tool

    Appl. Energy

    (2013)
  • R. Hu et al.

    Unstructured mesh adaptivity for urban flooding modelling

    J. Hydrol.

    (2018)
  • S. Lopez et al.

    40 years of Dogger aquifer management in ile-de-France, Paris Basin, France

    Geothermics

    (2010)
  • M. Nabi et al.

    An efficient finite volume model for shallow geothermal systems. Part i: Model formulation

    Comput. Geosci.

    (2012)
  • A. Obeysekara et al.

    Modelling stress-dependent single and multi-phase flows in fractured porous media based on an immersed-body method with mesh adaptivity

    Comput. Geotech.

    (2018)
  • M.J. O’Sullivan et al.

    State of the art of geothermal reservoir simulation

    Geothermics

    (2001)
  • C. Pain et al.

    Tetrahedral mesh optimisation and adaptivity for steady-state and transient finite element calculations

    Comput. Methods Appl. Mech. Eng.

    (2001)
  • P. Renard et al.

    Calculating equivalent permeability: a review

    Adv. Water Resour.

    (1997)
  • W. Rühaak et al.

    Upscaling thermal conductivities of sedimentary formations for geothermal exploration

    Geothermics

    (2015)
  • P. Salinas et al.

    A discontinuous control volume finite element method for multi-phase flow in heterogeneous porous media

    J. Comput. Phys.

    (2018)
  • K. Schmid et al.

    Higher order FE-FV method on unstructured grids for transport and two-phase flow with variable viscosity in heterogeneous porous media

    J. Comput. Phys.

    (2013)
  • S. Scott et al.

    The thermal structure and temporal evolution of high-enthalpy geothermal systems

    Geothermics

    (2016)
  • J. Vidal et al.

    Overview of naturally permeable fractured reservoirs in the central and southern upper rhine graben: insights from geothermal wells

    Geothermics

    (2018)
  • C. Willems et al.

    Towards optimisation of geothermal heat recovery: an example from the west netherlands basin

    Appl. Energy

    (2019)
  • C.J. Willems et al.

    On the connectivity anisotropy in fluvial hot sedimentary aquifers and its influence on geothermal doublet performance

    Geothermics

    (2017)
  • Z. Xie et al.

    A balanced-force control volume finite element method for interfacial flows with surface tension using adaptive anisotropic unstructured meshes

    Comput. Fluids

    (2016)
  • A. Yapparova et al.

    Realistic simulation of an aquifer thermal energy storage: effects of injection temperature, well placement and groundwater flow

    Energy

    (2014)
  • B. Zehner et al.

    Workflows for generating tetrahedral meshes for finite element simulations on complex geological structures

    Comput. Geosci.

    (2015)
  • F. Alauzet et al.

    A decade of progress on anisotropic mesh adaptation for computational fluid dynamics

    Computer-Aided Design 72, 13–39, 23rd International Meshing Roundtable Special Issue: Advances in Mesh Generation

    (2016)
  • D.G. Anderson

    Iterative procedures for nonlinear integral equations

    J. Assoc. Comput. Mach.

    (1965)
  • S. Arthur et al.

    Modelling large ground source cooling systems in the chalk aquifer of central london

    Q. J. Eng. Geol. Hydrogeol.

    (2010)
  • I. Berre et al.

    Flow in fractured porous media: a review of conceptual models and discretization approaches

    Transp. Porous Media

    (2019)
  • I. Berre et al.

    Fault slip in hydraulic stimulation of geothermal reservoirs: governing mechanisms and process-structure interaction

    Lead. Edge

    (2020)
  • M. Blöcher et al.

    3d numerical modeling of hydrothermal processes during the lifetime of a deep geothermal reservoir

    Geofluids

    (2010)
  • J. Burnell et al.

    Geothermal supermodels: the next generation of integrated geophysical, chemical and flow simulation modelling tools

    Proc. World Geothermal Congress 2015

    (2015)
  • J. Busby

    Geothermal energy in sedimentary basins in the UK

    Hydrogeol. J.

    (2014)
  • G. Caumon et al.

    Surface-based 3d modeling of geological structures

    Math. Geosci.

    (2009)
  • Z. Chen et al.

    Well flow models for various numerical methods

    Int. J. Numer. Anal. Model.

    (2009)
  • J. Cho et al.

    Validation of a numerical reservoir model of sedimentary geothermal systems using analytical models

    Fortieth Workshop on Geothermal Reservoir Engineering

    (2015)
  • CMG

    www.cmgl.ca/stars

    (2019)
  • P.E. Deveugle et al.

    A comparative study of reservoir modeling techniques and their impact on predicted performance of fluvial-dominated deltaic reservoirs

    AAPG Bull.

    (2014)
  • M. Edwards

    Unstructured, control-volume distributed, full-tensor finite-volume schemes with flow based grids

    Comput. Geosci.

    (2002)
  • P. Eskilson et al.

    Simulation model for thermally interacting heat extraction boreholes

    Numer. Heat Transf.

    (1988)
  • J.T. Fanning

    A Practical Treatise on Hydraulic and Water-Supply Engineering

    (1896)
  • FEFLOW

    www.mikepoweredbydhi.com/products/feflow

    (2019)
  • P. Forsyth

    A control volume finite element approach to NAPL groundwater contamination

    SIAM J. Sci. Stat. Comput.

    (1991)
  • M. Franz et al.

    Geothermal resources of the north German basin: exploration strategy, development examples and remaining opportunities in mesozoic hydrothermal reservoirs

    Geol. Soc. Lond. Spec. Publ.

    (2018)
  • D.J. Furbish

    Fluid Physics in Geology: An Introduction to Fluid Motions on Earth's Surface and Within Its Crusts

    (1997)
  • Cited by (0)

    View full text