direct numerical simulation of transport phenomena on pore-space images

25
Peyman Mostaghimi, Martin Blunt, Branko Bijeljic 11 th January 2010, Pore-scale project meeting Direct Numerical Simulation of Transport Phenomena on Pore-space Images 1

Upload: bianca

Post on 22-Feb-2016

68 views

Category:

Documents


0 download

DESCRIPTION

Direct Numerical Simulation of Transport Phenomena on Pore-space Images. Peyman Mostaghimi, Martin Blunt, Branko Bijeljic 11 th January 2010, Pore-scale project meeting. Flow at pore scale. In petroleum science and engineering, scales of interest may vary from molecular level to a mega level. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Peyman Mostaghimi, Martin Blunt, Branko Bijeljic11th January 2010, Pore-scale project meeting

Direct Numerical Simulation of Transport Phenomena on Pore-space Images

1

Page 2: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Flow at pore scaleIn petroleum science and engineering, scales of interest may vary from molecular level to a mega level.

The pore scale is of the order of a typical pore which is in the range few microns. Modelling fluid flow at the pore scale can provide a predictive tool for estimating rock and flow properties at larger scales.

One of the most used ways to capture the morphology of a porous medium as the main input for pore scale modelling is micro-CT imaging.

Page 3: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

MotivationNetwork 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.

However…….the extraction of networks involves ambiguities and there are some cases where the method does not work so well.

Now have direct three-dimensional imaging of pore spaces.

Why not simulate multiphase flow directly on these images?

Page 4: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Micro-CT imaging AND DIRECT SIMULATION

Post processing Micro-CT images, a matrix can be generated for a core which shows whether there is a solid inside the voxel or a pore. Zero means that voxel is a pore and one means it is a solid phase.Two methods to simulate fluid flow in porous media directly without the need for simplified geometries: - the lattice Boltzmann method (Edo)- conventional computational fluid dynamics algorithms based on the relevant flow and conservation equations.

Page 5: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Governing equations

Conservation of mass:

Navier-Stokes equation:

Steady-state and incompressible flow:

0 vt

vvvv 2.

Pt

0 vvvv 2. P

Page 6: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Dimensionless analysis

0

~vvv

00

0

/~

lvPPP

0~ l

220

2~ l00Re vl

