Multiscale methods for modeling flow in porous media : approaching - - PowerPoint PPT Presentation

multiscale methods for modeling flow in porous media
SMART_READER_LITE
LIVE PREVIEW

Multiscale methods for modeling flow in porous media : approaching - - PowerPoint PPT Presentation

Multiscale methods for modeling flow in porous media : approaching industrial applications Jrg E. Aarnes, Stein Krogstad and KnutAndreas Lie 1.5 1 0.5 0 20 15 20 15 10 10 5 5 0 0 Applied Mathematics 1/26 Outline How can we


slide-1
SLIDE 1

Multiscale methods for modeling flow in porous media : approaching industrial applications

Jørg E. Aarnes, Stein Krogstad and Knut–Andreas Lie

5 10 15 20 5 10 15 20 0.5 1 1.5

Applied Mathematics 1/26

slide-2
SLIDE 2

Outline

1

How can we promote multiscale methods to the oil-industry Gap between academic research and industry needs

2

Industry-standard geological models The corner-point format Coarse grid-generation

3

Multiscale mixed finite element method Coarse grid formulation Subgrid discretization

4

Why consider multiscale methods

Applied Mathematics 2/26

slide-3
SLIDE 3

The gap between academia and industry

Grids

Academic models: Simple domains Structured grids Conforming grids Industry models:

Applied Mathematics 3/26

slide-4
SLIDE 4

The gap between academia and industry

Physics (Flow in porous media)

Academia: Incompressible Immiscible Gravity? Capillary forces? Pseudofunctions etc. Industry: Compressible Miscible Yes! Yes. Relative permeability??? etc., etc., etc., ...

Applied Mathematics 4/26

slide-5
SLIDE 5

The gap between academia and industry

What is important

Academia: Can it be published? Nice plots! Accuracy Efficiency Practical importance Industry: Money Risk Can it handle our models Efficiency Robustness

Applied Mathematics 5/26

slide-6
SLIDE 6

Conjecture: MsMFEM has the following key features

Based on experience with synthetic Cartesian petroleum reservoir models

50 20 40 60 80 100 120 140 160 180 200 220 50 20 40 60 80 100 120 140 160 180 200 220 50 20 40 60 80 100 120 140 160 180 200 220 50 20 40 60 80 100 120 140 160 180 200 220

Accurate: flow scenarios match closely fine grid simulations. Mass conservative: conserves mass

  • n coarse and fine grids.

Efficient: basis functions can be computed in parallel and need not be recomputed. Flexible: unstructured and irregular coarse grids are handled easily. Robust: suitable for models with highly oscillatory coefficients and large grid-cell aspect ratios.

Applied Mathematics 6/26

slide-7
SLIDE 7

Promoting multiscale methods to the industry

Possible scenarios

Do you want an amazing multiscale method?

Applied Mathematics 7/26

slide-8
SLIDE 8

Promoting multiscale methods to the industry

Possible scenarios

Do you want an amazing multiscale method? A1: Multiscale method???

Applied Mathematics 7/26

slide-9
SLIDE 9

Promoting multiscale methods to the industry

Possible scenarios

Do you want an amazing multiscale method? A2: But, multiscale methods are new and very complex, right?

Applied Mathematics 7/26

slide-10
SLIDE 10

Promoting multiscale methods to the industry

Possible scenarios

Do you want an amazing multiscale method? A3: Have they been tested on realistic models?

Applied Mathematics 7/26

slide-11
SLIDE 11

Promoting multiscale methods to the industry

Possible scenarios

Do you want an amazing multiscale method? A4: Yes, when it is implemented in my favourite software!

Applied Mathematics 7/26

slide-12
SLIDE 12

Promoting multiscale methods to the industry

Possible scenarios

Promoting multiscale methods to the industry is a challenge, but academia must make the first move!

Applied Mathematics 7/26

slide-13
SLIDE 13

Bridging the gap between academia and industry

A prerequisite for conducting simulation studies on full-scale real-field petroleum reservoir models is the ability to handle grids on a corner-point format. Model: corner-point grid without fractures and faults. Physics: incompressible and immiscible two-phase flow, neglecting effects from (gravity and) capillary forces.

Applied Mathematics 8/26

slide-14
SLIDE 14

Bridging the gap between academia and industry

