Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College...

25
Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and its application to pore-scale modelling 1

Transcript of Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College...

Page 1: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic

16 January 2009, Imperial College Consortium on Pore-Scale Modelling

The level set method and its application to pore-scale modelling

1

Page 2: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Motivation

Network modelling – the representation of the pore space by an equivalent representation of pores and throats – has been successful: we now understand trends in recovery with wettability and can predict single and multi-phase properties.

BUT…….the extraction of networks involves ambiguities and there are some cases where the method does not work so well – trapping in unconsolidated media, three-phase flow….

Now have direct three-dimensional imaging of pore spaces.

Why not simulate multiphase flow directly on these images?

Images from PhD dissertation of M.Piri

Page 3: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

What I plan to do

Micro CT images contains millions of pixels which are either pore or solid.

Use a Cartesian grid solver to solve for flow.

For multiphase flow the level set method will be applied to predict the position of the interface between different phases.

Predict relative permeability

Page 4: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Governing Equations for Flow

Navier-Stokes Equation reduces to Stokes Equation with creeping flow assumption:

Page 5: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Formulation

0

1

1

1

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

z

w

y

v

x

u

z

P

z

w

y

w

x

w

y

P

z

v

y

v

x

v

x

P

z

u

y

u

x

u

u Equation

v Equation

w Equation

p Equation

Page 6: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Numerical Method

Finite difference method accompanied by finite volume formulation applied to the partial differential equations.

In Stokes equations, pressure and velocity are coupled, SIMPLE (Patankar) method is applied to decouple them in our numerical procedure.

Page 7: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Gridding

Staggered grid:

Existence of solid phase in each grid causes six velocity components be zero in the 3 dimensional models.

Page 8: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Boundary Conditions

- Inlet and Outlet

Constant Pressure ( x direction )

- Walls

No Flow

- Neighbours Rocks

No Flow

Page 9: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Semi-Implicit Method for pressure-Linked Equations

• The SIMPLE (Semi-Implicit Method for pressure-Linked Equations) Algorithm:

1. Guess the pressure field p* 2. Solve the momentum equations to obtain u*,v*,w* 3. Solve the p’ equation (The pressure-correction equation) 4. p=p*+p’ 5. Calculate u, v, w from their starred values using the velocity-correction equations 6. Solve the discretization equation for other variables, such as temperature, concentration, and turbulence quantities. 7. Treat the corrected pressure p as a new guessed pressure p*, return to step 2, and repeat the whole procedure until a converged solution is obtained.

Page 10: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

3D results

Obtained Velocity Profile for flow in a duct:

Page 11: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.
Page 12: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.
Page 13: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

What Next

-Since a Micro CT image contains at least 10millions of cells, our solver should be as efficient as possible.

-We are about to use more efficient solver in our simulator ( AMG solver ) to reduce the run time as much as possible.

- Computing Relative-Permeability in multi-phase flow using results obtained by the level set method (in cooperation with Dr.M.Prodanovic in University of Texas at Austin).

Page 14: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Level Set

Image from Wikipedia free encyclopaedia

cz

yxz

),(

Page 15: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Level Set Method ( Theory )

-LSM firstly introduced by S.Osher 1988

-LSM is a method for interface moving problems .

-In this method, a new dimension is introduced to the case and define the interface as a level set of function φ( x, y) .

-Make the initial position as a zero level of a higher-dimensional function φ

-Track evolution of φ and determine the zero level set.

-The method works for any dimension and handles topology changes naturally which has resulted in a vast number of applications including two-phase compressible flow, grid generation, computer vision, image restoration, minimal surfaces and surfaces of prescribed curvature

Page 16: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Φ(x,y,t=0)

Φ=0

Φ=0

Φ=0

Φ(x,y,t=1)

Φ(x,y,t=2)

Page 17: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Advantage

• works in any dimension• no special treatment needed for topological changes• keep track of contour if it self-intersects during its evolution

Page 18: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Level Set Formulation

Constraint: level set value of a point on the contour with motion x(t) must always be 0

(x(t), t) = 0

By the chain rule

t + (x(t), t) · x(t) = 0

Since F supplies the speed in the outward normal directionx(t) · n = F, where n = / ||

Hence evolution equation for is

t + F|| = 0

Page 19: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Speed Function

- In the propagation equation , F is speed of motion of interface in normal direction.

-In general F is a function of position. The physics of the phenomenon of interest enters the method via F.

- Normal velocity F in our application is obtained from a balance of pressure and surface tension forces and is defined only at the interface

19

Page 20: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Interface between two phases

Page 21: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Drainage and Imbibition

M. Prodanovic and S. Bryant. Critical curvatures for drainage and imbibition via level set methods. J. Colloid Interface Sci., 2006.

This slide is from Dr.M.Prodanovic ‘s Lecture at Imperial College

Page 22: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Curvature – saturation curve

pore imbibition events saturation jumpsIrreversibility of events hysteresis

This slide is from Dr.M.Prodanovic ‘s Lecture at Imperial College

Page 23: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

Level Set Method ( Application )

Image from the paper by M.Pradanovic

-accurate description of pore level displacement of immiscible fluids where capillary forces dominate.-irregular porous media geometry further complicates the problemaccounting for the interface topological changes

M. Prodanovic and S. Bryant. Critical curvatures for drainage and imbibition via level set methods. J. Colloid Interface Sci., 2006.

This slide is from Dr.M.Prodanovic ‘s Lecture at Imperial College

Page 24: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.

What Next ?

Estimating Absolute and Relative Permeabilities of a core via its MicroCT image.

Page 25: Peyman Mostaghimi, Prof. Martin Blunt, Dr. Branko Bijeljic 16 January 2009, Imperial College Consortium on Pore-Scale Modelling The level set method and.