2.2 Parallelization with parallel solver
2.2.1 Sequentially Coupled Model
In the coupled model solved by sequential methods, the fluid-heat flow problem and the geomechanics problem are solved separately in two different linear systems. Pressure and temperature are first solved in one time step. After that, they are used along with the stress solution in the sequential coupling to update the coupled system.
33
π
ππ‘β« πΞ© ππΞ©+ β« πΞ πβ π§ πΞ©= β« πΞ© ππΞ©, (2.58)
where π represents the fluid flow, ππ is the mass flow (accumulation), ππ is the mass flux term for the fluid flow, ππ is the sink/source for fluid flow, Ξ© is the domain, and Ξ is the boundary. The mass flux for fluid flow ππ can be further expressed by Darcyβs law as
ππ= βππ π
ππ(βππβ πππ ), (2.59)
where ππ is the fluid density, ππ is the fluid viscosity, and π is the second order gravity tensor.
Energy conservation is used for the heat flow equation:
π ππ‘β« π π»πΞ© Ξ© + β« π π»β π§ πΞ© Ξ = β« π π»πΞ© Ξ© , (2.60)
where π» represents heat, ππ» is the heat flow (accumulation), ππ» is the heat flux, and ππ»
is the sink/source term for heat. Heat accumulation ππ» can be written as ππ» = (1 β π) β« ππ πΆπ ππ
π
π0 + πππππ, (2.61)
where π is the temperature of rock, π0 is the reference temperature, ππ is the density of
rock, πΆπ is the heat capacity of rock, and ππ is the specific internal energy of fluid. Heat flux ππ» can be further expressed as
ππ» = βππ»βπ + βππ°π, (2.62)
where ππ» is the second order composite thermal conductivity tensor, βπ is the specific enthalpy of the fluid, and π°π is the mass flux.
Momentum balance (Hughes 1987) is used for the governing equation of geomechanics. The quasi-static assumption is used in the formulation.
34
β β π + πππ = 0, (2.63)
where ππ is the bulk density. Similar to the model presented in Section 2.1, the infinitesimal transformation assumption is used as
π = βπ π =1
2(β
ππ + βπ), (2.64)
Based on Biot (1941) and Coussy (1995), the constitutive relations for the coupling of fluid-heat flow and elastoplasticity are established as follow
πΏπ = πβ πππΏπ πΏπβ² β πΌππΏππ1 β 3πΌTπΎπππΏππ, (2.65) πΏππ ππ = πΌππΏππ£+ 1 πππΏππβ 3πΌπ,ππΏπ, (2.66) πΏπΜ = π Μ ππΏππ+ 3πΌππΎπππΏππ£ β 3πΌπ,ππΏππ+πΆπ π πΏπ, (2.67)
where πΏ represents the change caused by solid deformation, πΏπβ² is the effective stress in incremental form, π is a second order identity tensor, 3πΌT is the volumetric skeleton thermal dilation coefficient. 3πΌπ,π is further written as 3πΌπ,π = 3πΌπ+ π3πΌπ, where 3πΌπ
is the thermal dilation coefficient for porosity, and π3πΌπ is the thermal dilation coefficient for fluid. πΆπ is the total volumetric heat capacity. πΆπ is further written as πΆπ = πΆπ + πππΆπ,π, where πΆπ,π is the fluid volumetric specific heat capacity at constant pressure. π Μ π
is the specific entropy of fluid.
In this context of thermos-poro-mechanics multiway coupling, the Biotβs coefficient is also written as πΌπ and the Biot modulus is written as ππ. They are also expressed as
πΌπ= 1 βπΎππ
35
1
ππ= πππ+ πΌπβπ
πΎπ , (2.69)
where πΎπ is the solid grain bulk modulus.
Shear failure is taken into account using the Mohr-Coulomb model (Zoback 2007). This model is often used for the modeling of failure in cohesive frictional materials. The equations are as π = ππβ² β ππβ² sin Ξ¨πβ πβcos Ξ¨π β€ 0, (2.70) g = ππβ² β ππβ² sin Ξ¨π β πβcos Ξ¨π β€ 0, (2.71) ππβ² =π1β²+π3β² 2 , (2.72) ππβ² = π1β²βπ3β² 2 , (2.73)
where π1β² is the maximum principal effective stress, π3β² is the minimum principal effective stress, πβ is the cohesion, Ξ¨π is the friction angle, Ξ¨π is the dilation angle, π is the yield function, and g is the plastic potential function.
After the mathematical formulations for the fluid-heat flow and elastoplasticity problems are presented, the numerical solution is then introduced. In the elastoplasticity problem, the space discretization is achieved using the nodal-based finite element method (Hughes 1987). In the fluid-heat flow problem, the space discretization is achieved using the finite volume method (Aziz and Settari 1979). The fluid-heat flow module is based on TOUGH2 (Pruess 1999) and the geomechanics module is based on TOUGH-ROCMECH (Kim et al. 2014). Backward Euler is used for the implicit method in time stepping.
The sequential coupling is achieved using the fixed-stress method. Kim et al. (2011) proved that the fixed-stress method can lead to good stability, efficiency, and accuracy in
36
the numerical solution, and this method results in solutions comparable to the fully coupled method. In this sequential strategy, at each time step, the flow problem is first solved. When the flow problem is being solved, the stress in the geomechanics problem is fixed. Geomechanics is then solved based on the updated flow solutions. Lagrange porosity and its correction are used for the implementation of the fixed-stress method in the model as Ξ¦π+1β Ξ¦π = (πΌπ 2 πΎππ+ πΌπβΞ¦π πΎπ ) β Ξ¦ππ π (πππ+1β πππ) + 3πΌππΌπ(ππ+1β ππ) + πΌπ πΎππ(ππ£ πβ π π£πβ1) β βΞ¦ , (2.74)
where π is the time step, ππ is the pore compressibility (Settari and Mourtis 1998), ππ£ is
the total volumetric mean stress.
For the accuracy and stability of sequential coupling methods compared to fully coupled methods, Dean et al. (2006) pointed out that if a tight tolerance is used in the coupling process, explicit coupling, iterative coupling, and full coupling yield very similar simulation results for the nonlinear iterations in the coupled flow and geomechanics problem. This observation is honored in the fixed-stress coupling process in the coupled model in this subsection.