A prerequisite for conducting simulation studies on full-scale real-field petroleum reservoir models is the ability to handle grids on a corner-point format. Model: corner-point grid without fractures and faults. Physics: incompressible and immiscible two-phase flow, neglecting effects from (gravity and) capillary forces. Next: MsMFEM on corner-point grid geological models

Applied Mathematics 8/26

slide-15
SLIDE 15

Corner-point grids

The industry standard for reservoir modeling and simulation

The corner-point, or pillar grid format, has become the industry standard for reservoir modeling and simulation. In a corner-point grid the grid-cell corner-points lie on pillars (lines) that extend from the top to the bottom of the reservoir.

Applied Mathematics 9/26

slide-16
SLIDE 16

Corner-point grids, cont.

The data structure for corner-point grids is logically Cartesian, i.e.,

1 the pillars are ordered in a logical Cartesian manner, and 2 each layer extends throughout the entire reservoir.

Layers may collapse to a hyperplane in certain regions. Collapsed cells are labeled non-active. Active cells have polyhedral shape with 5 – 8 corners.

Applied Mathematics 10/26

slide-17
SLIDE 17

Corner-point grids, cont.

The data structure for corner-point grids is logically Cartesian, i.e.,

1 the pillars are ordered in a logical Cartesian manner, and 2 each layer extends throughout the entire reservoir.

Layers may collapse to a hyperplane in certain regions. Collapsed cells are labeled non-active. Active cells have polyhedral shape with 5 – 8 corners. In physical space, corner-point grids are unstructured!

Applied Mathematics 10/26

slide-18
SLIDE 18

Corner-point grids, cont.

Examples of degenerate hexahedral cells in corner-point grids

Applied Mathematics 11/26

slide-19
SLIDE 19

Generating a coarse grid for MsMFEM

Let K = {K} be a coarse grid with blocks of “arbitrary” shape, and denote by T = {T} a fine subgrid of K

Applied Mathematics 12/26

slide-20
SLIDE 20

Grid coarsening procedures

In order to avoid resampling of geological data, we assume that grid blocks consists of a union of cells in the fine grid.

Applied Mathematics 13/26

slide-21
SLIDE 21

Grid coarsening procedures

In order to avoid resampling of geological data, we assume that grid blocks consists of a union of cells in the fine grid. Partitioning in physical space:

Blocks have approximately equal volume :=) Interfaces become very irregular :=(

Applied Mathematics 13/26

slide-22
SLIDE 22

Grid coarsening procedures

In order to avoid resampling of geological data, we assume that grid blocks consists of a union of cells in the fine grid. Partitioning in physical space:

Blocks have approximately equal volume :=) Interfaces become very irregular :=(

Partitioning in index space:

Block volumes differ significantly, and blocks are irregular :=( Interfaces are usually smooth :=)

Applied Mathematics 13/26

slide-23
SLIDE 23

Grid coarsening procedures

In order to avoid resampling of geological data, we assume that grid blocks consists of a union of cells in the fine grid. Partitioning in physical space:

Blocks have approximately equal volume :=) Interfaces become very irregular :=(

Partitioning in index space:

Block volumes differ significantly, and blocks are irregular :=( Interfaces are usually smooth :=)

Volume constrained partitioning in index space:

Blocks are irregular and number of neighbors increases :=( Blocks have smooth faces, and approximately equal volume :=)

Applied Mathematics 13/26

slide-24
SLIDE 24

Multiscale mixed finite element method

Examples of grid blocks that arise when partitioning in index space

Disconnected blocks are split into a family of connected subblocks.

Applied Mathematics 14/26

slide-25
SLIDE 25

Multiscale mixed finite element method

Model problem

Let Ω denote a computational domain, and consider the following model problem v = −k∇p, ∇ · v = q in Ω, v · n =

  • n ∂Ω.

Here k is a symmetric and positive definite tensor with uniform upper and lower bounds in Ω. We will refer to p as pressure and v as velocity.

Applied Mathematics 15/26

slide-26
SLIDE 26

Multiscale mixed finite element method

The mixed formulation

In mixed FEMs one seeks v ∈ V and p ∈ U such that

k−1v · u dx −

p ∇ · u dx = ∀u ∈ V,

l ∇ · v dx =

ql dx ∀l ∈ U. Here V ⊂ {v ∈ (L2)d : ∇ · v ∈ L2} and U ⊂ L2.

Applied Mathematics 16/26

slide-27
SLIDE 27

Multiscale mixed finite element method

The mixed formulation

In mixed FEMs one seeks v ∈ V and p ∈ U such that

k−1v · u dx −

p ∇ · u dx = ∀u ∈ V,

l ∇ · v dx =

ql dx ∀l ∈ U. Here V ⊂ {v ∈ (L2)d : ∇ · v ∈ L2} and U ⊂ L2. In multiscale mixed FEMs the approximation space for velocity is designed so that it embodies the impact of fine scale structures.

Applied Mathematics 16/26

slide-28
SLIDE 28

Multiscale mixed finite element method

Pressure basis functions

Associate a basis function χm for pressure with each grid block: U = span{χm : Km ∈ K} where χm =

  • 1

if x ∈ Km, else.

Applied Mathematics 17/26

slide-29
SLIDE 29

Multiscale mixed finite element method

Velocity basis functions

Construct a velocity basis function for each interface ∂Ki ∩ ∂Kj: V = span{ψij} where ψij = −k∇φij and φij is determined by no-flow boundary conditions on (∂Ki ∪ ∂Kj)\(∂Ki ∩ ∂Kj), and ∇ · ψij =

  • q(Ki)

in Ki, −q(Kj) in Kj, where q(K) =   

|k| R

K |k|

if

  • K f dx = 0,

f R

K f

if

  • K f dx = 0.

Applied Mathematics 18/26

slide-30
SLIDE 30

Multiscale mixed finite element method

Subgrid discretization: Mixed finite element methods

To implement a mixed FEM on a CPG is a bit cumbersome because degenerate cells have less than eight corners. Conforming CPGs can, however, be subdivided into tetrahedra in such a way that the non-degenerated tetrahedra form a conforming grid.

2 1 3 6 4 5 8 7 1 2 4 3 7 8 1 2 5 6 7 8 1 2 5 6 7 2 3 4 7 8

I II III IV V VI

Applied Mathematics 19/26

slide-31
SLIDE 31

Multiscale mixed finite element method

Subgrid discretization: Finite volume methods

Most commercial simulators employ a two-point flux approximation scheme to discretize the pressure equation.

TPFA schemes are generally not convergent for CPGs. Convergent MPFA schemes exist, but are difficult to implement on CPGs with degenerated cells, and are not capable of handling non-conforming grids.

Finite volume methods provide fluxes, but not velocity fields. Implementation of MsMFEM requires that we can evaluate (approximate) integrals of the following form:

  • Ki

ψij · k−1ψil dx.

Applied Mathematics 20/26

slide-32
SLIDE 32

Multiscale mixed finite element method

Subgrid discretization: Mimetic finite difference methods

Mimetic FDMs allow easy treatment of non-conforming grids with complex grid-cell geometries (including curved faces). They employ a mixed formulation, but the local inner-product (u, v)Ti =

  • Ti

u · k−1v dx, u, v ∈ H1,div(Ti), is replaced with a matrix-based inner-product (u, v)Bi = uT Biv. Here u, v ∈ Rni, where ni is the number of cell faces, and Bi ∈ Rni×ni is a symmetric and positive definite matrix.

Applied Mathematics 21/26

slide-33
SLIDE 33

Formula for calculating Bi in mimetic FDM

For polygons (with planar faces), a discrete version of the Gauss-Greens formula can be written on the following form: BiNk = C. The rows of N are the unit normals for each face, and the rows of C are the centroids of each face scaled by the area. A class of solutions of this equation has the following form: Bi = 1 |Ti|Ck−1CT + ZUZT , where U is a given symmetric and positive definite matrix and the columns of Z span the null space of NT .

Applied Mathematics 22/26

slide-34
SLIDE 34

Multiscale mixed finite element method

Subgrid discretization techniques: pros and cons

Mixed FEM on tetrahedral subgrid:

Provides mass conservative velocity on tetrahedral subgrid :=) Gives larger systems, and limited to conforming grids :=(

Applied Mathematics 23/26

slide-35
SLIDE 35

Multiscale mixed finite element method

Subgrid discretization techniques: pros and cons

Mixed FEM on tetrahedral subgrid:

Provides mass conservative velocity on tetrahedral subgrid :=) Gives larger systems, and limited to conforming grids :=(

Finite volume methods:

Employed by commercial simulators :=) TPFA not convergent, MPFA difficult to implement and limited to conforming grids :=(

Applied Mathematics 23/26

slide-36
SLIDE 36

Multiscale mixed finite element method

Subgrid discretization techniques: pros and cons

Mixed FEM on tetrahedral subgrid:

Provides mass conservative velocity on tetrahedral subgrid :=) Gives larger systems, and limited to conforming grids :=(

Finite volume methods:

Employed by commercial simulators :=) TPFA not convergent, MPFA difficult to implement and limited to conforming grids :=(

Mimetic finite difference methods:

Easy to implement and very flexible wrt. grids :=) New? Less rigorous than mixed FEM? :=|

