Abstract
High-order discretizations have become increasingly popular across a wide range of applications, including reservoir simulation. However, the lack of stability and robustness of these discretizations for advection-dominant problems prevent them from being widely adopted. This paper presents work towards improving the stability and robustness of the discontinuous Galerkin (DG) finite element scheme, for advection-dominant two-phase flow problems in particular. A linearized analysis of the two-phase flow equations is used to show that a standard DG discretization of the two-phase flow equations in mass conservation form results in a neutrally stable semi-discrete system in the advection-dominant limit. Furthermore, the analysis is also used to propose additional terms to the DG method which linearly stabilize the discretization. These additional terms are derived by comparing the linearized equations in mass conservation form against an upwinded pressure-saturation form of the equations. Next, a partial differential equation-based artificial viscosity method is proposed for the Buckley-Leverett and two-phase flow equations, as a means of mitigating Gibbs oscillations in high-order discretizations and ensuring convergence to physical solutions. The modified DG method with artificial viscosity is demonstrated on a two-phase flow problem with heterogeneous rock permeabilities, where the high-order discretizations significantly outperform a conventional first-order approach in terms of computational cost required to achieve a given level of error in an output of interest.
Similar content being viewed by others
References
Aziz, K., Settari, A.: Petroleum reservoir simulation. Elsevier, New York (1979)
Eymard, R., Gallouet, T., Herbin, R.: Finite volume methods. In: Solution of Equation in \(\mathbb {R}^n\) (Part 3), Techniques of Scientific Computing (Part 3), Handbook of Numerical Analysis, vol 7, Elsevier, pp 713–1018 (2000)
Peaceman, D.W.: Fundamentals of numerical reservoir simulation. Elsevier, New York (1977)
Wang, Z.J., Fidkowski, K., Abgrall, R., Bassi, F., Caraeni, D., Cary, A., Deconinck, H., Hartmann, R., Hillewaert, K., Huynh, H.T., Kroll, N., May, G., Persson, P-O, van Leer, B., Visbal, M.: High-order CFD methods: current status and perspective. Int. J. Numer. Methods Fluids 72(8), 811–845 (2013)
Edwards, M.G., Rogers, C.F.: Finite volume discretization with imposed flux continuity for the general tensor pressure equation. Comput. Geosci. 2(4), 259–290 (1998)
Aavatsmark, I.: An Introduction to Multipoint Flux Approximations for Quadrilateral Grids. Comput. Geosci. 6(3), 405–432 (2002)
Wheeler, M.F., Yotov, I.: A Multipoint Flux Mixed Finite Element Method. SIAM J. Numer. Anal. 44(5), 2082–2106 (2006)
Aavatsmark, I., Eigestad, G.T., Heimsund, B.-O., Mallison, B., Nordbotten, J.M., Øian, E: A New Finite-Volume Approach to Efficient Discretization on Challenging Grids. SPE J. 15(3), 658–669 (2010)
Wolff, M., Cao, Y., Flemisch, B., Helmig, R., Wohlmuth, B.: Multipoint flux approximation L-method in 3D: numerical convergence and application to two-phase flow through porous media, pp 39–80. De Gruyter, Berlin (2013)
Riviére, B, Wheeler, M.F., Banaś, K: Part II. Discontinuous Galerkin method applied to a single phase flow in porous media. CGC 4, 337–349 (2000)
Riviére, B, Wheeler, M.F.: Discontinuous Galerkin methods for flow and transport problems in porous media. CNME 18(1), 63–68 (2002)
Li, J., Riviere, B.: High order discontinuous Galerkin method for simulating miscible flooding in porous media. Comput. Geosci. 19(6), 1251–1268 (2015)
Riviére, B: Numerical study of a discontinuous Galerkin method for incompressible two-phase flow. In: ECCOMAS Proceedings. Finland (2004)
Epshteyn, Y., Riviére, B: On the solution of incompressible two-phase flow by a p-version discontinuous Galerkin method. CNME 22(7), 741–751 (2006)
Klieber, W., Riviére, B: Adaptive simulations of two-phase flow by discontinuous galerkin methods. CMAME 196(1-3), 404–419 (2006)
Epshteyn, Y., Riviére, B: Fully implicit discontinuous finite element methods for two-phase flow. ANM 57(4), 383–401 (2007)
Arbogast, T., Juntunen, M., Pool, J., Wheeler, M.F.: A discontinuous Galerkin method for two-phase flow in a porous medium enforcing H(div) velocity and continuous capillary pressure. Comput. Geosci. 17(6), 1055–1078 (2013)
Bastian, P.: A fully-coupled discontinuous Galerkin method for two-phase flow in porous media with discontinuous capillary pressure. Comput. Geosci. 18(5), 779–796 (2014)
Jayasinghe, S., Darmofal, D.L., Burgess, N.K., Galbraith, M.C., Allmaras, S.R.: A space-time adaptive method for reservoir flows: formulation and one-dimensional application. Comput. Geosci. 22 (1), 107–123 (2018)
Moortgat, J., Firoozabadi, A.: Higher-order compositional modeling of three-phase flow in 3d fractured porous media based on cross-flow equilibrium. J. Comput. Phys. 250, 425–445 (2013)
Rankin, R., Riviere, B.: A high order method for solving the black-oil problem in porous media. Adv. Water Resour. 78, 126–144 (2015)
Jiang, J., Younis, R.M.: Efficient C1-continuous phase-potential upwind (C1-PPU) schemes for coupled multiphase flow and transport with gravity. Adv. Water Resour. 108, 184–204 (2017)
Jayasinghe, S.: A Space-time Adaptive Method for Flows in Oil Reservoirs, Master’s thesis. Department of Aeronautics and Astronautics (2015)
Cockburn, B., Shu, C.W.: TVB Runge-Kutta local projection discontinuous Galerkin finite element method for scalar conservation laws II: General framework. MC 52, 411–435 (1989)
Cockburn, B., Lin, S.Y., Shu, C.W.: TVB Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws III: One dimensional systems. JCP 84, 90–113 (1989)
Cockburn, B., Hou, S., Shu, C.W.: TVB Runge-Kutta local projection discontinuous Galerkin finite element method for conservation laws IV: The multidimensional case. MC 54, 545–581 (1990)
Cockburn, B., Shu, C.W.: The Runge-Kutta discontinuous Galerkin finite element method for conservation laws V: Multidimensional systems. JCP 141, 199–224 (1998)
Chavent, G., Cohen, G., Jaffre, J., Eyard, R., Guerillot, D.R., Weill, L.: Discontinuous and Mixed Finite Elements for Two-Phase Incompressible Flow. Society of Petroleum Engineers 5(4), 567–575 (1990)
Nayagum, D., Schäfer, G, Mosé, R: Modelling two-phase incompressible flow in porous media using mixed hybrid and discontinuous finite elements. Comput. Geosci. 8(1), 49–73 (2004)
Hoteit, H., Firoozabadi, A.: Numerical modeling of two-phase flow in heterogeneous permeable media with different capillarity pressures. Adv. Water Resour 31(1), 56–73 (2008)
Hoteit, H., Firoozabadi, A.: Compositional Modeling by the Combined Discontinuous Galerkin and Mixed Methods. Society of Petroleum Engineers 11(1), 19–34 (2006)
Venkatakrishnan, V.: Convergence to steady state solutions of the euler equations on unstructured grids with limiters. J. Comput. Phys. 118(1), 120–130 (1995)
Johnson, C., Szepessy, A., Hansbo, P.: On the convergence of shock-capturing streamline diffusion finite element methods for hyperbolic conservation laws. MC 54(189), 107–129 (1990)
Bassi, F., Rebay, S.: Accurate 2d euler computations by means of a high order discontinuous finite element method. In: Deshpande, SM, Desai, SS, Narasimha, R (eds.) Fourteenth International Conference on Numerical Methods in Fluid Dynamics: Proceedings of the Conference Held in Bangalore, India, 11–15 July 1994, pp 234–240, Springer Berlin Heidelberg, Berlin, Heidelberg (1995)
Hartmann, R., Houston, P.: Adaptive discontinuous Galerkin finite element methods for the compressible Euler equations. JCP 183(2), 508–532 (2002)
Sesini, P.A., Souza, D.A.F., Coutinho, A.L.G.A.: Finite element simulation of viscous fingering in miscible displacements at high mobility-ratios. Journal of the Brazilian Society of Mechanical Sciences and Engineering 32, 292–299 (2010) (en)
Sesini, P.A., Coutinho, A.L.G.A.: Stabilized Finite Element Methods for Three-phase Porous Media Flows. Mecánica Computacional XXIX, 8753–8765 (2010)
Guermond, J-L, Pasquetti, R., Popov, B.: Entropy viscosity method for nonlinear conservation laws. JCP 230, 4248–4267 (2011)
Jiang, J., Tchelepi, H.A.: Dissipation-based continuation method for multiphase flow in heterogeneous porous media. J. Comput. Phys. 375, 307–336 (2018)
Persson, P-O, Peraire, J.: Sub-cell shock capturing for discontinuous Galerkin methods. AIAA 2006-0112 (2006)
Moro, D., Nguyen, N.C., Peraire, J.: Navier-Stokes solutions using hybridizable discontinuous Galerkin methods. AIAA 2011-3407 (2011)
Barter, G.E., Darmofal, D.L.: Shock capturing with higher-order, PDE-based artificial viscosity. AIAA 2007-3823 (2007)
Bassi, F., Rebay, S.: GMRES discontinuous Galerkin solution of the compressible Navier-Stokes equations. In: Cockburn, K, Shu (eds.) Discontinuous Galerkin Methods: Theory, Computation and Applications, Springer, pp 197–208, Berlin (2000)
Bassi, F., Rebay, S.: Numerical evaluation of two discontinuous Galerkin methods for the compressible Navier-Stokes equations. IJ_NMF 40, 197–207 (2002)
Hartmann, R.: Numerical Analysis of Higher Order Discontinuous Galerkin Finite Element Methods. In: Deconinck, H (ed.) VKI LS 2008-08: CFD/ADIGMA course on very high order discretization methods, Von Karman Institute for Fluid Dynamics (2008)
Bassi, F., Crivellini, A., Rebay, S., Savini, M.: Discontinuous Galerkin solution of the Reynolds averaged Navier-Stokes and k-ω turbulence model equations. CF 34, 507–540 (2005)
Oliver, T.A.: A higher-order, adaptive, discontinuous Galerkin finite element method for the Reynolds-averaged Navier-Stokes equations. PhD thesis, Department of Aeronautics and Astronautics (2008)
Oliver, T., Darmofal, D.: Analysis of dual consistency for discontinuous Galerkin discretizations of source terms. SIAM_JNA 47(5), 3507–3525 (2009)
Davis, T.A.: Algorithm 832: UMFPACK V4.3 - An unsymmetric-pattern multifrontal method. ACM Transactions on mathematical software 30(2), 196–199 (2004)
Cockburn, B., Shu, C.W.: The local discontinuous Galerkin method for time-dependent convection-diffusion systems. SIAM_JNA 35(6), 2440–2463 (1998)
Peraire, J., Persson, P-O: The compact discontinuous Galerkin (CDG) method for elliptic problems. SIAM_JSC 30(4), 1806–1824 (2008)
LeVeque, R.J.: Numerical Methods for Conservation Laws. Lectures in Mathematics ETH Zürich, Department of Mathematics Research Institute of Mathematics. Birkhäuser Basel, Switzerland (1992). https://books.google.com/books?id=3WhqLPcMdPsC
Yano, M.: An optimization framework for adaptive higher-order discretizations of partial differential equations on anisotropic simplex meshes. PhD thesis, Department of Aeronautics and Astronautics (2012)
Jayasinghe, S.: An Adaptive Space-Time Discontinuous Galerkin Method for Reservoir Flows. PhD thesis, Department of Aeronautics and Astronautics (2018)
Jayasinghe, S., Darmofal, D.L., Dow, E., Galbraith, M.C., Allmaras, S.R.: A Discretization-Independent Distributed Well Model. SPE J. 24(6), 2946–2967 (2019)
Funding
This research was supported through a Research Agreement with Saudi Aramco, a Founding Member of the MIT Energy Initiative (http://mitei.mit.edu/), with technical monitors Dr. Ali Dogru and Dr. Eric Dow.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
Appendix 1: Discrete linearized analysis
Consider the following discontinuous Galerkin weak form for the incompressible two-phase flow equations in Eqs. 1 and 2, with additional stabilization terms gw and gn that are yet to be determined. For simplicity, boundary conditions are ignored as the goal is the development of an upwinded interior discretization. The DG method seeks a discrete solution \(\mathbf {u}_{h,p} = [p_{n}, S_{w}] \in \mathcal {V}_{h,p}\) that satisfies:
All of the spatial flux terms in 69 and 70, except for the gw and gn terms, are obtained by expanding the BR2 operator given in Eq. 14 for the wetting and non-wetting equations separately. The lifting operators for the primary variables pn and Sw are represented by \(\vec {r}_{p}\) and \(\vec {r}_{S}\) respectively.
The DG weak form given by 69 and 70 is then linearized about some base pressure distribution \(\bar {p}_{n}(\vec {x},t)\) and a constant saturation value \(\bar {S}_{w}\), yielding the linearized weak form of the incompressible two-phase flow equations,
and,
where it is assumed that \(\llbracket \bar {p}_{n} \rrbracket = \llbracket \bar {S}_{w} \rrbracket = 0\), and therefore \(\vec {\bar {r}}_{p}(\llbracket \bar {p}_{n} \rrbracket ) = \vec {\bar {r}}_{S}(\llbracket \bar {S}_{w} \rrbracket ) = 0\).
Taking the weighted sum of the linearized weak form equations, ρn ×(Eq. 71) + ρw × (Eq. 72), produces the discrete weak form of the “pressure” equation:
Similarly, the weighted difference of the linearized weak form equations, \(\rho _{n} \bar {\lambda }_{n} \times \text {(Eq.~71)} - \rho _{w} \bar {\lambda }_{w} \times \text {(Eq.~72)}\), produces the discrete weak form of the “saturation” equation,
Appendix 2: Stability of linear ordinary differential equations
Consider the following system of linear ordinary differential equations (ODEs):
where \(\mathbf {u}(t) \in \mathbb {R}^{m}\) is the solution vector, \(\mathbf {M} \in \mathbb {R}^{m \times m}\) and \(\mathbf {A} \in \mathbb {R}^{m \times m}\) are constant matrices, and \(\mathbf {b}(t) \in \mathbb {R}^{m}\) is a forcing vector. Substituting a perturbed solution \(\tilde {\mathbf {u}}(t) = \mathbf {u}(t) + \mathbf {u}^{\prime }(t)\) into the equation above and simplifying shows that the perturbations need to satisfy the following homogeneous equation:
Solving this system of linear ODEs shows that the evolution of the perturbations, \(\mathbf {u}^{\prime }(t)\), is given by:
where ωi and \(\hat {\mathbf {u}}^{\prime }_{i}\) are the generalized eigenvalues and eigenvectors, respectively, of the following generalized eigenvalue problem:
It is easy to see from Eq. 77 that all generalized eigenvalues ωi need to have negative real components for the solution perturbations to decay over time. In other words, the system of linear ODEs is stable only if Re(ωi) < 0, for i = 1 to m.
Rights and permissions
About this article
Cite this article
Jayasinghe, S., Darmofal, D.L., Allmaras, S.R. et al. Upwinding and artificial viscosity for robust discontinuous Galerkin schemes of two-phase flow in mass conservation form. Comput Geosci 25, 191–214 (2021). https://doi.org/10.1007/s10596-020-09999-6
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10596-020-09999-6