A 6M digital twin for modeling and simulation in subsurface reservoirs
Keywords:
Efficient and reliable flash calculation, Advanced phase interface modeling, Fully conservative bound-preserving Darcys scale flow simulation, Reactive flow and transport in porous media, Molecular simulation of microscopic mechanisms, High-performance computation based on fully-Implicit and bound-preserving algorithmsAbstract
Modeling and simulation of flow, transport and geomechanics in the subsurface porous media is an effective approach to help make decisions associated with the management of subsurface oil and gas reservoirs, as well as in other wide application areas including groundwater contamination and carbon sequestration. Accurate modeling and efficient, robust simulation have always been the main purposes of reservoir researches, and a 6M digital twin (multi-scale, multi-domain, multi-physics and multi-numerics numerical modeling and simulation of multi-component and multi-phase fluid flow in porous media) is designed, equipped with the following six pronounced features, to better digitally model and simulate the engineering processes and procedures in physical reality and further control and optimize such processes and procedures:
1. Efficient and reliable flash calculation: An accurate estimation on the phase equilibrium conditions is essentially needed prior to multi-phase flow and transport simulation for multi-component fluid mixtures in complex porous geometry and thermodynamic conditions. A remarkable progress was recognized in 2018, when a thermodynamically stable multi-phase equilibrium calculation algorithm of hydrocarbon mix- tures based on realistic equation of state (e.g., Peng-Robinson Equation of State) at specified moles, volume and temperature (NVT-flash) was generated and proposed (Kou and Sun, 2018a, 2018b; Sun, 2019). Robustness of this algorithm is preserved by proved consistency with the first and second laws of thermodynamics and capillarity can be incorporated in this algorithm to extend the application into unconventional reservoirs (e.g., shale gas reservoirs and tight oil reservoirs) and carbon dioxide sequestration (with cubic-plus-association type of equation of states) (Zhang et al., 2019a, 2019b; Li et al., 2020). Sparse grids method and parallel computing techniques have been involved in further studies to accelerate the phase equilibrium estimation on parallel computers (Wu et al., 2015a). Recently, deep learning algorithms have been successfully developed to significantly speed up the multi-component flash calculations in complex thermodynamic conditions at the same time of ensuring stability and self-adaptivity (Li et al., 2019a, 2019b; Zhang et al., 2019c, 2020a).
2. Advanced phase interface modeling: In multiphase flow simulation in porous media, modeling of the thin interface, usually in nanoscale thickness, is recognized as the key issue in order to simulate macroscale fluid behaviors containing the formation and motion of interphase. The multi-component multi-phase flow can be investigated using a diffuse interface model based on realistic equations of state (typically Peng-Robinson equation of state), and bulk phase properties as well as interfacial properties could be modeled accurately and efficiently, where partial immiscibility can be considered to cover more engineering applications like carbon dioxide in oil (Qiao and Sun, 2014; Kou et al., 2018). Based on that, a new momentum balance equation was proposed in Kou and Sun (2018c) to identify the correlation associating the gradients of temperature and chemical potential and the pressure gradient, which further indicates that the gradient of the temperature and chemical potential has been found as the primary driving force of the macroscale fluid motions. Later, phase field modeling was incorporated with the moving contact line method to study the motion of soluble surfactants using two Chan-Hilliard type of equations, which are designed to govern the surfactant concentration and interface evolution respectively (Zhu et al., 2019). Recently, a semi-implicit scheme was proposed in Kou et al. (2020) to generate for the first time a scheme that inherits the original energy dissipation law, using a delicate novel energy factorization (EF) approach to factorize an energy function into a product of several factors. Application of phase field modeling has been extended to a wider range in the whole process of petroleum engineering. An exploratory phase-field model was presented in Zhang et al. (2020b) to simulate the multiphase flow in injection pipeline investigating the effect of injection salinity on pipeline scaling.
3. Fully conservative bound-preserving Darcys scale flow simulation: Fully mass-conservative (both globally and locally, for wetting phase and non-wetting phase) IMPES (IMplicit Pressure Explicit Saturation) schemes for the simulation of incompressible and immiscible two-phase flow in porous media were generated in (Chen et al., 2019), which deserves a merit that a new treatment of capillarity was introduced and the unbiased and the bound-preserving property can provide a much larger time step choice. Furthermore, a nonlinear complementarity problem was reformulated and the resultant non-smooth nonlinear system of equations arising at each time step are solved fully implicitly by a parallel, scalable, and nonlinearly preconditioned semi-smooth Newton algorithm (Yang et al., 2019a). Later, a new scheme containing up to three continuity equations were generated in Yang et al. (2020) so that mass conservation holds for all present phases. By using a variational inequality formulation with box inequality constraints, boundedness requirement on pressure and saturations can be preserved well and then the problem is solved using a well-designed nonlinear solver consisting of the nonlinear elimination preconditioning technique and active-set reduced-space method.
4. Reactive flow and transport in porous media: Reactive dissolution of carbonates by the action of the injected acid, also known as wormhole propagation, is a widely practiced technique in the product enhancement of petroleum industry. A semi-analytic scheme was proposed with a reconstruction of analytical porosity functions to analyze the time error of the porosity, and a coupled analysis approach was employed to achieve the estimates of pressure, velocity and solute concentration on the basis of porosity error estimation (Wu et al., 2015b; Kou et al., 2019). Meanwhile, various primal discontinuous Galerkin schemes, including NIPG, SIPG and IIPG have been investigated deeply for solving multi-component reactive transport and coupled with multiphase flow simulation in porous media (Sun and Wheeler, 2005, 2006).
5. Molecular simulation of microscopic mechanisms: As an effective approach to investigate the microscopic mechanisms affecting macroscopic flow and transport behaviors as well as to obtain the value of key parameters in numerical modeling, molecular simulation has attracted increasing attentions. The diffusion and sorption behaviors of carbon dioxide and methane as well as the structural features were studied using molecular dynamics and hybrid Monte Carlo approaches (Kadoura et al., 2017; Yang et al., 2017a, 2019b). The intercalation behavior of carbon dioxide in various brines were studied using grand canonical Monte Carlo methods to study the molecular mechanisms indicating that the intercalation of carbon dioxide strongly depends on the relative humidity (Li et al., 2019c).
6. High-performance computation based on fully-Implicit and bound-preserving algorithms: Bound-preserving discretization and solvers for subsurface flow models based on a fully implicit framework is the future of parallel reservoir simulation (Yang et al., 2019a, 2020). A family of mixed finite element methods have been used to discretize various model equations in porous media flow for the spatial terms, and the implicit backward Euler scheme with adaptive time stepping for the temporal integration. The resultant nonlinear system arising at each time step was then solved in a monolithic way by using a Newton–Krylov type method, where the resultant nonlinear system was solved by a generalized Newton method, i.e., active-set reduced-space method, and then the ill-conditioned linear Jacobian systems were solved with an effective preconditioned Krylov subspace method. The used nonlinear preconditioner was built by applying overlapping additive Schwarz type domain decomposition and nonlinear elimination. Numerical results on parallel computers indicated that the nonlinear solver overcomes the severe limits on the time step associated with conventional methods, and it results in superior convergence performance, often reducing the total computing time by more than one order of magnitude (Yang et al., 2016, 2017b, 2018).
Cited as: Sun, S., Zhang, T. A 6M digital twin for modeling and simulation in subsurface reservoirs. Advances in Geo-Energy Research, 2020, 4(4): 349-351, doi: 10.46690/ager.2020.04.01
References Chen, H., Kou, J., Sun, S., et al. Fully mass-conservative IMPES schemes for incompressible two-phase flow in porous media. Comput. Meth. Appl. Mech. Eng. 2019,350: 641-663. Kadoura, A.S., Nair, A.K., Sun, S., et al. Molecular simulation study of montmorillonite in contact with variably wet supercritical carbon dioxide. J. Phys. Chem. C 2017,121(11): 6199-6208. Kou, J., Sun, S. A stable algorithm for calculating phase equilibria with capillarity at specified moles, volume and temperature using a dynamic model. Fluid Phase Equilib.2018a, 456: 7-24. Kou, J., Sun, S. Entropy stable modeling of non-isothermal multi-component diffuse-interface two-phase flows with realistic equations of state.Comput. Meth. Appl. Mech.Eng. 2018b, 34: 221-248. Kou, J., Sun, S. Thermodynamically consistent modeling and simulation of multi-component two-phase flow with partial miscibility. Comput.Meth. Appl. Mech. Eng.2018c, 331: 623-649. Kou, J., Sun, S., Wang, X. Linearly decoupled energy-stable numerical methods for multi-component two-phase compressible flow. SIAM J. Numer. Anal. 2018, 56(6):3219-3248. Kou, J., Sun, S., Wang, X. A novel energy factorization approach for the diffuse-interface model with peng–robinson equation of state. SIAM J.Sci. Comput. 2020,42(1): B30-B56. Kou, J., Sun, S., Wu, Y. A semi-analytic porosity evolution scheme for simulating wormhole propagation with the Darcy-Brinkman-Forchheimer model. J. Comput. Appl.Math. 2019, 348: 401-420. Li, Y., Nair, A.K., Kadoura, A.S., et al. Molecular simulation study of montmorillonite in contact with water. Ind. Eng.Chem. Res. 2019a, 58(3): 1396-1403. Li, Y., Qiao, Z., Sun, S., et al. Thermodynamic modeling of CO2 solubility in saline water using NVT flash with the cubic-Plus association equation of state. Fluid Phase Equilib. 2020, 520(1): 112657. Li, Y., Zhang, T., Sun, S. Acceleration of the NVT flash calculation for multicomponent mixtures using deep neural network models. Ind. Eng. Chem. Res. 2019b,58(27): 12312-12322. Li, Y., Zhang, T., Sun, S., et al. Accelerating flash calculation through deep learning methods. J. Comput. Phys. 2019c,394: 153-165. Qiao, Z., Sun, S. Two-phase fluid simulation using a diffuse interface model with Peng-Robinson equation of state.SIAM J. Sci. Comput. 2014, 36(4): B708-B728. Sun, S. Darcy-scale phase equilibrium modeling with gravityand capillarity. J. Comput. Phys. 2019, 399: 108908. Sun, S., Wheeler, M.F. Discontinuous Galerkin methods for coupled flow and reactive transport problems. Appl.Numer. Math. 2005, 52(2): 273-298. Sun, S., Wheeler, M.F. Anisotropic and dynamic mesh adaptation for discontinuous Galerkin methods applied to reactive transport. Comput. Meth. Appl. Mech. Eng.2006, 195(25): 3382-3405. Wu, Y., Kowitz, C., Sun, S., et al. Speeding up the flash calculations in two-phase compositional flow simulations-The application of sparse grids. J. Comput. Phys. 2015a,285: 88-99. Wu, Y., Salama, A., Sun, S. Parallel simulation of wormhole propagation with the Darcy-Brinkman-Forchheimer framework. Comput. Geotech. 2015b, 69: 564-577. Yang, H., Li, Y., Sun, S. Nonlinearly preconditioned constraint-preserving algorithms for subsurface three-phase flow with capillarity. Comput. Meth. Appl. Mech.Eng. 2020, 367: 113140 Yang, H., Sun, S., Li, Y., et al. A scalable fully implicit framework for reservoir simulation on parallel computers.Comput. Meth.Appl. Mech. Eng. 2018, 330: 334-350. Yang, H., Sun, S., Li, Y., et al. A fully implicit constraint-preserving simulator for the black oil model of petroleum reservoirs. J. Comput. Phys. 2019a, 396: 347-363. Yang, H., Sun, S., Yang, C. Nonlinearly preconditioned semismooth Newton methods for variational inequality solution of two-phase flow in porous media. J. Comput.Phys. 2017a, 332: 1-20. Yang, H., Yang, C., Sun, S. Active-set reduced-space methods with nonlinear elimination for two-phase flow problems in porous media. SIAM J. Sci. Comput. 2016, 38(4):B593B618. Yang, Y., Nair, A.K., Sun, S., et al. Adsorption and diffusion of methane and carbon dioxide in amorphous regions of cross-linked polyethylene: a molecular simulation study.Ind. Eng. Chem. Res. 2019b, 58(19): 8426-8436. Yang, Y., Nair, A.K., Sun, S. Molecular dynamics simulation study of carbon dioxide, methane, and their mixture in the presence of brine. J. Phys. Chem. B 2017b, 121(41):9688-9698. Zhang, T., Li, Y., Cai, J., et al. Recent progress on phase equilibrium calculation in subsurface reservoirs using diffuse interface models, in Computational and Experimental Simulations in Engineering, edited by H.Okada and S. Atluri, Springer, Cham, pp. 969-982, 2019a. Zhang, T., Li, Y., Li, C., et al. Effect of salinity on oil production: review on low salinity waterflooding mechanisms and exploratory study on pipeline scaling.Oil Gas Sci. Technol. 2020a, 75: 50. Zhang, T., Li, Y., Li, Y., et al. A self-adaptive deep learning algorithm for accelerating multi-component flash calculation. Comput. Meth. Appl. Mech. Eng. 2020b,369: 113207. Zhang, T., Li, Y., Sun, S. Accelerated phase equilibrium predictions for subsurface reservoirs using deep learning methods, in Computational Science-ICCS 2019, edited by J. Rodrigues, P. Cardoso and J. Monteiro, et al., Springer,Cham, pp. 623-632, 2019b. Zhang, T., Li, Y., Sun, S. Phase equilibrium calculations in shale gas reservoirs. Capillarity 2019c, 2(1): 8-16. Zhu, G., Kou, J., Yao, B., et al. Thermodynamically consistent modelling of two-phase flows with moving contact line and soluble surfactants. J. Fluid Mech. 2019, 879: 327-359.