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

a discontinuous galerkin method for computing flow in
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 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

slide-2
SLIDE 2

Outline Motivation

Outline

1

The Time-Of-Flight Equation

2

The Discontinuous Galerkin Method The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

3

Tracer Flow Stationary Distribution of Tracers Numerical results

4

Multiphase Flow Implicit DG Solution Numerical Results

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-3
SLIDE 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

slide-4
SLIDE 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, Ψ: T(x) =

  • Ψ

ds |v(x(s))| The time-of-flight is the solution of a boundary value problem: v(x) · ∇T = 1, T = 0 on Γ+

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-5
SLIDE 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, Ψ: T(x) =

  • Ψ

ds |v(x(s))|

Ψ Γ+ x

The time-of-flight is the solution of a boundary value problem: v(x) · ∇T = 1, T = 0 on Γ+

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-6
SLIDE 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, Ψ: T(x) =

  • Ψ

ds |v(x(s))|

Ψ Γ+ x

The time-of-flight is the solution of a boundary value problem: v(x) · ∇T = 1, T = 0 on Γ+

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-7
SLIDE 7

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Solution Space

Space for approximate solution Th: V (n)

h

= {ϕ : ϕ|K ∈ Q(n−1)}, where Qn = span{xpyq : 0 ≤ p, q ≤ n} Ω K No continuity across inter-element boundaries

v x x x T T DGM SFEM K ∼ 0 K > 0 Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-8
SLIDE 8

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Variational Formulation

For all elements K, and for all ϕ ∈ C∞(K): v · ∇T = 1

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-9
SLIDE 9

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Variational Formulation

For all elements K, and for all ϕ ∈ C∞(K): v · ∇Tϕ = 1ϕ

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-10
SLIDE 10

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Variational Formulation

For all elements K, and for all ϕ ∈ C∞(K):

  • K

v · ∇Tϕ dxdy =

  • K

ϕ dxdy

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-11
SLIDE 11

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Variational Formulation

For all elements K, and for all ϕ ∈ C∞(K):

  • ∂K

T ϕ v · nKds −

  • K

T v · ∇ϕ dxdy =

  • K

ϕ dxdy

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-12
SLIDE 12

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Variational Formulation

For all elements K, and for all ϕh ∈ Vh:

  • ∂K

T hϕhv · nKds −

  • K

T hv · ∇ϕh dxdy =

  • K

ϕh dxdy

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-13
SLIDE 13

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Variational Formulation

For all elements K, and for all ϕh ∈ Vh:

  • ∂K

ˆ f(Th, T ext

h , v · nK)ϕhds −

  • K

T hv · ∇ϕh dxdy =

  • K

ϕh dxdy

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-14
SLIDE 14

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Numerical Flux Function

The numerical flux function depends only on the values of Th at the discontinuities K v

n

The numerical flux function: ˆ f(Th, T ext

h , v · nK) = Th max(v · nK, 0) + T ext h

min(v · nK, 0)

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-15
SLIDE 15

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Solution Procedure

  • ∂K

ˆ f(Th, T ext

h , v · nK)ϕhds −

  • K

Thv · ∇ϕhdxdy =

  • K

ϕhdxdy FK(T) − RKTK = BK

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-16
SLIDE 16

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Solution Procedure

The upwind flux can be written FK(T) = F +

K TK + 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 +

K TK

− RKTK = BK − F −

K TΩ\K

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-17
SLIDE 17

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

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

slide-18
SLIDE 18

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Elementwise solution

A few grid cells and streamlines...

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-19
SLIDE 19

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Elementwise solution

A few grid cells and streamlines... and the corresponding fluxes and a possible sequence of

  • perations

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-20
SLIDE 20

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

L2-errors and convergence rates

Ex: Linear rotation, v = (y, −x):

Table: L2-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

slide-21
SLIDE 21

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Top Layer in SPE 10

n = 1

Comparison of DGM with a reference solution

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-22
SLIDE 22

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Top Layer in SPE 10

n = 2

Comparison of DGM with a reference solution

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-23
SLIDE 23

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Top Layer in SPE 10

n = 3

Comparison of DGM with a reference solution

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-24
SLIDE 24

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Top Layer in SPE 10

n = 4

Comparison of DGM with a reference solution

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-25
SLIDE 25

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Flow Around Strong Discontinuities

n = 1

TOF using DGM Reference solution

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-26
SLIDE 26

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Flow Around Strong Discontinuities

n = 2

TOF using DGM Reference solution

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-27
SLIDE 27

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary The Discontinuous Galerkin Space Discretisation Reordering Numerical Results

Flow Around Strong Discontinuities

n = 3

TOF using DGM Reference solution

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-28
SLIDE 28

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

Tracer Flow

Linear transport equation: ∂tc + ∇ · (vc) = 0

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-29
SLIDE 29

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

Tracer Flow

Stationary distribution of tracers: ∇ · (vc) = 0

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-30
SLIDE 30

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

Tracer Flow

Stationary distribution of tracers: c∇ · v + v · ∇c = 0

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-31
SLIDE 31

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

Tracer Flow

Stationary distribution of tracers: v · ∇c = 0

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-32
SLIDE 32

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

Tracer Flow

Stationary distribution of tracers: v · ∇c = 0 Time-of-flight equation: v · ∇T = 1

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-33
SLIDE 33

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

Tracer Flow

Stationary distribution of tracers: v · ∇c = 0 The linear equations for element K are F +

K Ci,K − RKCi,K = −F − K Ci,Ω\K,

i = 1, ..., n

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-34
SLIDE 34

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

Top layer in SPE 10

Comparison of the approximate tracer distribution using 1. and 5. order DGM

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-35
SLIDE 35

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

Top layer in SPE 10

Order 1 - Piecewise constant polynomials

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-36
SLIDE 36

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Stationary Distribution of Tracers Numerical results

3D: 15 layers of SPE 10

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-37
SLIDE 37

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Implicit DG Solution Numerical Results

Implicit DG Solution

Consider flow of two or more phases St + ∇ ·

  • vF(S)
  • = 0

where F has positive characteristics Using product rule and semi-discretization Sn+1 + ∆t v · ∇F(Sn+1) = Sn − ∆t F(Sn)∇ · v Discretization by DGM Reordering as for v · ∇T = 1 − → elementwise solution of N nonlinear m × m systems For large models: reordered dG + domain decomposition

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-38
SLIDE 38

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Implicit DG Solution Numerical Results

WAG Injection (3-Phase Flow)

Water (t = 0.075) Gas (t = 0.075) 2nd order dG method with minmod postprocessing

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-39
SLIDE 39

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Implicit DG Solution Numerical Results

WAG Injection (3-Phase Flow)

Water (t = 0.125) Gas (t = 0.125) 2nd order dG method with minmod postprocessing

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-40
SLIDE 40

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Implicit DG Solution Numerical Results

WAG Injection (3-Phase Flow)

Water (t = 0.175) Gas (t = 0.175) 2nd order dG method with minmod postprocessing

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods

slide-41
SLIDE 41

The Time-Of-Flight Equation The Discontinuous Galerkin Method Tracer Flow Multiphase Flow Summary Summary

Summary

Summary Higher-order discontinuous Galerkin methods are implemented Fast elementwise solution strategy Runtime of the methods are O(N) for N unknowns Effective approximation of stationary tracer distribution Promising results for multiphase flow

Natvig, Lie, Eikemo, Berre, Dahle, Eigestad Discontinuous Galerkin Methods