Preprints
https://doi.org/10.5194/egusphere-2026-3322
https://doi.org/10.5194/egusphere-2026-3322
31 Jul 2026
 | 31 Jul 2026
Status: this preprint is open for discussion and under review for Geoscientific Model Development (GMD).

𝙿𝚘𝚛𝚘𝚞𝚜𝙻𝚊𝚋 v1.1: a modular finite element framework for simulation of fractured porous media

Danilo Cavalcanti, Rafael L. Rangel, Carlos A. Mendes, Sebastia Olivella, Víctor Vilarrasa, Luiz F. Martha, Deane Roehl, Ignasi de-Pouplana, and Guillermo Casas

Abstract. Numerical modeling of fractured porous media requires the combined treatment of coupled processes, nonlinear geomechanical behavior, and strong discontinuities such as fractures and faults. Although several open-source simulators are available for porous-media applications, many are oriented toward large-scale production analyses and rely on mixed discretizations or complex software architectures. This paper presents 𝙿𝚘𝚛𝚘𝚞𝚜𝙻𝚊𝚋, an open-source, object-oriented finite-element framework implemented in MATLAB for transparent formulation development, verification, and rapid prototyping of coupled porous-media models. The current release supports mechanical, single-phase flow, two-phase flow, hydro-mechanical single-phase, and hydro-mechanical two-phase formulations. Nonlinear geomechanical analyses are supported through different constitutive models and solution procedures, including quasi-static continuation schemes and nonlinear transient analyses. Pre-existing fractures and faults can be represented independently of the background mesh using recent embedded finite-element formulations, which simplify model generation by avoiding the need for mesh conformity with discontinuity geometries. The framework stands out for integrating these features within a single FEM-based discretization setting. Furthermore, the code architecture is developed around abstract OOP classes designed to support modularity and extensibility. Verification examples covering the implemented features are presented and compared with reference solutions.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share
Danilo Cavalcanti, Rafael L. Rangel, Carlos A. Mendes, Sebastia Olivella, Víctor Vilarrasa, Luiz F. Martha, Deane Roehl, Ignasi de-Pouplana, and Guillermo Casas

Status: open (until 25 Sep 2026)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Danilo Cavalcanti, Rafael L. Rangel, Carlos A. Mendes, Sebastia Olivella, Víctor Vilarrasa, Luiz F. Martha, Deane Roehl, Ignasi de-Pouplana, and Guillermo Casas

Model code and software

PorousLab v1.1.0 Danilo Cavalcanti https://doi.org/10.5281/zenodo.15624961

Danilo Cavalcanti, Rafael L. Rangel, Carlos A. Mendes, Sebastia Olivella, Víctor Vilarrasa, Luiz F. Martha, Deane Roehl, Ignasi de-Pouplana, and Guillermo Casas
Metrics will be available soon.
Latest update: 31 Jul 2026
Download
Short summary
We developed 𝙿𝚘𝚛𝚘𝚞𝚜𝙻𝚊𝚋, an open-source computer tool for studying how fluid flow and deformation interact in fractured soils and rocks. The work was motivated by the need for software that is easier to inspect, modify, and test. We built the tool around reusable parts and checked it against established examples. The results agreed well with known solutions, showing that 𝙿𝚘𝚛𝚘𝚞𝚜𝙻𝚊𝚋 can help researchers develop and compare new models more transparently.
Share