a discontinuous galerkin method for computing flow in
play

A Discontinuous Galerkin Method for Computing Flow in Porous Media - PowerPoint PPT Presentation

Outline Motivation A Discontinuous Galerkin Method for Computing Flow in Porous Media J. R. Natvig K.-A. Lie B. Eikemo I. Berre H. K. Dahle G. T. Eigestad SINTEF , Department of Applied Mathematics Department of


  1. Outline Motivation A Discontinuous Galerkin Method for Computing Flow in Porous Media J. R. Natvig † K.-A. Lie † B. Eikemo ‡ I. Berre ‡ H. K. Dahle ‡ G. T. Eigestad ‡ † SINTEF , Department of Applied Mathematics ‡ Department of Mathematics, University of Bergen Stuttgart, November 24 2005 Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  2. Outline Motivation Outline The Time-Of-Flight Equation 1 The Discontinuous Galerkin Method 2 The Discontinuous Galerkin Space Discretisation Reordering Numerical Results Tracer Flow 3 Stationary Distribution of Tracers Numerical results Multiphase Flow 4 Implicit DG Solution Numerical Results Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  3. Outline Motivation Motivation Aim: Construct a fast method to compute flow in porous media Method: Discontinuous Galerkin Method (DGM) reservoir flow groundwater flow Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  4. The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Time-Of-Flight Equation Fluids flow with velocity v obtained from Darcy‘s law, v = − K µ ∇ p The time-of-flight of a particle along a streamline, Ψ : � ds T ( x ) = | v ( x ( s )) | Ψ The time-of-flight is the solution of a boundary value problem: T = 0 on Γ + v ( x ) · ∇ T = 1 , Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  5. The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Time-Of-Flight Equation Fluids flow with velocity v obtained from Darcy‘s law, v = − K µ ∇ p The time-of-flight of a particle along a streamline, Ψ : x Ψ � ds T ( x ) = Γ + | v ( x ( s )) | Ψ The time-of-flight is the solution of a boundary value problem: T = 0 on Γ + v ( x ) · ∇ T = 1 , Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  6. The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Time-Of-Flight Equation Fluids flow with velocity v obtained from Darcy‘s law, v = − K µ ∇ p The time-of-flight of a particle along a streamline, Ψ : x Ψ � ds T ( x ) = Γ + | v ( x ( s )) | Ψ The time-of-flight is the solution of a boundary value problem: T = 0 on Γ + v ( x ) · ∇ T = 1 , Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  7. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Solution Space Ω Space for approximate solution T h : K V ( n ) = { ϕ : ϕ | K ∈ Q ( n − 1 ) } , h where Q n = span { x p y q : 0 ≤ p , q ≤ n } No continuity across inter-element boundaries T T v K > 0 K ∼ 0 x x x DGM SFEM Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  8. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Variational Formulation For all elements K , and for all ϕ ∈ C ∞ ( K ) : v · ∇ T = 1 Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  9. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Variational Formulation For all elements K , and for all ϕ ∈ C ∞ ( K ) : v · ∇ T ϕ = 1 ϕ Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  10. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Variational Formulation For all elements K , and for all ϕ ∈ C ∞ ( K ) : � � v · ∇ T ϕ dxdy = ϕ dxdy K K Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  11. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Variational Formulation For all elements K , and for all ϕ ∈ C ∞ ( K ) : � � � T ϕ v · n K ds − T v · ∇ ϕ dxdy = ϕ dxdy ∂ K K K Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  12. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Variational Formulation For all elements K , and for all ϕ h ∈ V h : � � � T h ϕ h v · n K ds − T h v · ∇ ϕ h dxdy = ϕ h dxdy ∂ K K K Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  13. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Variational Formulation For all elements K , and for all ϕ h ∈ V h : � � � ˆ f ( T h , T ext h , v · n K ) ϕ h ds − T h v · ∇ ϕ h dxdy = ϕ h dxdy ∂ K K K Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  14. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Numerical Flux Function n The numerical flux function K depends only on the values of T h at the discontinuities v The numerical flux function: ˆ f ( T h , T ext h , v · n K ) = T h max ( v · n K , 0 ) + T ext min ( v · n K , 0 ) h Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  15. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Solution Procedure � � � ˆ f ( T h , T ext h , v · n K ) ϕ h ds − T h v · ∇ ϕ h dxdy = ϕ h dxdy ∂ K K K F K ( T ) − R K T K = B K Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  16. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Solution Procedure The upwind flux can be written F K ( T ) = F + K T K + F − K T Ω \ K , where F + K approximates the flux out of each element and F − K the flux entering from neighbour elements The system may then be written as F + F − K T K − R K T K = B K − K T Ω \ K Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  17. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Reordering An elementwise solution is possible by exploiting the causality of the equation This sequence can be computed before solving the resulting system (using a depth-first search) Reduction in runtime: Nm × Nm system − → N systems of size m × m Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  18. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Elementwise solution A few grid cells and streamlines... Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  19. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Elementwise solution and the corresponding fluxes A few grid cells and streamlines... and a possible sequence of operations Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  20. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary L 2 -errors and convergence rates Ex: Linear rotation, v = ( y , − x ) : Table: L 2 -errors and the convergence rates in a smooth domain. N 1. order 2. order 3. order 4. order 10 3.36e-03 3.13e-05 1.74e-07 2.77e-09 20 1.52e-03 1.15 7.42e-06 2.08 2.24e-08 2.96 1.45e-10 4.25 40 8.01e-04 0.92 1.95e-06 1.93 2.90e-09 2.95 9.58e-12 3.92 80 4.14e-04 0.95 5.02e-07 1.96 3.69e-10 2.97 6.22e-13 3.94 160 2.05e-04 1.01 1.25e-07 2.01 4.60e-11 3.01 3.84e-14 4.02 320 1.02e-04 1.01 3.10e-08 2.01 5.73e-12 3.00 2.39e-15 4.01 Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  21. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Top Layer in SPE 10 n = 1 Comparison of DGM with a reference solution Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

  22. The Time-Of-Flight Equation The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Tracer Flow Reordering Multiphase Flow Numerical Results Summary Top Layer in SPE 10 n = 2 Comparison of DGM with a reference solution Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend