press the button to start numerical reservoir simulation

56
Press the button to start Numerical Reservoir Simulation

Upload: jacob-nicholson

Post on 05-Jan-2016

229 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Press the button to start Numerical Reservoir Simulation

Press the button to start

Numerical Reservoir Simulation

Page 2: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Topic Overview

An introduction to standard numerical solution techniques for reservoir flow equations.

NextBack

html

Page 3: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Introduction

Differential equations

for mass flow

Differential equations

for mass flow

Numerical Modell

Numerical Modell

Stability analyses

Gridding

Difference Approximation Discretization Error

Reservoir Performance

For more information click on the subject you want to learn more about.

Reservoir equationsReservoir equations

Back

Page 4: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Discretization Techniques

General partial differential equations for reservoir fluid flow must be discretized before they can be treated computationally.

The most common techniques are:

- finite differences- finite elements

We will in in this module learn about the finite difference technique.

Up

html

Page 5: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Finite difference approximations are used in most commercial reservoir simulation software to solve fluid flow equations numerically.

Main steps in a discretization procedure:

- replace differential operators by algebraic ciexpressions- compute approximate solution at given points and iiispecified times

Up

Finite Differences

html

Page 6: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Differential Equations for Mass Flow

)()](][

[

:

w

wwww

ww

rw

BS

tQdp

Bkk

water

)()](][

[

:

w

wwww

ww

rw

BS

tQdp

Bkk

water

Mass conservation equations for Black Oil models:

)()](][

[

:

o

oooo

oo

ro

BS

tQdp

Bkk

oil

)()](][

[

:

o

oooo

oo

ro

BS

tQdp

Bkk

oil

)(

)](][

[)](][

[

:

o

so

g

g

goosoo

rogg

gg

rg

BRS

B

S

t

QdpRBkk

dpB

kk

gas

)(

)](][

[)](][

[

:

o

so

g

g

goosoo

rogg

gg

rg

BRS

B

S

t

QdpRBkk

dpB

kk

gas

Next

Where Ql are sink/source term

Discretization Techniques

Page 7: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Reservoir Equations

)(

:

,,,,,

w

wt

kjikjiwww B

S

t

VqT

water

)(

:

,,,,,

w

wt

kjikjiwww B

S

t

VqT

water

)(

:

,,,,,

o

ot

kjikjiooo B

St

VqT

oil

)(

:

,,,,,

o

ot

kjikjiooo B

St

VqT

oil

)(

:

,,,,,

o

os

g

gt

kjikjigoosgg B

SRB

S

t

VqTRT

gas

)(

:

,,,,,

o

os

g

gt

kjikjigoosgg B

SRB

S

t

VqTRT

gas

For more information click on the equation you want to learn more about.

Discrete equations for Black Oil models for block i,j,k:

NextBack

html

Page 8: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

)(

:

,,,,,

w

wt

kjikjiwww B

S

t

VqT

water

)(

:

,,,,,

w

wt

kjikjiwww B

S

t

VqT

water

Water Equation

The water equation consists of three parts; a flow term, a well term and an accumulation term.

For more information click on the term of the water equation you want to learn more about.

Flow term + well term = accumulation term

Up Next

html

Page 9: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

wzzwzzwyywyywxxwxxww TTTT

water

:

wzzwzzwyywyywxxwxxww TTTT

water

:

Flow Term for Water

The flow term for water consists of three terms, one for each coordinate direction.

NextUp

For more information click on the term of the equation you want to learn more about.html

Page 10: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Water in x- direction

The x-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

)()(

)()(

:

1,,

,1,

21

21

iwiwkjiww

rwx

iwiwkjiww

rwxwxwxx

zyxB

kk

zyxB

kkT

water

)()(

)()(

:

1,,

,1,

21

21

iwiwkjiww

rwx

iwiwkjiww

rwxwxwxx

zyxB

kk

zyxB

kkT

water

NextUp

For information on block boundaries, click on the textbox. html

Page 11: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Water in y- direction

The y-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

)()(

)()(

:

1,,

,1,

21

21

jwjwkijww

rwy

jwjwkijww

rwywywyy

zxyB

kk

zxyB

kkT

water

)()(

)()(

:

1,,

,1,

21

21

jwjwkijww

rwy

jwjwkijww

rwywywyy

zxyB

kk

zxyB

kkT

water

NextBackUp

For information on block boundaries, click on the textbox. html

Page 12: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Water in z- direction

The z-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

)()(

)()(

:

1,,

,1,

21

21

zwzwjikww

rwz

zwzwjikww

rwzwzwzz

yxzB

kk

yxzB

kkT

water

)()(

)()(

:

1,,

,1,

21

21

zwzwjikww

rwz

zwzwjikww

rwzwzwzz

yxzB

kk

yxzB

kkT

water

BackUp

For information on block boundaries, click on the textbox. html

Page 13: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Well Term for Water

NextBackUp

Specification are different for production and injection wells.

Click here to see how the production term for water is given.

water

Page 14: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance )()(

:

, welliiww

rwiiw pp

B

kWIq

water

)()(

:

, welliiww

rwiiw pp

B

kWIq

water

Srr

khWI

w

ei

)ln(

2

Up

Well Equations for Black Oil Model

Pwell = pressure in the well

Page 15: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Srr

khWI

w

ei

)ln(

2

)()(

:

, welliioo

roiio pp

B

kWIq

oil

)()(

:

, welliioo

roiio pp

B

kWIq

oil

Up

Well Equations for Black Oil Model

Pwell = pressure in the well

Page 16: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Srr

khWI

w

ei

)ln(

2

)()()()(

:

, welliioo

sroiwellii

gg

rgiig pp

B

RkWIpp

B

kWIq

gass

)()()()(

:

, welliioo

sroiwellii

gg

rgiig pp

B

RkWIpp

B

kWIq

gass

Up

Well Equations for Black Oil Model

Pwell = pressure in the well

Page 17: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Accumulation Term for Water

])()[()(

:

1,,,, n

w

wn

w

wkji

w

wt

kji

B

S

B

S

t

V

B

S

t

V

water

])()[()(

:

1,,,, n

w

wn

w

wkji

w

wt

kji

B

S

B

S

t

V

B

S

t

V

water

BackUp

The change of mass of water in block i,j,k during time t between step n and n+1 is given by:

html

Page 18: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Evaluation on Block Boundaries

BackUp

html

Page 19: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Oil Equation

)(

:

,,,,,

o

ot

kjikjiooo B

S

t

VqT

oil

)(

:

,,,,,

o

ot

kjikjiooo B

S

t

VqT

oil

Up NextBack

For more information click on the term of the oil equation you want to learn more about.

Flow term + well term = accumulation term

The oil equation consists of three parts; a flow term, a well term and an accumulation term.

html

Page 20: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

ozzozzoyyoyyoxxoxxoo TTTT

oil

:

ozzozzoyyoyyoxxoxxoo TTTT

oil

:

Flow Term for Oil

The flow term for oil consists of three terms, one for each coordinate direction.

NextUp

For more information click on the term of the equation you want to learn more about.html

Page 21: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Oil in x- direction

)()(

)()(

:

1,,

,1,

21

21

ioiokjioo

rox

ioiokjioo

roxoxoxx

zyxB

kk

zyxB

kkT

oil

)()(

)()(

:

1,,

,1,

21

21

ioiokjioo

rox

ioiokjioo

roxoxoxx

zyxB

kk

zyxB

kkT

oil

NextUp

The x-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. html

Page 22: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Oil in y- direction

)()(

)()(

:

1,,

,1,

21

21

jojokijoo

roy

jojokijoo

royoyoyy

zxyB

kk

zxyB

kkT

oil

)()(

)()(

:

1,,

,1,

21

21

jojokijoo

roy

jojokijoo

royoyoyy

zxyB

kk

zxyB

kkT

oil

NextBackUp

The y-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. html

Page 23: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Oil in z- direction

)()(

)()(

:

1,,

,1,

21

21

zozojikoo

roz

zozojikoo

rozozozz

yxzB

kk

yxzB

kkT

oil

)()(

)()(

:

1,,

,1,

21

21

zozojikoo

roz

zozojikoo

rozozozz

yxzB

kk

yxzB

kkT

oil

BackUp

The z-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. html

Page 24: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Well Term for Oil

NextBackUp

Specification are different for production and injection wells.

Click here to see how the production term for oil is given.oil

Page 25: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Accumulation Term for Oil

])()[()(

:

1,,,, n

o

on

o

okji

o

ot

kji

B

S

B

S

t

V

B

S

t

V

oil

])()[()(

:

1,,,, n

o

on

o

okji

o

ot

kji

B

S

B

S

t

V

B

S

t

V

oil

BackUp

The change of mass of water in block i,j,k during time t between step n and n+1 is given by:

html

Page 26: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Gas Equation

)(

:

,,,,,

o

os

g

gt

kjikjigoosgg B

SRB

S

t

VqTRT

gas

)(

:

,,,,,

o

os

g

gt

kjikjigoosgg B

SRB

S

t

VqTRT

gas

Up Back

For more information click on the term of the equation you want to learn more about.

The gas equation consists of a flow term for gas and dissolved gas, a well term and an accumulation term for gas and dissolved gas.

Flow terms + well term = accumulation terms

html

Page 27: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

gzzgzzgyygyygxxgxxgg TTTT

gas

:

gzzgzzgyygyygxxgxxgg TTTT

gas

:

Flow Term for Gas

Up Next

The flow term for gas consists of three terms, one for each coordinate direction.

For more information click on the term of the equation you want to learn more about.html

Page 28: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Gas in x- direction

)()(

)()(

:

1,,

,1,

21

21

igigkjigg

rgx

igigkjigg

rgxgxgxx

zyxB

kk

zyxB

kkT

gas

)()(

)()(

:

1,,

,1,

21

21

igigkjigg

rgx

igigkjigg

rgxgxgxx

zyxB

kk

zyxB

kkT

gas

NextUp

The x-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. html

Page 29: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Gas in y- direction

)()(

)()(

:

1,,

,1,

21

21

jgjgkijgg

rgy

jgjgkijgg

rgygygyy

zxyB

kk

zxyB

kkT

gas

)()(

)()(

:

1,,

,1,

21

21

jgjgkijgg

rgy

jgjgkijgg

rgygygyy

zxyB

kk

zxyB

kkT

gas

NextBackUp

The y-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. (not active yet) html

Page 30: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Gas in z- direction

)()(

)()(

:

1,,

,1,

21

21

zgzgjikgg

rgz

zgzgjikgg

rgzgzgzz

yxzB

kk

yxzB

kkT

gas

)()(

)()(

:

1,,

,1,

21

21

zgzgjikgg

rgz

zgzgjikgg

rgzgzgzz

yxzB

kk

yxzB

kkT

gas

BackUp

The x-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. html

Page 31: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Dissolved Gas

Up Back

For more information click on the term of the equation you want to learn more about.

ozzozsz

oyyoysyoxxoxsxoos

TR

TRTRTR

gasdissolved

:

ozzozsz

oyyoysyoxxoxsxoos

TR

TRTRTR

gasdissolved

:

The flow term for dissolved gas consists of three terms, one for each coordinate direction.

Next

html

Page 32: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Dissolved Gas in x- direction

)()(

)()(

:

1,,

,1,

21

21

ioiokji

oo

srox

ioiokji

oo

sroxoxoxsx

zyxB

Rkk

zyxB

RkkTR

gasdissolved

)()(

)()(

:

1,,

,1,

21

21

ioiokji

oo

srox

ioiokji

oo

sroxoxoxsx

zyxB

Rkk

zyxB

RkkTR

gasdissolved

NextUp

The x-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. html

Page 33: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Dissolved Gas in y- direction

)()(

)()(

:

1,,

,1,

21

21

jojokij

oo

sroy

jojokij

oo

sroy

oyoysy

zxyB

Rkk

zxyB

RkkTR

gasdissolved

)()(

)()(

:

1,,

,1,

21

21

jojokij

oo

sroy

jojokij

oo

sroy

oyoysy

zxyB

Rkk

zxyB

RkkTR

gasdissolved

NextBackUp

The y-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. html

Page 34: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Flow Term for Dissolved Gas in z- direction

)()(

)()(

:

1,,

,1,

21

21

zozojik

oo

sroz

zozojik

oo

srozozozsz

yxzB

Rkk

yxzB

RkkTR

gasdissolved

)()(

)()(

:

1,,

,1,

21

21

zozojik

oo

sroz

zozojik

oo

srozozozsz

yxzB

Rkk

yxzB

RkkTR

gasdissolved

BackUp

The z-part consists of two terms; one to compute flow to neighbour block in the positive direction and one for flow in the negative direction.

For information on block boundaries, click on the textbox. html

Page 35: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Well Term for Gas

NextBackUp

Specification are different for production and injection wells.

Click here to see how the production term for gas is given.

gas

Page 36: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Accumulation Term for Gas and Dissolved Gas

BackUp

])()[(

)(

:

1,,

,,

n

o

os

g

gn

o

os

g

gkji

o

os

g

gt

kji

BSR

B

S

BSR

B

S

t

V

BSR

B

S

t

V

gas

])()[(

)(

:

1,,

,,

n

o

os

g

gn

o

os

g

gkji

o

os

g

gt

kji

BSR

B

S

BSR

B

S

t

V

BSR

B

S

t

V

gas

The change of mass of water in block i,j,k during time t between step n and n+1 is given by:

html

Page 37: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Definition of Symbols

l = o,w,g s = x,y,z p = i,j,k ql,i,j,k =

Ql,i,j,k = = Sl =

Bl = [k] = k = l =

Vi,j,k =t =t =

Rs =

Rs =

sTls =

sls =

WIp =

pi =

pwell =

Back

Page 38: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Difference Approximations

kk xxfk

xxfxxfxfxxf )(!

1)(

!2

1)()()( 2

kk xxfk

xxfxxfxfxxf )(!

1)(

!2

1)()()( 2

Taylor series can be used to derive a difference formula for single and double derivates.

With these expansion we can deduce:

- first order approximation of f ’

- second order approximation of f ’

- second order approximation of f ’’

Taylor series of f(x+x) and f(x-x) are given by:

NextBack

html

Page 39: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

First Order Approximation of f’

Rx

xfxxfxf

)()(

)(

Rx

xxfxfxf

)()(

)(

This difference formula is used for discretizing time

derivative in the mass equations

From the expansion of f(x+Δx) we get an expression for f’(x):

Up

Click on the box to see how the approximation changes when the step size is halved.

xx

From the expansion of f(x-Δx) we get an expression for f’(x):

Next

html

Page 40: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance t

uuu

nnn

t

11

Difference Formula

A first order approximation of ut at the point n+1 is given by:

The time axis is divided into points at distance Δt:

tt

n

1

t

n

Up

html

Page 41: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

First Order Approximation of f’

Rx

xfxxfxf

)()()(

Rx

xxfxfxf

)()(

)(

From the serie f(x+Δx):

From the serie f(x-Δx):

2x

2x

Back

The step size reduction produces more accurate approximations.

html

Page 42: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Rx

xxfxxfxf

2

)()()(

Adding expansion of f(x+Δx) and f(x-Δx) results in the approximations:

X X

Up

Second Order Approximation of f’

NextBack

Click on the box to see how the approximation changes when the time step is halved. html

Page 43: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

2

x2

x

Rx

xxfxxfxf

2

)()()(

The sum of f’(x) of the series f(x+Δx) and f(x-Δx):

Up

Second Order Approximation of f’

Back

Step size reduction

will produce

more accurate

approximations.

html

Page 44: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance 2

2

)()(2)()( x

x

xxfxfxxfxf

)()(2)(2 xxfxfxxff

The sum of the Taylor series f(x+Δx) and f(x-Δx) is used to deduced a second order approximation of f’’:

This approximation is frequently used and the numerator is written:

Up Back

Second Order Approximation of f’’

html

Page 45: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Difference Approximation

xx

i

1

x

i

xx

i

1

2

11 2

x

uuuu iii

ixx

Uxx can be approximated at each point i by the formula:

Back

html

Page 46: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Discretization Error

The order of a difference approximation can by analysed using Taylor expansions.

The discretization error approaches zero faster for a high order approximation then for a low order approximation.

NextBack

html

Page 47: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Gridding

A faulted reservoir

Well locations An imposed grid

Initial fluid distribution

NextBack

html

Click to the picture for sound (not active yet)

Page 48: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

A Faulted Reservoir

NextUp

(Not active yet)

Page 49: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Well Locations

NextBackUp

(Not active yet)

Page 50: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

An Imposed Grid

Up

- The ability to identify saturations and pressures ii at specific locations (existing and planned well i iiiilocations).

- The ability to produce a solution with the i iiiirequired accuracy (numerical dispersion and iiiigrid orientation effects).

- The ability to represent geometry, geology and iiiphysical properties of the reservoir (external iiiboundaries, faults, permeability distribution iiiincluding vertical layering).- Keep the number of grid blocks small in order to iiimeet requirements of limited money and time iiiavailable for the study.

Main criteria for grid selection:

Page 51: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Initial Fluid Distribution

BackUp

(Not active yet)

Page 52: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Stability Analyses

Stable Unstable

NextBack

html

(Not active yet)

Page 53: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Stable

NextBack

Animation of the stable solution

4,02x

t

html

Page 54: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Unstable

NextBack

Animation of the unstable solution

6,02x

t

html

Page 55: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Reservoir Performance

Back

Sound not active yet

Page 56: Press the button to start Numerical Reservoir Simulation

Topic overview

Introduction

Developers

References

Differential equations

Gridding

Difference approximation

Discretization error

Stability Analyses

Reservoir equations

Reservoir performance

Developers

Made by students

Siril Strømme and Rune Simonsen

Stavanger university college

Informasjon på min web-side

http://www.ux.his.no/~hans-k