Applied Mathematics 23/26

slide-37
SLIDE 37

Why multiscale?

Time t(n) to solve a linear system of dimension n: t(n) ∼ O(nα).

0.5 1 1.5 2 2.5 3 x 10

8

MsMFEM NSUM MsFVM ALGUNG MsMFEM NSUM MsFVM ALGUNG MsMFEM NSUM MsFVM ALGUNG MsMFEM NSUM MsFVM ALGUNG Nc = 83 Nc = 163 Nc = 323 Nc = 643 Local work Global work Fine scale solution 1 2 3 4 5 x 10

9

MsMFEM NSUM MsFVM ALGUNG MsMFEM NSUM MsFVM ALGUNG MsMFEM NSUM MsFVM ALGUNG MsMFEM NSUM MsFVM ALGUNG Nc = 83 Nc = 163 Nc = 323 Nc = 643 Fine scale solution Local work Global work

α = 1.2 α = 1.5 Computation time comparable to solving global fine-scale system using a (very) efficient linear solver.

Applied Mathematics 24/26

slide-38
SLIDE 38

Why multiscale?

Multiscale methods are easily parallelizable.

Applied Mathematics 25/26

slide-39
SLIDE 39

Why multiscale?

Multiscale methods are easily parallelizable. Multiscale methods have low memory requirements.

Applied Mathematics 25/26

slide-40
SLIDE 40

Why multiscale?

Multiscale methods are easily parallelizable. Multiscale methods have low memory requirements. Robust and efficient linear solvers for systems that stem from real-field petroleum reservoir models are (very) hard to find.

Applied Mathematics 25/26

slide-41
SLIDE 41

Why multiscale?

Multiscale methods are easily parallelizable. Multiscale methods have low memory requirements. Robust and efficient linear solvers for systems that stem from real-field petroleum reservoir models are (very) hard to find. Computation of basis functions can often be made part

  • f a preprocessing step for multi-phase flow simulations.

0.5 1 1.5 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0.22 0.24 0.26 0.28 Saturation Error PVI MsMFEM MsFVM Ms−NSUM 0.5 1 1.5 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0.22 0.24 0.26 0.28 PVI Saturation Error MsMFEM MsFVM Ms−NSUM

BF computed only once BF comp. at each timestep

Applied Mathematics 25/26

slide-42
SLIDE 42

The road ahead

Aim: an efficient and seamless method that can handle “arbitrary grids” and embodies the important fine scale structures in models for petroleum reservoir simulation.

Applied Mathematics 26/26

slide-43
SLIDE 43

The road ahead

Aim: an efficient and seamless method that can handle “arbitrary grids” and embodies the important fine scale structures in models for petroleum reservoir simulation. Ongoing work: MsMFEM with a mimetic FDM as the subgrid discretization technique for non-conforming CPG models that arise in presence of fractures and faults.

Applied Mathematics 26/26

slide-44
SLIDE 44

The road ahead

Aim: an efficient and seamless method that can handle “arbitrary grids” and embodies the important fine scale structures in models for petroleum reservoir simulation. Ongoing work: MsMFEM with a mimetic FDM as the subgrid discretization technique for non-conforming CPG models that arise in presence of fractures and faults. Next: More physics: miscible and compressible flow that can be dominated by gravity and/or capillary forces.

Applied Mathematics 26/26

slide-45
SLIDE 45

The road ahead

Aim: an efficient and seamless method that can handle “arbitrary grids” and embodies the important fine scale structures in models for petroleum reservoir simulation. Ongoing work: MsMFEM with a mimetic FDM as the subgrid discretization technique for non-conforming CPG models that arise in presence of fractures and faults. Next: More physics: miscible and compressible flow that can be dominated by gravity and/or capillary forces. Related activity: We are trying to develop a parallel technology for the flow transport equations.

Applied Mathematics 26/26