[Paper Review] THERMAID - A matlab package for thermo-hydraulic modeling and fracture stability analysis in fractured reservoirs
THERMAID is an open-source MATLAB package for simulating thermo-hydraulic processes and fracture stability in fractured reservoirs using an embedded discrete fracture model (EDFM). It enables efficient 2D simulations of fluid flow, heat transport, and permeability evolution during hydraulic stimulation, with validated results against analytical solutions and benchmark models, offering a foundation for high-performance computing extensions and applications in geothermal energy and CO2 sequestration.
Understanding the dynamics of naturally fractured systems and fractured reservoirs in terms of flow, heat transport and fracture stability (e.g. induced seismicity) is important for a range of applications associated with waste water injection, renewable energy (e.g. geothermal systems), and greenhouse gas mitigation (e.g. geological sequestration of CO2). Here we present the implementation and validation of an open source MATLAB package for efficient numerical simulations of the coupled processes in fractured systems. We take advantage of the embedded discrete fracture model that efficiently accounts for discrete fractures. We perform a series of numerical benchmark experiments to validate the implemented approach against analytical solutions and established numerical methods. Finally, we use a simplified geomechanical model and an integrated fracture stability analysis that allows estimating the potential for shear stimulation, and thus a mechanistic assessment of induced seismic risk during stimulation. The open source distribution of the source code and results can be used as a blue print for the re-implementation of the method in a high performance computing (HPC) framework or as a standalone simulation package for investigating TH(m) problems in geothermal reservoirs.
Motivation & Objective
- To develop a computationally efficient and open-source simulation tool for coupled thermo-hydraulic processes in fractured reservoirs.
- To address the challenge of modeling fluid flow and heat transport in fractured media with high permeability contrasts between fractures and matrix.
- To integrate fracture stability analysis to assess shear stimulation and induced seismicity risk during reservoir stimulation.
- To provide a transparent, accessible platform for researchers to understand, modify, and extend the numerical implementation.
- To enable benchmarking against analytical solutions and established numerical methods for validation and credibility.
Proposed method
- Implementation of an embedded discrete fracture model (EDFM) to represent fractures without requiring body-fitted unstructured grids.
- Use of a structured, regular Cartesian grid to simplify numerical discretization and support parallelization.
- Coupling of mass and energy conservation equations with a simplified geomechanical model to simulate permeability evolution during fracture slip.
- Incorporation of step-wise permeability increase upon fracture slip to capture injectivity enhancement during hydraulic stimulation.
- Application of finite volume methods for spatial discretization and explicit time-stepping for temporal integration.
- Validation against analytical solutions and established numerical benchmarks to ensure accuracy and reliability.
Experimental results
Research questions
- RQ1How accurately can an embedded discrete fracture model simulate coupled thermo-hydraulic processes in 2D fractured reservoirs?
- RQ2To what extent does the inclusion of permeability evolution due to fracture slip improve the realism of injectivity predictions?
- RQ3Can a simplified fracture stability model effectively estimate the potential for shear stimulation and induced seismicity?
- RQ4How does the EDFM approach compare to traditional conforming discrete fracture models in terms of computational efficiency and accuracy?
- RQ5What are the limitations of a 2D implementation in MATLAB for large-scale simulations, and how can it be extended to 3D in high-performance computing environments?
Key findings
- The THERMAID package successfully reproduces analytical solutions for flow and heat transport in fractured media with high accuracy.
- The embedded discrete fracture model enables efficient simulation on structured grids without the need for complex unstructured mesh generation.
- The step-wise permeability increase during fracture slip captures the observed injectivity rise during hydraulic stimulation, validating the model's physical consistency.
- The model demonstrates that mechanical feedback through permeability evolution is essential for realistic thermo-hydraulic simulations in fractured reservoirs.
- Although currently limited to 2D, the approach is readily extensible to 3D and can be re-implemented in high-performance computing frameworks for large-scale simulations.
- The open-source nature of THERMAID under the GNU GPL v3.0 license enables community-driven development and adaptation for diverse subsurface applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.