1. Introduction
Since the advent of the industrial revolution, the atmospheric concentration of carbon dioxide (CO
2) has gradually increased, which is considered as an important criterion for the global warming. [
1]. Carbon capture, utilization, and storage (CCUS) has been proposed as a technically viable approach to help reduce anthropogenic CO
2 emissions [
2]. Once captured from industrial point sources and compressed to a dense phase, CO
2 can be transported for geologic storage in depleted hydrocarbon reservoirs, coal beds, deep saline aquifers, or other geologic targets [
3]. Successful implementation of geologic carbon storage (GCS) requires effective containment of large volumes of injected CO
2 for long periods of time, and it is necessary to ensure that natural and engineered seals serve as effective barriers to unwanted fluid migration. The integrity of active and abandoned wells is also an important aspect of containment assurance [
4,
5].
The presence of a micro-annulus or crack in the cement sheath of a well system can compromise the effectiveness of a well as a barrier to unwanted fluid migration [
6] in GCS, geothermal energy production, oil and gas exploration and production, geologic energy storage, hazardous waste disposal, and other engineered geologic systems. For the well integrity in GCS, zonal isolation is the key concept that is achieved by a well-functioning barrier between the steel casing and the formation rock [
7]. However, the cementing operation is the most influential factor for establishing integrity. During the hydration process and cement curing, due to the entrapped air or an inappropriate cement formulation, weak porous space formation may create pathways for existing fluids migration.
In a compromised well several possible leakage pathways can manifest. Gasda et al. [
8], Celia et al. [
9], and Wang and Taleghani [
10] highlighted six possible reasons for cement sheath failure: (
i) crack along the radial direction, (
ii) plastic deformation during the hardening phase, (
iii) separation between the steel casing and the cement, (
iv) separation between the cement and the formation rock, (
v) poor cement jobs, and (
vi) formation of channel or annulus.
Figure 1 presents a representative illustration of an injection well, a compromised legacy well, and possible pathways for fluids leakage through a compromised well.
Well stability failure requires expensive structural remedial operations and a contamination prevention action plan (EPA [
11]). Cavanagh et al. [
12] reported that in the United States alone, the annual estimated remedial work cost for cement failure is over
$50 million a year. In addition, Dusseault and Jackson [
13] reported that the estimated remedial cost in British Columbia, Canada is
$8 million. Therefore, compromised well, its mechanism, short and long-term effect, and possible prevention are an active field of research. Fluids (e.g., CO
2, brine) may migrate through the annulus or crack in the compromised well. Due to fluids flow, inside the porous mediums, fluids pressure develops, which also impacts geo-mechanical aspects of wells [
14]. In addition, in the compromised well, the fluids flow, fluids saturation state change, their pressure evolution, and the associated deformation flow are considered as a complex coupled problem, which is the motivation of the present research.
In this paper, for the FE simulations of a field case in
Figure 1, we assume that the compromised well geometry consists of a storage reservoir, cement sheath, and steel casing. In addition, we consider a horizontal fracture as a leakage path. Additionally, we interpret that the inside of the well is filled with cement, which represents a plugged and abandoned well. Therefore, the flow problem presented herein calls for simulation of coupled multi-phase hydro-mechanical response in a complex heterogeneous media.
The literature describes some field cases for CO
2 injection, like, the Ketzin Pilot project (Chen et al. [
15]). The numerical complexities of these types of cases are similar to the Liakopoulos experiments [
16]. In addition, among others, Lewis and Schrefler [
17] demonstrated associated numerical issues in a homogeneous media. Three-phases (solid, liquid, and gas) finite element simulation in deformable heterogeneous mediums with fractures presents numerical convergence challenges. Helmig [
18] demonstrated the computational complexities of modeling fluid flow experimental results in heterogeneous sand mediums reported by Kueper and Frind [
19]. The literature reports multiple sources for the numerical instabilities in the multi-phase heterogeneous domains, including: non-linearity of coupled partial differential equations which hold the complex mediums (Binning and Celia [
20]), coupling mechanisms of fluids and solids (e.g., the monolithic coupling or the sequential coupling) (Kolditz et al. [
21]), and selection of fluids’ primary variables (the capillary pressure plus the gas pressure or the liquid pressure plus the gas saturation) (Helmig [
18]). Additionally, for the standard FE, the mass matrices of variables are calculated at each quadrature point, while fluids flowing in porous media, the time derivative of variables are evaluated at nodes (Zienkiewicz et al. [
22]). There are notable numerical complexities for the two fluids flow simulation, when (
i) one fluid phase approaches to the residual saturation, (
ii) the mobility term becomes zero, or (
iii) the role of compressibility is substantial. For cases with three-phases heterogeneous mediums, selection of (
i) numerical solvers (linear and non-linear solvers), (
ii) time integration scheme (implicit, explicit, or automatic time stepping), (
iii) preconditioner (Jacobi type or Incomplete Lower Upper (ILU) factorization type or without preconditioner), and (
iv) memory storage (symmetry or asymmetry) are crucial issues to obtain numerical convergence (Chen et al. [
23]).
Work described herein seeks to address those challenges for the scenario of leakage through a compromised legacy well in a GCS system. Using the finite element method, we tested two coupling mechanisms, and two sets of fluids primary variables and considered their contribution to numerical instabilities. For the fluids flow, the primary variables are (
i) the capillary pressure and the gas pressure (PP scheme) and (
ii) the liquid pressure and the gas saturation (PS scheme). We also use Brooks and Corey [
25] model to account for the transition between the wetting phase fluid and the non-wetting phase fluid. We also introduced the mass lumping and the upwinding techniques (see Helmig [
18]) to assess the numerical stability in the heterogeneous mediums. Moreover, to verify the performance of finite element simulations, we compared our FE results with the analytical solutions of Terzaghi’s 1D consolidation (see also Coussy [
26]), Liakopoulos [
16] laboratory test and Kueper and Frind [
19] experimental results. We conducted these comparisons to assess the accuracy in the coupled FE solutions and to investigate the effect of fluids’ primary variables on the heterogeneous interface with relevance to the case of leakage through a compromised legacy well. In addition, the problem statement in the benchmark solutions are relevant to compromised well. The purposes of our present investigations are to (
i) assess the risk of CO
2 leakage through observation points including in the fracture zone, (
ii) monitor coupled geo-mechanical responses due to CO
2 injection, and (
iii) investigate the effect of coupling scheme (e.g., monolithic and sequential coupling) with and without the mass lumping and the upwinding algorithms on the coupled finite element solutions of CO
2 leakage.
An open-source solver named OpenGeoSys [
27] was used for finite element modeling. The Gmsh [
28] was used for mesh generation. In the following sections, we will discuss details of governing equations, coupled finite element formulations, benchmark solutions, and coupled finite element model of a compromised legacy well.
3. Coupled Finite Element Formulations
We introduce the weak formulations, and the Galerkin finite element method in the governing equations to obtain the finite element solution (see also Zienkiewicz et al. [
22]). In the matrix notation, the coupled algebraic equations for the two-phase flow, and the deformation can be written as
In Equation (9), in general,
and
are the non-symmetric matrices which depend on solution vectors,
.
is the time derivative of
.
is the time-dependent function for the gas pressure, the capillary pressure, and the displacement. Additionally,
and
are known as the “mass matrix” and the “coefficient matrix”, while
demonstrates the Neumann boundary terms. It is worth mentioning that we show Equation (9) for the PP scheme only to avoid similar equations.
Details of matrix elements in Equation (9) can be found in Lewis and Schrefler [
17].
There are different approaches to solve Equation (9) (see Wood [
38]). However, herein, we use the
—method. In addition, following the finite difference method, the time discretization
of Equation (9) can be written as
where,
is the integration parameter.
and
are vectors corresponding to the time
and
, respectively. Additionally,
and
represent the previous and present time steps, respectively. We also assume that the initial state of solution vectors
, at an initial time
are known.
For the coupled hydro-mechanical solutions, the domain
is bounded by an arbitrary boundary
. In addition, to obtain solutions of unknown variables, we define the initial conditions and the boundary conditions as follows
where,
, and
are the initial state displacement, capillary pressure, and gas pressure, respectively.
For the above-mentioned primary variables, boundary conditions are given by
where,
and
are the assigned displacement and tractions, respectively, on the corresponding boundaries
and
. Additionally,
and
are the prescribed capillary pressure and the gas pressure, respectively, on the boundaries
and
.
is the unit normal vector.
is the assigned fluids fluxes, where
represents the liquid and gas phases.
Additionally, for the diffusive fluxes, solutions of coupled non-linear balance equations exhibit the parabolic form. Again, when the diffusive fluxes are small enough compared to the convective fluxes, the governing equations are treated as the hyperbolic form (see also Aziz and Settari [
33]). Moreover, the non-linear convective term’s differential operator is not symmetric. In such a situation, if one fluid phase approaches its residual saturation or the mobility term (see Equation (A8)) approaches zero, then the upwinding technique is convenient (see also Helmig [
18]). Furthermore, in a heterogeneous porous media, without the upwinding method, the primary variables of the governing equations oscillate strongly, which moreover do not predict fronts perfectly for the convection-diffusion type problem (see also Aziz and Settari [
33]). In addition, a finite element domain comprised of composite medium and with coarser mesh, the oscillation is also challenging. We also discuss such an oscillation in the next section. In this regard, possible solutions may be small-time steps and finer mesh, which require additional computational time.
As in the upwinding method, the central difference solution of the second-order partial differential equation with respect to space is replaced with the first-order solution in the direction of fluid flow. Thereby, there is a debate for and against the upwinding method regarding stability and accuracy issues. It is worth mentioning that selection of the upwind method (see also Helmig [
18]) is crucial for the solution of multi-phase fluids flow in a porous media. A choice of erroneous algorithms may attempt to withdraw fluid phase from nodal points, where there might not have even fluid (see also Lewis and Roberts [
39]). In such a situation, “fully upwinding” method is numerically advantageous than other upwinding method, while in other cases, “fully upwinding” method may require a cutoff to achieve the stability. Thereby, it is worth mentioning that considering the coupling mechanisms of operational processes (e.g., coupled fluids flow and deformation flow), a selection of the upwinding technique is critical. Moreover, without the upwinding method, introducing revised “quadrature rule”, the associated oscillation also can be resolved (see also Lewis and Roberts [
39]). However, the computational time in the “quadrature rule” is challenging.
It is worth mentioning that in the Results and Discussions of a Compromised Well section, we present a comparison of with and without the mass lumping and the upwinding method for the monolithic coupling and the sequential coupling. Additionally, in the next section, we demonstrate benchmark solutions of the above discussed coupled finite element formulations.
7. Conclusions
In this paper, we present a coupled multi-phase flow and deformation flow model. In addition, assuming the gas phase is immobile, we obtained the coupled Richards flow. Then, we compared coupled two-phase flow, Richards flow with Liakopoulos experiments. We found good agreement with the numerical results with an experimental benchmark solution, demonstrating the efficacy of both coupled solutions. It is worth mentioning that even though both solutions provided identical results, but when both fluids (e.g., brine and CO2) are mobile, like, CO2 injection, the Richards solutions may not be appropriate for its assumptions.
Additionally, in the two-phase flow solutions, we present the effect of primary variables selection, considering two sets of primary variables: capillary pressure and the gas pressure (PP scheme) and liquid pressure and the gas saturation (PS scheme). For the homogeneous medium, the effect of fluid primary variables scheme is not significant, but for heterogeneous media (e.g., compromised well scenario), the selection of fluids’ primary variables significantly impacts the accuracy of results. We compared results from both schemes using the Kueper and Frind benchmark experiments. We found that before the displacing fluid plume reaches different interface layer, both algorithms provide similar results, due to homogeneity. However, when the displacing fluid plume reaches the interface layer of two different materials, the PS scheme failed to capture the experimental results. In contrast, the PP scheme results showed good agreement with the benchmark experiments. Based on this comparison, we note that for the heterogeneous media, careful consideration of the fluid phase primary variable scheme is critical to ensure accuracy of the predicted system behavior.
In heterogeneous medium, convergence in numerical modeling proved challenging. Introducing mass lumping (wherein the mass matrix is diagonalized) and the upwinding (wherein the second-order partial differential equation is replaced with the first-order solution along the flow direction) in the numerical solution scheme was used to address this problem. From the benchmark comparison of the Kueper and Frind experiments, we found that with the mass lumping and upwinding, the simulation time is significantly reduced as compared to simulations without applying those approaches. In short-term simulation, both techniques (with and without the mass lumping and the upwinding) provided an identical result. This suggests that these approaches can be used in longer-term simulations of the benchmark problem without impacting fidelity, but this finding must also be tested on the more-complex compromised well scenario. We also presented an optimization method to reduce the computational time for the Kueper and Frind experiments. We found that the auto time-stepping algorithms required between four and five times more computational time. These types of optimization methods are essential to reduce the computational time for the long-term prediction in the compromised legacy well simulation.
A geologic carbon storage compromised plugged legacy well scenario was developed consisting of a geologic CO2 storage reservoir, cement sheath between steel casing and host rock, and a horizontal fracture. Numerical simulation results of this compromised well scenario for the monolithic coupling, with and without the mass lumping and the upwinding techniques. Considering this heterogeneous problem, using upwinding alone in the sequential coupling did not address convergence issues. We also found that using both mass lumping and the upwinding for the long-term prediction yielded results that were significantly lower than the monolithic coupling case. In contrast, to the Kueper and Frind benchmark experiment where the convergence was achieved, computational time was reduced, and fidelity was maintained, the mass lumping and the upwinding techniques failed to work on the long-term compromised legacy well scenario, and should be avoided on problems of this complexity.
Lastly, we found that a safe CO2 injection rate is needed to avoid the mechanical failure condition in the compromised well. Considering three different types of injection rates we found that long-term predictions showed gradually increasing radial displacement of the solid phase. After reaching peak radial displacement energy dissipated and the displacement magnitude began to decrease. At higher injection rate, stress shock resulted in reduction to the stress component (inversely proportional to the injection rate), with subsequent increase in stress component. In addition, for the initial phase of the CO2 injection due to the developed extension at the well surface, the stress component starts to decline. Then, in the domain, the fluid phase displacement results to increase the fluid pressure progressively and the stress component also increases. These types of dilative and contractive geo-mechanical behaviors are critical for the compromised legacy well. The gradual increase of the CO2 pressure in the storage reservoir resulted in changing the hydro-mechanical behavior of the system. It is important that CO2 injection operations should be controlled such that maximum magnitude of the stress component should be lower than the failure condition to ensure safe CO2 injection.