vPvv ~~~~)~~.~Re( 2

110/.10

/10/1010Re 523

3365

msNmkgsmm

The dimensionless steady-state Navier-Stokes equation:

Reynolds number for flow in porous media:

v20 PStokes Equation :

Page 7: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

FORMULATION

0

1

1

1

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

zw

yv

xu

zP

zw

yw

xw

yP

zv

yv

xv

xP

zu

yu

xu

u Equation(u: velocity in x-direction)

v Equation(v: velocity in y-direction)

w Equation(w: velocity in z-direction)

p Equation

Page 8: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Gridding

Marker-and-cell grid:

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

Page 9: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Discretized Form

xPP

zuuu

yuuu

xuuu KJIKJIKJiKJiKJiKJiKJiKJiKJiKJiKJi

,,1,,2

1,,,,1,,2

,1,,,,1,2

,,1,,,,1 1)(

2)(

2)(

2

yPP

z

vvv

y

vvv

x

vvv KJIKJIKjIKjIKjIKjIKjIKjIKjIKjIKjI

,1,,,2

1,,,,1,,2

,1,,,,1,2

,,1,,,,1 1)(

2

)(

2

)(

2

zPP

zwww

ywww

xwww KJIKJIkJIkJIkJIkJIkJIkJIkJIkJIkJI

1,,,,2

1,,,,1,,2

,1,,,,1,2

,,1,,,,1 1)(

2)(

2)(

2

0,,1,,,,,1,,,,,1

zww

yvv

xuu kJIkJIKjIKjIKJiKJi

iKJIKJInbnbKJiKJi Appuaua ,,,,1,,,, jKJIKJInbnbKjIKjI Appvava ,,,1,,,,, kKJIKJInbnbkJIkJI Appwawa ,,1,,,,,,

The momentum equations can be rewritten as:

Page 10: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

SIMPLE algorithm• 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* by algebraic

mutigrid solver 3. Solve the p’ equation (The pressure-correction equation) by algebraic

mutigrid solver 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.

Storing matrices in CRS and AMG for solving all linear systems of equations.

Page 11: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Boundary Condition

0pu 0Nu iKJIKJInbnbKJiKJi Appuaua ,,,,1,,,, jKJIKJInbnbKjIKjI Appvava ,,,1,,,,, kKJIKJInbnbkJIkJI Appwawa ,,1,,,,,,

Page 12: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

. . . Boundary Condition

)(8

)(2

32

2

2

yOy

yuy

yuuu pn

)(2

)( 32

2

2

yOyyuy

yuuu ps

22

2

)(344

38

y

uuu

yu spn

Page 13: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

COMPARISON OF THE Three METHODS FOR BC FOR FLOW BETWEEN TWO INFINITE PARALEL PLATES

first method second method third method

Page 14: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

VELOCITY PROFILE FOR FLOW BETWEEN TWO INFINITE PARALEL PLATES

We see non-zero velocity even for one block within the channel and for more than one we see agreement to within machine accuracy with the analytical solution.

Page 15: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Lid-driven Cavity

Page 16: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

DISPERSION MODELLING

When a miscible fluid is injected in a flowing fluid in a saturated porous media, it will spread by various mechanisms including advection and diffusion.

In brief, dispersion is the spread or mixing of flowing fluids due to all these mechanisms.

To model advection term we use stream tracing algorithm and for diffusion we apply random walk method.

DiffusionAdvection XXtxttx )()(

Page 17: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

STREAMLINE TRACINGInterpolation to estimate the velocity vectors at a point within the grid block

KJiiKJiKJi uxx

xuu

u ,,,,,,1 )(

KjIjKjIKjI vyy

yvv

v ,,,,,1, )(

kJIkkJIkJI wzz

zww

w ,,,,1,, )(

)ln(,,,,1 i

e

KJiKJix u

uuu

x

)ln(,,,1, i

e

KjIKjIy v

vvv

y

)ln(1,,1,, i

e

kJIkJIz w

wwwz

),,min( zyx

)1.( ,,,,1

,,,,10

KJiKJi uux

iKJiKJi

euuu

xxx

)1.( ,1,,1,

,1,,1,0

KjIKjI vvy

iKjIKjI

evvvyyy

)1.( 1,,1,,

1,,1,,0

kJIkJI wwz

ikJIkJI

ewwwzzz

The time of flight:

The coordinates of exit location:

Page 18: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Diffusion

tDm 2

CosSinXX ..0

SinSinYY ..0

CosZZ .0

Random walking method for both advection and diffusion:

tDtxVtxttx m 2)()()(

Random walking method just for diffusion part of flow :

advection diffusion

tDXtxttx madvection 2)()(

Page 19: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

. . . Diffusion

Gridding:Resolution:

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 50

0.51

1.52

2.53

3.54

4.55

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 50

0.51

1.52

2.53

3.54

4.55

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 50

1

2

3

4

5

m851.8

5050

m 4255.4 m 702.170 3.6Pe 4.0Pe

m

avg

DLu

Pe

tDm 2

Page 20: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

. . . Particle tracking

Gridding: Resolution:Sandpack LV60B

338338m851.8

Page 21: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

. . . Particle tracking

Gridding: Resolution:Sandpack LV60B

338338m851.8

Page 22: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

. . . Particle tracking

Gridding: Resolution:Sandpack LV60B

338338m851.8

Page 23: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

DISPERSION COEFFIEICENT

The average of positions of particles:

Variance of X can be calculated:

And the longitudinal dispersion coefficient:

For showing the importance of diffusion, dispersion is modelled for a range Peclet number:

N

tXtXX

N

ii

i

1

)()(

N

tYtYY

N

ii

i

1

)()(

N

tZtZZ

N

ii

i

1

)()(

N

XtXXtX

N

ii

i

1

2

22))((

))((

dtdDL

2

m

avg

DLu

Pe

(Bijeljic et al. 2004)

Page 24: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Multiphase flow at the pore scale

Having the interface at different saturations, the flow of each phase can be modelled by the Stokes solver and the relative permeability can be predicted. Also for reactive transport (Branko), the code can be used to simulate the flow at each time step.

Courtesy of Masa Prodanovic

Page 25: Direct Numerical Simulation of Transport Phenomena on Pore-space Images

Many thanks for your attention