assignment 3 report f2015 finished

48
PETR 4301 Theory of Reservoir Modeling Submitted on: 10 th December 2015 Prepared by Team A1 Englert, Brandon (0881854) Gong, Matt (0658215) Zaitsev, Vladimir (0601327) Troppe, Aron (1100036) Fall 2015 Assignment #3

Upload: aron-g-troppe

Post on 13-Apr-2017

104 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Assignment 3 Report F2015 Finished

PETR 4301

Theory of Reservoir Modeling

Submitted on: 10th December 2015

Prepared by

Team A1

Englert, Brandon (0881854) Gong, Matt (0658215)

Zaitsev, Vladimir (0601327) Troppe, Aron (1100036)

Fall 2015

Assignment #3

Page 2: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 2

TABLE OF CONTENTS

LIST OF FIGURES ........................................................................................................................ 3

LIST OF TABLES .......................................................................................................................... 4

INTRODUCTION .......................................................................................................................... 5

TASK 1 ........................................................................................................................................... 8

Subtask 1 ..................................................................................................................................... 8

Subtask 2 ................................................................................................................................... 11

Subtask 3 ................................................................................................................................... 13

Subtask 4 ................................................................................................................................... 14

Subtask 5: .................................................................................................................................. 17

Analytical Solution ............................................................................................................... 17

Subtask 6 ................................................................................................................................... 21

TASK 2 ......................................................................................................................................... 25

TASK 3 ......................................................................................................................................... 32

Dirichlet boundary condition ................................................................................................ 32

Neumann condition ............................................................................................................... 36

TASK 4 ......................................................................................................................................... 38

TASK 5 ......................................................................................................................................... 40

Page 3: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 3

LIST OF FIGURES

Figure 1: Linear Flow ..................................................................................................................... 8

Figure 2: Parameter Values ............................................................................................................. 9

Figure 3: Section of Numerical Grid ............................................................................................ 10

Figure 4: Pressure vs Lenth, 20 Step Discretizatoin ..................................................................... 11

Figure 5: Pressure vs Time ........................................................................................................... 12

Figure 6: Pressure vs Distance and Time ...................................................................................... 13

Figure 7: Pressure vs distance with 200 ft intervals ..................................................................... 15

Figure 8: Pressure vs Time with 200 ft interval ............................................................................ 16

Figure 9: Average Reletive Error .................................................................................................. 22

Figure 10: Average Relative Error vs Distance ............................................................................ 23

Figure 11: Average Relative Error vs. Time ................................................................................. 24

Figure 12: Radial Continuity Equation ......................................................................................... 26

Page 4: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 4

LIST OF TABLES

Table 1: Maximum Solution Stability Limits ............................................................................... 14

Table 2: Comparison of Maximum Discretization Ratio .............................................................. 17

Table 3: Black-Oil vs Compositional Simulator ........................................................................... 39

Table 4: Commercial Simulators .................................................................................................. 40

Table 5: Public Domain Simulators .............................................................................................. 45

Page 5: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 5

INTRODUCTION

The diffusivity, or β€œheat equation”, describes the flow of fluid in porous media. In its linear form

(1), the diffusivity equation states that the acceleration of the pressure change with distance is

proportional to the rate of its change with time. For a slightly compressible fluid:

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= οΏ½πœ™πœ™πœ™πœ™πœ™πœ™

0.002637π‘˜π‘˜οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

(1)

𝑃𝑃 is fluid pressure (psi), π‘₯π‘₯ is linear distance (ft), and πœ•πœ• is time (days). The constants of

proportionality include πœ™πœ™, porosity, πœ™πœ™, viscosity, (cP), πœ™πœ™, pore volume compressibility, (sip), and

π‘˜π‘˜, permeability (mD). The multiplier 0.002637 is needed to maintain dimensional consistency.

The group πœ™πœ™πœ™πœ™πœ™πœ™0.002637π‘˜π‘˜

delineated in the brackets in (1) must have the units of 𝑇𝑇𝑇𝑇𝑇𝑇𝑇𝑇 /𝐴𝐴𝐴𝐴𝑇𝑇𝐴𝐴, as

shown (2):

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= οΏ½πœ™πœ™πœ™πœ™πœ™πœ™

0.002637π‘˜π‘˜οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

(2a)

(𝑝𝑝𝑝𝑝𝑇𝑇)(π‘“π‘“πœ•πœ•2) = οΏ½

πœ™πœ™πœ™πœ™πœ™πœ™0.002637π‘˜π‘˜

οΏ½(𝑝𝑝𝑝𝑝𝑇𝑇)

(𝑑𝑑𝐴𝐴𝑑𝑑𝑝𝑝) (2b)

(𝑑𝑑𝐴𝐴𝑑𝑑𝑝𝑝)(𝑝𝑝𝑝𝑝𝑇𝑇)

(𝑝𝑝𝑝𝑝𝑇𝑇)(π‘“π‘“πœ•πœ•2) = οΏ½

πœ™πœ™πœ™πœ™πœ™πœ™0.002637π‘˜π‘˜

οΏ½ (2c)

(𝑑𝑑𝐴𝐴𝑑𝑑𝑝𝑝)(π‘“π‘“πœ•πœ•2) = οΏ½

πœ™πœ™πœ™πœ™πœ™πœ™0.002637π‘˜π‘˜

οΏ½ (2d)

A numerical prediction of pressure at various times and distances may be obtained by

discretizing time and space into numbered segments and deriving the numerical solution of (1):

Page 6: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 6

𝑃𝑃𝑖𝑖𝑛𝑛+1 = 𝑃𝑃𝑖𝑖𝑛𝑛 +βˆ†πœ•πœ•

𝛼𝛼2(βˆ†π‘₯π‘₯)2(𝑃𝑃𝑖𝑖+1𝑛𝑛 βˆ’ 2𝑃𝑃𝑖𝑖𝑛𝑛 + π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛 ) (3a)

𝑃𝑃𝑖𝑖𝑛𝑛+1 = 𝑃𝑃𝑖𝑖𝑛𝑛 + 𝐾𝐾𝐷𝐷(𝑃𝑃𝑖𝑖+1𝑛𝑛 βˆ’ 2𝑃𝑃𝑖𝑖𝑛𝑛 + π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛 ) (3b)

In (3a), 𝑇𝑇 represents the numeration of the distance interval βˆ†π‘₯π‘₯, and 𝑛𝑛 represents that of the time

interval βˆ†πœ•πœ•. The expression 𝛼𝛼2 represents οΏ½πœ™πœ™πœ™πœ™πœ™πœ™π‘˜π‘˜οΏ½ the hydraulic diffusivity. This expression will

allow the iterative estimation of pressure values, assuming all boundary conditions are known.

In (3b), 𝐾𝐾𝐷𝐷 is a dimensionless multiplier that expresses the combined effect of the hydraulic

diffusivity, and the sizes of the length and time steps. To show how the discretization step

lengths affect the value of 𝐾𝐾𝐷𝐷, we resolve 𝐾𝐾𝐷𝐷 into two components:

π‘šπ‘šπΎπΎ

= 𝐾𝐾𝐷𝐷 ; ≑ 𝑑𝑑𝑇𝑇𝑇𝑇𝑇𝑇𝑛𝑛𝑝𝑝𝑇𝑇𝑑𝑑𝑛𝑛𝑑𝑑𝑇𝑇𝑝𝑝𝑝𝑝 (4a)

𝐾𝐾 = 𝐢𝐢𝛼𝛼2 ; οΏ½π‘‘π‘‘π΄π΄π‘‘π‘‘π‘π‘π‘“π‘“πœ•πœ•2

οΏ½ (4b)

𝑇𝑇 = βˆ†π‘‘π‘‘(βˆ†π‘₯π‘₯)2 ; �𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑

𝑓𝑓𝑑𝑑2οΏ½ (4c)

𝐢𝐢 is a conversion factor necessary to render 𝐾𝐾 into units of 1 𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑓𝑓𝑑𝑑2

. As shown (5):

πœ™πœ™πœ™πœ™πœ™πœ™π‘˜π‘˜

=πœ™πœ™π‘ƒπ‘ƒ

𝑇𝑇𝑑𝑑 Γ— 𝑝𝑝𝑝𝑝𝑇𝑇�

1000 𝑇𝑇𝑑𝑑𝐷𝐷

��𝐷𝐷 Γ— π΄π΄πœ•πœ•π‘‡π‘‡ Γ— 𝑝𝑝 Γ— πœ™πœ™π‘‡π‘‡2

πœ™πœ™π‘ƒπ‘ƒ Γ— πœ™πœ™π‘‡π‘‡ Γ— πœ™πœ™π‘‡π‘‡3 οΏ½ οΏ½14.6959 𝑝𝑝𝑝𝑝𝑇𝑇

π΄π΄πœ•πœ•π‘‡π‘‡οΏ½

(30.48 πœ™πœ™π‘‡π‘‡)2

(π‘“π‘“πœ•πœ•)2 (5a)

πœ™πœ™πœ™πœ™πœ™πœ™π‘˜π‘˜

= οΏ½1000

1οΏ½ �𝑝𝑝1οΏ½ οΏ½

14.6959 1

οΏ½(30.48 )2

(π‘“π‘“πœ•πœ•)2οΏ½

𝑑𝑑𝐴𝐴𝑑𝑑86400 𝑝𝑝

οΏ½ (5b)

Page 7: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 7

πœ™πœ™πœ™πœ™πœ™πœ™π‘˜π‘˜

= οΏ½1000

1οΏ½ �𝑝𝑝1οΏ½ οΏ½

14.6959 1

οΏ½(30.48 )2

(π‘“π‘“πœ•πœ•)2οΏ½

𝑑𝑑𝐴𝐴𝑑𝑑86400 𝑝𝑝

οΏ½ = 158 π‘‘π‘‘π΄π΄π‘‘π‘‘π‘π‘π‘“π‘“πœ•πœ•2

(5c)

In other words:

β€’ There are 158 𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑓𝑓𝑑𝑑2

per 1 πœ™πœ™π‘π‘π‘šπ‘šπ‘‘π‘‘ Γ— 𝑝𝑝𝑑𝑑𝑖𝑖

β€’ We are given 𝛼𝛼2 in terms of πœ™πœ™π‘π‘π‘šπ‘šπ‘‘π‘‘ Γ— 𝑝𝑝𝑑𝑑𝑖𝑖

β€’ We need to convert 𝛼𝛼2 to 𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑓𝑓𝑑𝑑2

to fit into (4a).

β€’ So therefore we need a 𝐢𝐢 factor of 158 in (4b).

The value of 𝐾𝐾 does not depend on the length of discretization intervals; rather on the reservoir

and fluid properties implied in 𝛼𝛼2. The value of 𝑇𝑇, by contrast, expresses the impact of the

discretization. Together, their quotient 𝐾𝐾𝐷𝐷 acts as the constant of proportionality for (3b).

It’s worthwhile noting that we could dispense with the need for both 𝐢𝐢 and 𝐾𝐾 if we had just

replaced the 0.002637 divisor in (1) with the reciprocal of our 𝐢𝐢 factor: 1158

= 0.0063285. That

would allow us to state:

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= οΏ½πœ™πœ™πœ™πœ™πœ™πœ™

0.0063285π‘˜π‘˜οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

(6a)

𝛼𝛼2 = οΏ½πœ™πœ™πœ™πœ™πœ™πœ™

0.0063285π‘˜π‘˜οΏ½ (6b)

𝑇𝑇𝛼𝛼2

= 𝐾𝐾 (6c)

In fact, this is an indication that the value of 0.002637 is wrong for the given units of (1), and

reflects some other set of units. We will therefore use (6) to work Task 1.

As an aside, it appears that we can guess the units for which the divisor of 0.002637 was

intended. If you add another zero to 0.002637 to transform it into 0.0002637 and take the

Page 8: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 8

reciprocal, you get 10.0002637

= 3792.188. Dividing by our 𝐢𝐢 factor of 158, you get 3792.188158

=

24.00. Meaning: If you were using units of hours instead of days in (1) and in (4b), then you

would use a factor of 𝐢𝐢 = 3792.188 in (4b), or a divisor of 0.0002637 in (1), to correctly

convert πœ™πœ™π‘π‘π‘šπ‘šπ‘‘π‘‘ Γ— 𝑝𝑝𝑑𝑑𝑖𝑖

into β„Žπ‘œπ‘œπ‘œπ‘œπ‘œπ‘œπ‘‘π‘‘π‘“π‘“π‘‘π‘‘2

.

TASK 1

Subtask 1

Consider the volumetric flow of fluid, 𝑄𝑄, through the depicted control volume.

Figure 1: Linear Flow

Our units of measurement and their given values are shown:

Page 9: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 9

Figure 2: Parameter Values

The boundary conditions are displayed next:

𝑃𝑃0 = 𝑃𝑃(0, πœ•πœ•) = 1800 𝑝𝑝𝑝𝑝𝑇𝑇, 𝑓𝑓𝑑𝑑𝐴𝐴 πœ•πœ• > 0 (6a)

𝑃𝑃1 = 𝑃𝑃(𝐿𝐿, πœ•πœ•) = 1800 𝑝𝑝𝑝𝑝𝑇𝑇, 𝑓𝑓𝑑𝑑𝐴𝐴 πœ•πœ• > 0 (6b)

𝑃𝑃(π‘₯π‘₯, 0) = 1800 οΏ½1 + sin οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿�� 𝑝𝑝𝑝𝑝𝑇𝑇, 𝑓𝑓𝑑𝑑𝐴𝐴 0 < π‘₯π‘₯ < 𝐿𝐿 (6c)

We wish to use (3) and (6) to develop a grid-based numerical discretization of (1) with twenty

steps in βˆ†π‘₯π‘₯ and one hundred 1-day steps in βˆ†πœ•πœ•. We will then graph 𝑃𝑃 𝑣𝑣𝑝𝑝 π‘₯π‘₯ and examine the

isoline curves at 25 step time intervals.

First we need to calculate 𝐾𝐾 based on (6):

1𝛼𝛼2

=1

οΏ½ πœ™πœ™πœ™πœ™πœ™πœ™0.0063285π‘˜π‘˜οΏ½

=1

οΏ½0.16 Γ— 2 Γ— 0.000220.0063285 Γ— 32 οΏ½

= 2876.6 (7a)

𝑇𝑇 =βˆ†πœ•πœ•

(βˆ†π‘₯π‘₯)2 =1

1002= 0.0001 (7b)

Page 10: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 10

𝐾𝐾𝐷𝐷 =𝑇𝑇𝛼𝛼2

= 0.0001(2876.6) = 0.28766 (7c)

Next, we use (3b) with (6) and (7c) to develop a numerical approximation grid:

Figure 3: Section of Numerical Grid

As can be seen, (6a) was used for the rightmost row. The top row has been calculated via (6c).

The rest is done with (3b). Here is the isoline chart:

0 100 200

0 1800 2081.58 2356.231 1800 2079.59 2352.292 1800 2077.61 2348.383 1800 2075.64 2344.494 1800 2073.69 2340.645 1800 2071.75 2336.816 1800 2069.83 2333.017 1800 2067.91 2329.23

Page 11: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 11

Figure 4: Pressure vs Lenth, 20 Step Discretizatoin

Pressure is highest in the middle of the block, at length x = 1000 ft. Then it smoothly drops to

boundary condition pressure as it reaches the end of the block at x = 2000 ft. (this is true for all

times). Pressure is symmetrical about the center of the block.

Pressure drops with time. At t = 0, the pressure is at its maximum, and as time increases it

smoothly drops. The change in pressure is lowest at t = 100 days.

Subtask 2

Our next look at the data will investigate the shape of the pressure – time relationship.

The figure below is P vs. t for the 100 time steps, 1 day each, and 20 distance steps, 100 ft. each.

Page 12: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 12

Figure 5: Pressure vs Time

Pressure is highest at the beginning, at time = 0 days, and drops slowly as time goes on (this is

true for all locations). Pressure is highest at the center (1000 ft.).

Note that the gradient of the pressure drop is larger at high pressures. This makes sense, as

higher pressure regions would tend to expel their fluid faster. This would result in a steeper

pressure drop.

We do not analyze isolines for values of x between 1000 and 2000 because they would be the

mirror image of the 0 to 1000 foot interval, as established in previous subtask, due to pressure

symmetry around the center of the block at x=1000 ft. So, for example, the pressure curve for x =

800 ft. would be identical to pressure curve for x = 1200 ft. on the above chart, and x = 200 ft.

would be identical to x = 1800 ft. This symmetry can be seen well in Figure 6:

Page 13: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 13

Figure 6: Pressure vs Distance and Time

In this figure, positon discretization number is displayed on the depth axis. It is seen that the

pressure drop is symmetric with respect to the middle positon, around the 10th discretization.

This corresponds to the 1000 foot interval; this is the reflective axis (Figure 4).

Subtask 3

Accurate numerical solutions depend on keeping the discretization error small. See Task 3 for a

discussion of discretization error. By increasing the size of βˆ†π‘₯π‘₯ and βˆ†πœ•πœ•, we can experimentally

determine the limits on these steps, within which (3a) continues to provide stable

approximations. β€œStability” here means that small increments in distance or time should not

generate large or oscillating values of pressure.

With the original time step of 1 day and distance step of 100 ft., the βˆ†π‘‘π‘‘(βˆ†π‘₯π‘₯)2 ratio is 1.00E-4 days

per square foot, and both of the P vs. x and P vs. t plots are stable. When we increase time step

Page 14: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 14

to 2 days, having a 2.00E-4 ratio, this behavior continues. Our solution stability problems begin

at t = 2.1 days, when the t = 100 day curve on P vs x plot starts to oscillate slightly. The ratio

here is 2.10E-4. Increasing to t = 2.14, the 100 day curve oscillates wildly, but the rest of the

time curves are still stable on P vs x plot. The ratio here is 2.14E-4.

So, the tolerable ratio would depend on the maximum time that we want to simulate. With that,

below is the table for allowable ratios provided we are using twenty distance steps.

Table 1: Maximum Solution Stability Limits

Time (days) Time step, βˆ†π’•π’• (days) Ratio of βˆ†π’•π’•(βˆ†π’™π’™)𝟐𝟐 , (days/sq. ft)

100 2.07 2.07E-4 75 2.22 2.22E-4 50 2.55 2.55E-4 25 4.00 4.00E-4

Note that decreasing time steps to below 1 day does not affect solution stability. It simply moves

curves closer to each other, and in P vs x chart all the pressure curves are grouped much closer to

the t = 0 day curve. Decreasing time to below 1 day does not seem to shift curves on P vs x chart.

Subtask 4

Having seen the effect of changing the length of the time step, we now investigate the result of

changing the distance step.

Page 15: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 15

Figure 7: Pressure vs distance with 200 ft. intervals

Here, (Figures 8 & 9), we have reduced our 20 distance steps of 100 ft to just 10 steps with 200

ft intervals.

Page 16: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 16

Figure 8: Pressure vs Time with 200 ft. interval

Note that with 10 distance steps, the pressure declines more steeply in P vs. t plot than in the

same plot with 20 time steps. In the 10 distance step P vs. x chart, the time isolines have

significantly lower maximum pressures at the peak of 1000 ft. (other than the pressure at initial

time, of course).

Let us explore the maximum ratios with distance steps of 200 ft. The initial, stable scenario is

200 ft. and one day; the ratio is 2.50E-5.

Page 17: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 17

Table 2: Comparison of Maximum Discretization Ratio

βˆ†π’•π’• (days) βˆ†π’•π’•/(βˆ†π’™π’™)^𝟐𝟐 (days / sq. ft)

Time 10 x-steps 20 x-steps 10 x-steps 20 x-steps

100 days 8.4 2.07 2.10E-4 2.07E-4 75 days 8.8 2.22 2.20E-4 2.22E-4 50 days 10.0 2.55 2.50E-4 2.55E-4 25 days 15.4 4.0 3.85E-4 4.00E-4

We can see that if we simulate a long period of time, the ratio is about the same, at 2.1E-4.

However if we want to simulate a shorter period of time, say 25 days or 50 days, then the ratio is

higher for the 20 step scenario. In general, the 10 distance step scenario allows for longer time

steps before becoming unstable. Even though the distance discretization is doubled, the

reduction in repetitive calculation error improves the stability of the result.

Subtask 5:

Analytical Solution

Recall our diffusivity equation and its boundary conditions:

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= οΏ½πœ™πœ™πœ™πœ™πœ™πœ™

0.002637π‘˜π‘˜οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

(1a)

𝑃𝑃0 = 𝑃𝑃(0, πœ•πœ•) = 1800 𝑝𝑝𝑝𝑝𝑇𝑇, 𝑓𝑓𝑑𝑑𝐴𝐴 πœ•πœ• > 0 (1b)

𝑃𝑃1 = 𝑃𝑃(𝐿𝐿, πœ•πœ•) = 1800 𝑝𝑝𝑝𝑝𝑇𝑇, 𝑓𝑓𝑑𝑑𝐴𝐴 πœ•πœ• > 0 (1c)

𝑃𝑃(π‘₯π‘₯, 0) = 1800 οΏ½1 + sin οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿�� 𝑝𝑝𝑝𝑝𝑇𝑇, 𝑓𝑓𝑑𝑑𝐴𝐴 0 < π‘₯π‘₯ < 𝐿𝐿 (1d)

Page 18: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 18

Consider this proposed solution (2a) to our linear diffusivity equation. For simplicity we

substitute 𝛼𝛼2 = οΏ½ πœ™πœ™πœ™πœ™πœ™πœ™0.002637π‘˜π‘˜

οΏ½:

𝑃𝑃(π‘₯π‘₯, πœ•πœ•) = 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

0.002637π‘˜π‘˜πœ‹πœ‹2

πœ™πœ™πœ™πœ™πœ™πœ™πΏπΏ2πœ•πœ•οΏ½οΏ½ (2a)

𝑃𝑃(π‘₯π‘₯, πœ•πœ•) = 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (2b)

We will first verify (1b), (1c), and (1d) by their subsequent substitution into (2b):

𝑃𝑃0 = 𝑃𝑃(0, πœ•πœ•) = 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹(0)𝐿𝐿

�𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (3a)

= 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛(0)𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (3b)

= 1800 οΏ½1 + (0)𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (3c)

= 1800 (3d)

𝑃𝑃1 = 𝑃𝑃(𝐿𝐿, πœ•πœ•) = 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹(𝐿𝐿)𝐿𝐿

�𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (4a)

= 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛(πœ‹πœ‹)𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (4b)

= 1800 οΏ½1 + (0)𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (4c)

= 1800 (4d)

Page 19: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 19

𝑃𝑃(π‘₯π‘₯, 0) = 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯π‘π‘οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2(0)οΏ½οΏ½ (5a)

= 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝(0)οΏ½ (5b)

= 1800 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� (1)οΏ½ (5c)

= 1800 οΏ½1 + sin οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿�� (5d)

Now that we know the boundary conditions check out, let’s generate our partial derivative for

time. Using (2b):

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

= 1800πœ•πœ•πœ•πœ•πœ•πœ•οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (6a)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

= 1800 οΏ½πœ•πœ•πœ•πœ•πœ•πœ•

(1) +πœ•πœ•πœ•πœ•πœ•πœ•οΏ½π‘π‘π‘‡π‘‡π‘›π‘› οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½οΏ½ (6b)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

= 1800 οΏ½0 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯πΏπΏοΏ½πœ•πœ•πœ•πœ•πœ•πœ•οΏ½π‘‡π‘‡π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½οΏ½ (6c)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

= 1800 �𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½

πœ•πœ•πœ•πœ•πœ•πœ•οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (6d)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

= 1800 �𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2οΏ½πœ•πœ•(πœ•πœ•)πœ•πœ•πœ•πœ•

οΏ½ (6e)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

= 1800 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2οΏ½ �𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ (1)οΏ½ (6f)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•

= 1800 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2οΏ½ 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ (6g)

Subbing into (1a), we have:

Page 20: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 20

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= 𝛼𝛼2 οΏ½1800 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2οΏ½ 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (7a)

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= 1800 οΏ½βˆ’πœ‹πœ‹2

𝐿𝐿2οΏ½ 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ (7b)

The uniformly negative value of πœ•πœ•2𝑐𝑐

πœ•πœ•π‘₯π‘₯2 for 0 < π‘₯π‘₯ < 𝐿𝐿 implies that 𝑃𝑃 will be curved downward for

the solution domain. This curvature reaches a maximum at (π‘₯π‘₯, πœ•πœ•) = �𝐿𝐿2

, 0οΏ½, and approaches zero

as 0 ← π‘₯π‘₯ β†’ 𝐿𝐿 or as πœ•πœ• β†’ ∞.

The 1st partial derivative of 𝑃𝑃 with respect to π‘₯π‘₯ is also developed from (2b):

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯

= 1800πœ•πœ•πœ•πœ•π‘₯π‘₯

οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½ (8a)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯

= 1800 οΏ½πœ•πœ•πœ•πœ•π‘₯π‘₯

(1) +πœ•πœ•πœ•πœ•π‘₯π‘₯

�𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½οΏ½οΏ½ (8b)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯

= 1800 οΏ½(0) + 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½

πœ•πœ•πœ•πœ•π‘₯π‘₯

�𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿��� (8c)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯

= 1800 �𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ πœ™πœ™π‘‘π‘‘π‘π‘ οΏ½

πœ‹πœ‹π‘₯π‘₯πΏπΏοΏ½πœ•πœ•πœ•πœ•π‘₯π‘₯

οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿�� (8d)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯

= 1800 �𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ πœ™πœ™π‘‘π‘‘π‘π‘ οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� οΏ½πœ‹πœ‹πΏπΏοΏ½πœ•πœ•πœ•πœ•π‘₯π‘₯

(π‘₯π‘₯)οΏ½ (8e)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯

= 1800 �𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ πœ™πœ™π‘‘π‘‘π‘π‘ οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� οΏ½πœ‹πœ‹πΏπΏοΏ½ (1)οΏ½ (8f)

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯

= οΏ½1800𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ οΏ½

πœ‹πœ‹πΏπΏοΏ½οΏ½ πœ™πœ™π‘‘π‘‘π‘π‘ οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� (8g)

Now, we use (8g) to find the 2nd partial:

Page 21: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 21

πœ•πœ•πœ•πœ•π‘₯π‘₯

οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯οΏ½ = οΏ½1800𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ οΏ½

πœ‹πœ‹πΏπΏοΏ½οΏ½

πœ•πœ•πœ•πœ•π‘₯π‘₯

οΏ½πœ™πœ™π‘‘π‘‘π‘π‘ οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿�� (9a)

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= οΏ½1800𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ οΏ½

πœ‹πœ‹πΏπΏοΏ½οΏ½ οΏ½βˆ’π‘π‘π‘‡π‘‡π‘›π‘› οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿��

πœ•πœ•πœ•πœ•π‘₯π‘₯

οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� (9b)

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= οΏ½1800𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ οΏ½βˆ’

πœ‹πœ‹πΏπΏοΏ½οΏ½ οΏ½

πœ‹πœ‹πΏπΏοΏ½πœ•πœ•πœ•πœ•π‘₯π‘₯

(π‘₯π‘₯) (9c)

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= οΏ½1800𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ οΏ½βˆ’

πœ‹πœ‹2

𝐿𝐿2�� (1) (9d)

πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

= 1800 οΏ½βˆ’πœ‹πœ‹2

𝐿𝐿2οΏ½ 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½

πœ‹πœ‹π‘₯π‘₯𝐿𝐿� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝐿𝐿2πœ•πœ•οΏ½ (9e)

Since (9e) is identical to (7b), we conclude that (2a) is a solution to (1a). It is one of a 2-

parameter family of solutions on 0 < π‘₯π‘₯ < 𝐿𝐿:

𝑃𝑃(π‘₯π‘₯, πœ•πœ•) = 𝜸𝜸 οΏ½1 + 𝑝𝑝𝑇𝑇𝑛𝑛 οΏ½πœ‹πœ‹π‘₯π‘₯𝑳𝑳� 𝑇𝑇π‘₯π‘₯𝑝𝑝 οΏ½βˆ’

πœ‹πœ‹2

𝛼𝛼2𝑳𝑳2πœ•πœ•οΏ½οΏ½ (10)

The 𝛾𝛾 parameter determines 𝑃𝑃(0,1) and 𝑃𝑃(0, 𝐿𝐿). The 𝐿𝐿 parameter is the upper domain boundary

in π‘₯π‘₯. Both parameters are needed to determine 𝑃𝑃(π‘₯π‘₯, 0).

Subtask 6

It’s always good to check on the accuracy of a numerical approximation process. By

numerically approximating a known analytical function, we can relate the relative accuracy of

the approximation process with time and distance. For this subtask we used the numerical

method with 100 ft. long distance steps (delta x = 100 ft.) and 1 day time steps (delta t = 1 day)

to arrive at matrix which had 0 to 99 day columns, and 0 to 20th distance steps (0 to 2000 ft.).

Page 22: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 22

The analytical matrix, which uses analytical solution (equation directly in terms of x and t), had

the same dimensions: 0 to 2000 feet distance in 0 to 20th time steps and 0 to 99th day in 1 day

time steps.

Average relative error was calculated (Figure 11):

Figure 9: Average Reletive Error

Here, (x0-x) is the absolute of difference (positive value) between the numerical and analytical

solutions, and x is the magnitude (positive value) of the analytical solution.

For the actual values to compare, we used the average pressure value for each row and column in

both numerical and analytical matrices. For example, average pressure was calculated for each

day step (each column), an array of those average pressures was created, and compared to array

of average pressure values in each column of second matrix. The same process was followed for

the average pressure for each row (time step) in both matrices.

Page 23: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 23

Figure 10: Average Relative Error vs Distance

The figure above shows average relative error with respect to length of the simulated block. We

can see that error is greatest in the middle of the block at x = 1000 ft., and the error smoothly

decreases toward zero at the ends of the block (x = 0 and x = 2000), where we are given the

value of pressure as a boundary condition.

Page 24: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 24

Figure 11: Average Relative Error vs. Time

This figure shows the average relative error with respect to simulation time. As the time grows,

so does the error. From the appearance of the curve, the relative error appears to grow without

bound as simulation time increases. This is likely because the numerical method becomes less

and less valid when we move further away from boundary/initial condition in both distance and

time.

However, an inspection of the fitting equation, displayed on the graph, indicates something

different. The quadratic equation will reach a maximum value for average relative error.

Afterwards, we might expect error to decrease as time grows without bound.

This makes sense, too. As the pressure throughout the reservoir heads to the boundary pressures

at π‘₯π‘₯ = {0, 𝐿𝐿} as time increases without bound, both the numerical and analytic expressions tend

asymptotically toward that boundary pressure. The difference between those expressions

Page 25: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 25

becomes smaller. So, the relative error, which is that difference divided by the analytic answer,

must go down, too.

Using the first derivative test on the trend line equation, we can estimate the time of the

maximum relative error:

2(βˆ’8𝐸𝐸 βˆ’ 08)π‘₯π‘₯ + 2𝐸𝐸 βˆ’ 05 = 0 (8a)

π‘₯π‘₯ =βˆ’2𝐸𝐸 βˆ’ 05

2(βˆ’8𝐸𝐸 βˆ’ 08) = 0.125𝐸𝐸3 = 125 𝑑𝑑𝐴𝐴𝑑𝑑𝑝𝑝 (8b)

So then we would expect the relative error to reach its maximum at 125 days.

TASK 2

The continuity equation is the basis for modeling fluid flow in porous media. In its radial form,

it may be combined with Darcy’s law and an equation of state to generate the radial diffusivity

equation.

Consider the volume element of thickness βˆ†π΄π΄ (below) located at distance 𝐴𝐴 from a well at the

center of a considered circular system. Suppose there is radial fluid flow through the element

towards the well at the center. The reservoir system is assumed to have constant thickness β„Ž, and

constant fluid and rock properties. We will now derive the continuity equation in its radial form

(ibid), which represents the conservation of mass for flow in radial systems (in the equation 𝜌𝜌

represents fluid density, 𝑒𝑒 represents the fluid flow velocity, and πœ™πœ™ the porosity of the system).

Page 26: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 26

Figure 12: Radial Continuity Equation

We start off by assuming that the annular volume element depicted above is fixed in space with

the positive radial direction defined as outward from the wellbore. The Continuity Principle

requires the following axiom:

𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 π΄π΄πœ™πœ™πœ™πœ™π‘’π‘’π‘‡π‘‡π‘’π‘’π‘‘π‘‘π΄π΄πœ•πœ•π‘‡π‘‡π‘‘π‘‘π‘›π‘› = 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 𝐼𝐼𝑛𝑛 + 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 πΊπΊπ‘‡π‘‡π‘›π‘›π‘‡π‘‡π΄π΄π΄π΄πœ•πœ•π‘‡π‘‡π‘‘π‘‘π‘›π‘› βˆ’ 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 π‘‚π‘‚π‘’π‘’πœ•πœ• (1)

The Law of Conservation of Mass requires that matter is neither generated, nor destroyed.

Therefore, we simplify to:

𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 π΄π΄πœ™πœ™πœ™πœ™π‘’π‘’π‘‡π‘‡π‘’π‘’π‘‘π‘‘π΄π΄πœ•πœ•π‘‡π‘‡π‘‘π‘‘π‘›π‘› = 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 𝐼𝐼𝑛𝑛 βˆ’ 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 π‘‚π‘‚π‘’π‘’πœ•πœ• (2)

Dividing both sides of the equation by time, we restate this as a balance of mass rates:

𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 π΄π΄πœ™πœ™πœ™πœ™π‘’π‘’π‘‡π‘‡π‘’π‘’π‘‘π‘‘π΄π΄πœ•πœ•π‘‡π‘‡π‘‘π‘‘π‘›π‘› π‘…π‘…π΄π΄πœ•πœ•π‘‡π‘‡ = 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 𝐹𝐹𝑑𝑑𝑑𝑑𝐹𝐹 π‘…π‘…π΄π΄πœ•πœ•π‘‡π‘‡ 𝐼𝐼𝑛𝑛 βˆ’ 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 𝐹𝐹𝑑𝑑𝑑𝑑𝐹𝐹 π‘…π‘…π΄π΄πœ•πœ•π‘‡π‘‡ π‘‚π‘‚π‘’π‘’πœ•πœ• (3)

We now need to define the geometry of our control volume. The inner side of the annulus is

located at distance 𝐴𝐴 from the wellbore, and has a thickness β„Ž. Its area 𝐴𝐴|π‘œπ‘œ is given by:

Page 27: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 27

𝐴𝐴|π‘œπ‘œ = 2πœ‹πœ‹π΄π΄β„Ž (4)

The outer side of the annulus is located at (𝐴𝐴 + βˆ†π΄π΄). Its area 𝐴𝐴|π‘œπ‘œ+βˆ†π‘œπ‘œ is given by:

𝐴𝐴|π‘œπ‘œ+βˆ†π‘œπ‘œ = 2πœ‹πœ‹(𝐴𝐴 + βˆ†π΄π΄)β„Ž (5)

The volume of the annulus is the difference between the smaller and larger cylinders:

𝑉𝑉 = πœ‹πœ‹(𝐴𝐴 + βˆ†π΄π΄)2β„Ž βˆ’ πœ‹πœ‹π΄π΄2β„Ž (6)

This simplifies to:

𝑉𝑉 = πœ‹πœ‹β„Ž[2π΄π΄βˆ†π΄π΄ + (βˆ†π΄π΄)2] (7)

By making βˆ†π΄π΄ arbitrarily small in comparison to 𝐴𝐴, we further simplify to:

𝑉𝑉 β‰ˆ 2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Ž (8)

The pore volume 𝑉𝑉𝑝𝑝, is simply the control volume 𝑉𝑉 multiplied by its porosity πœ™πœ™:

𝑉𝑉𝑝𝑝 β‰ˆ 2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Žπœ™πœ™ (9)

To find the mass 𝑀𝑀𝑝𝑝 within the pore volume, we multiply by the density 𝜌𝜌. Even though we are

assuming constant fluid properties, we are not assuming constant density. The value of 𝜌𝜌 will be

dependent on the radial distance from the wellbore. Our expressions will be general enough to

describe a fluid whose density varies with 𝐴𝐴, such as a gas. Therefore, 𝜌𝜌 must be considered

separately in each of our expressions, and we may not cancel a 𝜌𝜌 that appears in one expression

Page 28: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 28

with a 𝜌𝜌 appearing in a different expression. However, as βˆ†π΄π΄ becomes arbitrarily small, 𝜌𝜌

becomes constant within the pore volume. So we may state:

𝑀𝑀𝑝𝑝 β‰ˆ 2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Žπœ™πœ™πœŒπœŒ (10)

The mass in the pore volume at any time πœ•πœ• may be designated as 𝑀𝑀𝑝𝑝�𝑑𝑑:

𝑀𝑀𝑝𝑝�𝑑𝑑 β‰ˆ (2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Žπœ™πœ™πœŒπœŒ)|𝑑𝑑 (11)

At time πœ•πœ• + βˆ†πœ•πœ• we similarly state:

𝑀𝑀𝑝𝑝�𝑑𝑑+βˆ†π‘‘π‘‘ β‰ˆ (2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Žπœ™πœ™πœŒπœŒ)|𝑑𝑑+βˆ†π‘‘π‘‘ (12)

So the accumulation of mass βˆ†π‘€π‘€π‘π‘ over the interval βˆ†πœ•πœ• is simply:

βˆ†π‘€π‘€π‘π‘ = 𝑀𝑀𝑝𝑝�𝑑𝑑+βˆ†π‘‘π‘‘ βˆ’ 𝑀𝑀𝑝𝑝�𝑑𝑑 (13)

We have justly replaced the β€œapproximately equal β‰ˆβ€ sign, as the volumetric error of (βˆ†π΄π΄)2

from (7) does not change over βˆ†πœ•πœ•, and must therefore disappear in the difference.

The rate of mass accumulation in the pore volume is:

βˆ†π‘€π‘€π‘π‘

βˆ†πœ•πœ•=𝑀𝑀𝑝𝑝�𝑑𝑑+βˆ†π‘‘π‘‘ βˆ’ 𝑀𝑀𝑝𝑝�𝑑𝑑

βˆ†πœ•πœ• (14)

Plugging in (11) and (12) we obtain:

βˆ†π‘€π‘€π‘π‘

βˆ†πœ•πœ•=

(2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Žπœ™πœ™πœŒπœŒ)|𝑑𝑑+βˆ†π‘‘π‘‘ βˆ’ (2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Žπœ™πœ™πœŒπœŒ)|π‘‘π‘‘βˆ†πœ•πœ•

(15)

Page 29: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 29

Since the geometrical boundaries of the pore volume do not change over βˆ†πœ•πœ•, we pull out the

geometric factors:

βˆ†π‘€π‘€π‘π‘

βˆ†πœ•πœ•= 2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Ž

(πœ™πœ™πœŒπœŒ)|𝑑𝑑+βˆ†π‘‘π‘‘ βˆ’ (πœ™πœ™πœŒπœŒ)|π‘‘π‘‘βˆ†πœ•πœ•

(16)

The expression of (16) indicates that the quantity (πœ™πœ™πœŒπœŒ) varies over βˆ†πœ•πœ•. The increase in density 𝜌𝜌

of the pore volume is obviously due to the accumulation of mass within it. In addition, the

porosity πœ™πœ™ of the control volume can also increase, though the geometrical boundaries of the

control volume remain constant. This increase in porosity is due to the increase of pore pressure

with mass accumulation. The increasing pressure compresses the rock matrix, generating an

increasing pore volume – therefore a higher porosity for the control volume.

Taking the limit as βˆ†πœ•πœ• β†’ 0, we may state the mass accumulation rate as:

πœ•πœ•π‘€π‘€π‘π‘

πœ•πœ•πœ•πœ•= 2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Ž

πœ•πœ•(πœ™πœ™πœŒπœŒ)πœ•πœ•πœ•πœ•

(17)

We substitute (17) into (3) to obtain:

2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Žπœ•πœ•(πœ™πœ™πœŒπœŒ)πœ•πœ•πœ•πœ•

= 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 𝐹𝐹𝑑𝑑𝑑𝑑𝐹𝐹 π‘…π‘…π΄π΄πœ•πœ•π‘‡π‘‡ 𝐼𝐼𝑛𝑛 βˆ’ 𝑀𝑀𝐴𝐴𝑝𝑝𝑝𝑝 𝐹𝐹𝑑𝑑𝑑𝑑𝐹𝐹 π‘…π‘…π΄π΄πœ•πœ•π‘‡π‘‡ π‘‚π‘‚π‘’π‘’πœ•πœ• (18)

To find the mass flow rate, we first designate 𝑒𝑒, the average apparent fluid velocity. The actual

velocity of the fluid is higher, due to the fact that the fluid must move through the pore throats,

and can’t move through the rock matrix. However, 𝑒𝑒 is the average velocity over one of the

curved annular surfaces of the control volume as fluid appears to move radially toward the

wellbore.

Page 30: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 30

Although 𝐴𝐴 has already been defined as positive in the outward radial direction, we will define 𝑒𝑒

as positive towards the wellbore; 𝑒𝑒 is always a positive number that is dependent on the radial

distance from the wellbore. We designate 𝑒𝑒|π‘œπ‘œ as the fluid velocity at position 𝐴𝐴. The lower

velocity at (𝐴𝐴 + βˆ†π΄π΄) is then 𝑒𝑒|π‘œπ‘œ+βˆ†π‘œπ‘œ.

The volumetric outflow π‘žπ‘žπ‘œπ‘œπ‘œπ‘œπ‘‘π‘‘ through the inner annular surface located at 𝐴𝐴 is simply the average

velocity multiplied by the surface area 𝐴𝐴|π‘œπ‘œ:

π‘žπ‘žπ‘œπ‘œπ‘œπ‘œπ‘‘π‘‘ = 𝑒𝑒|π‘œπ‘œπ΄π΄|π‘œπ‘œ (19)

Subbing in (4), we obtain:

π‘žπ‘žπ‘œπ‘œπ‘œπ‘œπ‘‘π‘‘ = 𝑒𝑒|π‘œπ‘œ(2πœ‹πœ‹π΄π΄β„Ž) (20)

Since 𝑒𝑒 is being evaluated at position 𝐴𝐴, it is convenient to group those variables together:

π‘žπ‘žπ‘œπ‘œπ‘œπ‘œπ‘‘π‘‘ = 2πœ‹πœ‹β„Ž(𝑒𝑒𝐴𝐴)|π‘œπ‘œ (21)

The mass outflow rate πœ•πœ•π‘€π‘€π‘œπ‘œπ‘œπ‘œπ‘œπ‘œπœ•πœ•π‘‘π‘‘

is then found by multiplying by fluid density evaluated at 𝐴𝐴:

πœ•πœ•π‘€π‘€π‘œπ‘œπ‘œπ‘œπ‘‘π‘‘

πœ•πœ•πœ•πœ• = 2πœ‹πœ‹β„Ž(πœŒπœŒπ‘’π‘’π΄π΄)|π‘œπ‘œ (22)

The mass inflow rate may be similarly derived through the following steps:

π‘žπ‘žπ‘–π‘–π‘›π‘› = 𝑒𝑒|π‘œπ‘œ+βˆ†π‘œπ‘œπ΄π΄|π‘œπ‘œ+βˆ†π‘œπ‘œ (23)

π‘žπ‘žπ‘–π‘–π‘›π‘› = 𝑒𝑒|π‘œπ‘œ+βˆ†π‘œπ‘œ2πœ‹πœ‹(𝐴𝐴 + βˆ†π΄π΄)β„Ž (24)

π‘žπ‘žπ‘–π‘–π‘›π‘› = 2πœ‹πœ‹β„Ž(𝑒𝑒𝐴𝐴)|π‘œπ‘œ+βˆ†π‘œπ‘œ (25)

Page 31: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 31

πœ•πœ•π‘€π‘€π‘–π‘–π‘›π‘›

πœ•πœ•πœ•πœ• = 2πœ‹πœ‹β„Ž(πœŒπœŒπ‘’π‘’π΄π΄)|π‘œπ‘œ+βˆ†π‘œπ‘œ (26)

Subbing (22) and (26) into (18), we have:

2πœ‹πœ‹π΄π΄βˆ†π΄π΄β„Žπœ•πœ•(πœ™πœ™πœŒπœŒ)πœ•πœ•πœ•πœ•

= 2πœ‹πœ‹β„Ž(πœŒπœŒπ‘’π‘’π΄π΄)|π‘œπ‘œ+βˆ†π‘œπ‘œ βˆ’ 2πœ‹πœ‹β„Ž(πœŒπœŒπ‘’π‘’π΄π΄)|π‘œπ‘œ (27)

Rearranging and simplifying:

1𝐴𝐴

(πœŒπœŒπ‘’π‘’π΄π΄)|π‘œπ‘œ+βˆ†π‘œπ‘œ βˆ’ (πœŒπœŒπ‘’π‘’π΄π΄)|π‘œπ‘œβˆ†π΄π΄

=πœ•πœ•(πœ™πœ™πœŒπœŒ)πœ•πœ•πœ•πœ•

(28)

It’s important to understand what this equation implies. Over the positive distance interval βˆ†π΄π΄,

as one moves a small increment away from the well-bore, the product πœŒπœŒπ‘’π‘’π΄π΄ will increase if mass

in accumulating in the control volume. If the control volume is losing mass, then πœŒπœŒπ‘’π‘’π΄π΄ will

decrease over βˆ†π΄π΄. In a black oil reservoir above the bubble point experiencing steady state flow,

𝜌𝜌 is approximately constant, πœ•πœ•(πœ™πœ™πœŒπœŒ)πœ•πœ•π‘‘π‘‘

is zero; therefore 𝑒𝑒 ∝ 1π‘œπ‘œ.

The Taking the limit as βˆ†π΄π΄ β†’ 0, we state:

1π΄π΄πœ•πœ•(πœŒπœŒπ‘’π‘’π΄π΄)πœ•πœ•π΄π΄

=πœ•πœ•(πœ™πœ™πœŒπœŒ)πœ•πœ•πœ•πœ•

(29)

This is the radial continuity equation. Q.E.D.

Page 32: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 32

TASK 3

Dirichlet boundary condition

Suppose it is known that 𝑃𝑃 is a function of (π‘₯π‘₯, πœ•πœ•) with the conditions:

πœ•πœ•2𝑐𝑐

πœ•πœ•π‘₯π‘₯2= 𝛼𝛼2 πœ•πœ•π‘π‘

πœ•πœ•π‘‘π‘‘ ; 𝛼𝛼 is a constant (1𝐴𝐴)

π‘₯π‘₯| 0 ≀ π‘₯π‘₯ ≀ 𝐿𝐿 (1𝑏𝑏)

πœ•πœ•| πœ•πœ• β‰₯ 0 (1πœ™πœ™)

𝑃𝑃(π‘₯π‘₯, 0) = 𝑓𝑓(π‘₯π‘₯) 𝑓𝑓𝑑𝑑𝐴𝐴 π‘₯π‘₯| 0 < π‘₯π‘₯ < 𝐿𝐿 ; 𝑓𝑓(π‘₯π‘₯) is an explicit function (1𝑑𝑑)

𝑃𝑃(0, πœ•πœ•) = 𝑃𝑃(𝐿𝐿, πœ•πœ•) = 0 for πœ•πœ•| πœ•πœ• β‰₯ 0 (1𝑇𝑇)

We wish to derive a numerical approximation of 𝑃𝑃 for discretized values of π‘₯π‘₯| 0 < π‘₯π‘₯ < 𝐿𝐿 and

of πœ•πœ• > 0. The step lengths are denoted βˆ†π‘₯π‘₯ and βˆ†πœ•πœ• respectively. The step number in π‘₯π‘₯ will be

noted by the subscript 𝑇𝑇, and the step number in πœ•πœ• will be noted by the superscript 𝑛𝑛. Hence, we

seek an approximation function πœ“πœ“ of the equivalent forms:

𝑃𝑃(π‘‡π‘‡βˆ†π‘₯π‘₯, (𝑛𝑛 + 1)βˆ†πœ•πœ•) = πœ“πœ“οΏ½π‘ƒπ‘ƒοΏ½(𝑇𝑇 + 1)βˆ†π‘₯π‘₯,π‘›π‘›βˆ†πœ•πœ•οΏ½,𝑃𝑃(π‘‡π‘‡βˆ†π‘₯π‘₯,π‘›π‘›βˆ†πœ•πœ•),𝑃𝑃�(𝑇𝑇 βˆ’ 1)βˆ†π‘₯π‘₯,π‘›π‘›βˆ†πœ•πœ•οΏ½οΏ½ (2𝐴𝐴)

𝑃𝑃(π‘₯π‘₯𝑖𝑖, πœ•πœ•π‘›π‘› + βˆ†πœ•πœ•) = πœ“πœ“{𝑃𝑃(π‘₯π‘₯𝑖𝑖 + βˆ†π‘₯π‘₯, πœ•πœ•π‘›π‘›),𝑃𝑃(π‘₯π‘₯𝑖𝑖, πœ•πœ•π‘›π‘›),𝑃𝑃(π‘₯π‘₯𝑖𝑖 βˆ’ βˆ†π‘₯π‘₯, πœ•πœ•π‘›π‘›)} (2𝑏𝑏)

𝑃𝑃(π‘₯π‘₯𝑖𝑖, πœ•πœ•π‘›π‘›+1) = πœ“πœ“{𝑃𝑃(π‘₯π‘₯𝑖𝑖+1, πœ•πœ•π‘›π‘›),𝑃𝑃(π‘₯π‘₯𝑖𝑖, πœ•πœ•π‘›π‘›),𝑃𝑃(π‘₯π‘₯π‘–π‘–βˆ’1, πœ•πœ•π‘›π‘›)} (2πœ™πœ™)

𝑃𝑃𝑖𝑖𝑛𝑛+1 = πœ“πœ“{𝑃𝑃𝑖𝑖+1𝑛𝑛 ,𝑃𝑃𝑖𝑖𝑛𝑛,π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛 } (2𝑑𝑑)

Our explicit function for 𝑃𝑃𝑖𝑖0, and our given values for 𝑃𝑃0𝑛𝑛 and 𝑃𝑃𝐿𝐿𝑛𝑛 form the boundary conditions

that allow us to calculate all 𝑃𝑃𝑖𝑖𝑛𝑛 in an iterative fashion. For example:

Page 33: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 33

𝑃𝑃11 = πœ“πœ“{𝑃𝑃20,𝑃𝑃10,𝑃𝑃00} (3)

We know from (1𝑑𝑑) that 𝑃𝑃20 = 𝑓𝑓(2) and that 𝑃𝑃10 = 𝑓𝑓(1). We also know from (1𝑇𝑇) that 𝑃𝑃00 = 0.

If we just knew πœ“πœ“, then we could find 𝑃𝑃11. Similarly:

𝑃𝑃21 = πœ“πœ“{𝑃𝑃30,𝑃𝑃20,𝑃𝑃10} (4)

In this case, all the arguments of πœ“πœ“ are known from 𝑓𝑓(π‘₯π‘₯).

Similarly: If 𝐼𝐼 = πΏπΏβˆ†π‘₯π‘₯

, then 𝐼𝐼 represents the total number of steps in π‘₯π‘₯. Then:

𝑃𝑃𝑖𝑖𝑛𝑛+1 = πœ“πœ“{𝑃𝑃𝑖𝑖+1𝑛𝑛 ,𝑃𝑃𝑖𝑖𝑛𝑛,π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛 } (5𝐴𝐴)

π‘ƒπ‘ƒπΌπΌβˆ’11 = πœ“πœ“{𝑃𝑃𝐼𝐼0,π‘ƒπ‘ƒπΌπΌβˆ’10 ,π‘ƒπ‘ƒπΌπΌβˆ’20 } (5𝑏𝑏)

From (1𝑇𝑇), the Dirichlet boundary condition, we know that 𝑃𝑃𝐼𝐼0 = 0. The other arguments,

again, are from (1𝑑𝑑). Obviously, then, we can find any 𝑃𝑃𝑖𝑖1. Once we find all 𝑃𝑃𝑖𝑖1, we can use

(2𝑑𝑑) to find any 𝑃𝑃𝑖𝑖2 for π‘₯π‘₯| 0 ≀ π‘₯π‘₯ ≀ 𝐿𝐿 :

𝑃𝑃𝑖𝑖𝑛𝑛+1 = πœ“πœ“{𝑃𝑃𝑖𝑖+1𝑛𝑛 ,𝑃𝑃𝑖𝑖𝑛𝑛,π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛 } (6𝐴𝐴)

𝑃𝑃𝑖𝑖2 = πœ“πœ“{𝑃𝑃𝑖𝑖+11 ,𝑃𝑃𝑖𝑖1,π‘ƒπ‘ƒπ‘–π‘–βˆ’11 } (6𝑏𝑏)

It’s clear, then, that we will be able to find any 𝑃𝑃𝑖𝑖𝑛𝑛. This, then, is our motivation for seeking the

approximation function πœ“πœ“. If 𝑃𝑃(π‘₯π‘₯, πœ•πœ•) represents the pressure transient of a depleting reservoir,

then πœ“πœ“ would allow the generation of a numerical solution for 𝑃𝑃 in the typical case where an

analytical solution is not available.

Page 34: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 34

To begin, we take the Taylor series forward expansion of 𝑃𝑃 with regard to π‘₯π‘₯ (equivalent forms):

𝑃𝑃(π‘₯π‘₯ + βˆ†π‘₯π‘₯, πœ•πœ•) = 𝑃𝑃(π‘₯π‘₯, πœ•πœ•) +βˆ†π‘₯π‘₯1!οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯οΏ½π‘₯π‘₯

𝑑𝑑

+(βˆ†π‘₯π‘₯)2

2!οΏ½πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

οΏ½π‘₯π‘₯

𝑑𝑑

+(βˆ†π‘₯π‘₯)3

3!οΏ½πœ•πœ•3π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯3

οΏ½π‘₯π‘₯

𝑑𝑑

+ β‹― (7𝐴𝐴)

𝑃𝑃𝑖𝑖+1𝑛𝑛 = 𝑃𝑃𝑖𝑖𝑛𝑛 +βˆ†π‘₯π‘₯1!οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯�𝑖𝑖

𝑛𝑛

+(βˆ†π‘₯π‘₯)2

2!οΏ½πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

�𝑖𝑖

𝑛𝑛

+(βˆ†π‘₯π‘₯)3

3!οΏ½πœ•πœ•3π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯3

�𝑖𝑖

𝑛𝑛

+ β‹― (7𝑏𝑏)

Next, we take the backwards expansion:

π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛 = 𝑃𝑃𝑖𝑖𝑛𝑛 +(βˆ’βˆ†π‘₯π‘₯)

1!οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯�𝑖𝑖

𝑛𝑛

+(βˆ’βˆ†π‘₯π‘₯)2

2!οΏ½πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

�𝑖𝑖

𝑛𝑛

+(βˆ’βˆ†π‘₯π‘₯)3

3!οΏ½πœ•πœ•3π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯3

�𝑖𝑖

𝑛𝑛

+ β‹― (8)

We add (7𝑏𝑏) and (8):

𝑃𝑃𝑖𝑖+1𝑛𝑛 + π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛 = 2𝑃𝑃𝑖𝑖𝑛𝑛 + (βˆ†π‘₯π‘₯)2 οΏ½πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

�𝑖𝑖

𝑛𝑛

+ ⋯𝑂𝑂(βˆ†π‘₯π‘₯)4 (9)

The term 𝑂𝑂(βˆ†π‘₯π‘₯)4 represents the summation of the remaining terms not shown. The term 𝑂𝑂

means, β€œof order.” In other words, the remaining terms are at most of order, or proportional to

(βˆ†π‘₯π‘₯)4. Assuming βˆ†π‘₯π‘₯ β‰ͺ 1, then 𝑂𝑂(βˆ†π‘₯π‘₯)4 is negligible and may be safely ignored. This error

introduced to our approximation due to ignoring the remaining terms of the Taylor series

expansion is called the discretization error.

Rearranging (9) and simplifying:

𝑃𝑃𝑖𝑖+1𝑛𝑛 βˆ’ 2𝑃𝑃𝑖𝑖𝑛𝑛 + π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛

(βˆ†π‘₯π‘₯)2 = οΏ½πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

�𝑖𝑖

𝑛𝑛

(10)

Page 35: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 35

To make this equation more intuitively meaningful, consider the equivalent form:

�𝑃𝑃𝑖𝑖+1𝑛𝑛 βˆ’ π‘ƒπ‘ƒπ‘–π‘–π‘›π‘›βˆ†π‘₯π‘₯ οΏ½ βˆ’ �𝑃𝑃𝑖𝑖

𝑛𝑛 βˆ’ π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛

βˆ†π‘₯π‘₯ οΏ½

βˆ†π‘₯π‘₯=οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯�𝑖𝑖+12

π‘›π‘›βˆ’ οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯οΏ½π‘–π‘–βˆ’12

𝑛𝑛

βˆ†π‘₯π‘₯= οΏ½

πœ•πœ• οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯οΏ½πœ•πœ•π‘₯π‘₯

οΏ½

𝑖𝑖

𝑛𝑛

(11)

The group �𝑐𝑐𝑖𝑖+1𝑛𝑛 βˆ’π‘π‘π‘–π‘–

𝑛𝑛

βˆ†π‘₯π‘₯οΏ½ represents the estimate of οΏ½πœ•πœ•π‘π‘

πœ•πœ•π‘₯π‘₯�𝑖𝑖

𝑛𝑛 at a forward half-step, βˆ†π‘₯π‘₯

2. The central

approximation of change in οΏ½πœ•πœ•π‘π‘πœ•πœ•π‘₯π‘₯�𝑖𝑖

𝑛𝑛 over βˆ†π‘₯π‘₯ is expressed by the middle of (11).

Plugging (10) into (1a), we obtain:

𝑃𝑃𝑖𝑖+1𝑛𝑛 βˆ’ 2𝑃𝑃𝑖𝑖𝑛𝑛 + π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛

(βˆ†π‘₯π‘₯)2 = 𝛼𝛼2 οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•οΏ½π‘–π‘–

𝑛𝑛

(12)

The right side of (1a) has become defined in (12) at the particular discretization intervals of 𝑇𝑇 and

𝑛𝑛. This is the consequence of estimating the left side of (1a) in (12) at those intervals.

We now take the Taylor forward expansion-based approximation of 𝑃𝑃𝑖𝑖𝑛𝑛+1:

𝑃𝑃𝑖𝑖𝑛𝑛+1 = 𝑃𝑃𝑖𝑖𝑛𝑛 +βˆ†πœ•πœ•1!οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•οΏ½π‘–π‘–

𝑛𝑛

+(βˆ†πœ•πœ•)2

2!οΏ½πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•πœ•πœ•2

�𝑖𝑖

𝑛𝑛

+(βˆ†πœ•πœ•)3

3!οΏ½πœ•πœ•3π‘ƒπ‘ƒπœ•πœ•πœ•πœ•3

�𝑖𝑖

𝑛𝑛

+ β‹― (13)

𝑃𝑃𝑖𝑖𝑛𝑛+1 = 𝑃𝑃𝑖𝑖𝑛𝑛 +βˆ†πœ•πœ•1!οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•οΏ½π‘–π‘–

𝑛𝑛

+ ⋯𝑂𝑂(βˆ†πœ•πœ•)2 (14)

𝑃𝑃𝑖𝑖𝑛𝑛+1 βˆ’ 𝑃𝑃𝑖𝑖𝑛𝑛

βˆ†πœ•πœ•= οΏ½

πœ•πœ•π‘ƒπ‘ƒπœ•πœ•πœ•πœ•οΏ½π‘–π‘–

𝑛𝑛

(15)

Note that this approximation has a larger discretization error, which is proportional to (βˆ†πœ•πœ•)2.

The left hand side of (15) would actually approximate οΏ½πœ•πœ•π‘π‘πœ•πœ•π‘‘π‘‘οΏ½π‘–π‘–

𝑛𝑛+12 more closely. However, by we

Page 36: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 36

can minimize this error as much as we want by making βˆ†πœ•πœ• smaller. Subbing (15) into (12), we

obtain:

𝑃𝑃𝑖𝑖+1𝑛𝑛 βˆ’ 2𝑃𝑃𝑖𝑖𝑛𝑛 + π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛

(βˆ†π‘₯π‘₯)2 = 𝛼𝛼2𝑃𝑃𝑖𝑖𝑛𝑛+1 βˆ’ 𝑃𝑃𝑖𝑖𝑛𝑛

βˆ†πœ•πœ• (16)

Rearranging and solving for 𝑃𝑃𝑖𝑖𝑛𝑛+1:

𝑃𝑃𝑖𝑖𝑛𝑛+1 = 𝑃𝑃𝑖𝑖𝑛𝑛 +βˆ†πœ•πœ•

𝛼𝛼2(βˆ†π‘₯π‘₯)2(𝑃𝑃𝑖𝑖+1𝑛𝑛 βˆ’ 2𝑃𝑃𝑖𝑖𝑛𝑛 + π‘ƒπ‘ƒπ‘–π‘–βˆ’1𝑛𝑛 ) (16)

This is our approximation function πœ“πœ“ for 𝑃𝑃𝑖𝑖𝑛𝑛+1.

Neumann condition

Let’s suppose now that the boundary condition at 𝐿𝐿 is changed:

πœ•πœ•π‘π‘(𝐿𝐿,𝑑𝑑)πœ•πœ•π‘₯π‘₯

= 0 for πœ•πœ•| πœ•πœ• β‰₯ 0 (17)

Now we are no longer given the value of any 𝑃𝑃𝐼𝐼𝑛𝑛. We will be unable to utilize πœ“πœ“ to find any 𝑃𝑃𝑖𝑖𝑛𝑛

whose antecedent’s πœ“πœ“ function depends on a value of 𝑃𝑃𝐼𝐼𝑛𝑛. We need to use (17) to develop an

approximation procedure for 𝑃𝑃𝐼𝐼𝑛𝑛.

Let’s add βˆ†π‘₯π‘₯ to 𝐿𝐿 to create an imaginary set of 𝑃𝑃𝐼𝐼+1𝑛𝑛 values. Now we use (7b) and (8) to write the

forward and backward Taylor expansions of 𝑃𝑃𝐼𝐼𝑛𝑛:

𝑃𝑃𝐼𝐼+1𝑛𝑛 = 𝑃𝑃𝐼𝐼𝑛𝑛 +βˆ†π‘₯π‘₯1!οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯�𝐼𝐼

𝑛𝑛

+(βˆ†π‘₯π‘₯)2

2!οΏ½πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

�𝐼𝐼

𝑛𝑛

+(βˆ†π‘₯π‘₯)3

3!οΏ½πœ•πœ•3π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯3

�𝐼𝐼

𝑛𝑛

+ β‹― (18)

π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 = 𝑃𝑃𝐼𝐼𝑛𝑛 +(βˆ’βˆ†π‘₯π‘₯)

1!οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯�𝐼𝐼

𝑛𝑛

+(βˆ’βˆ†π‘₯π‘₯)2

2!οΏ½πœ•πœ•2π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯2

�𝐼𝐼

𝑛𝑛

+(βˆ’βˆ†π‘₯π‘₯)3

3!οΏ½πœ•πœ•3π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯3

�𝐼𝐼

𝑛𝑛

+ β‹― (19)

Page 37: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 37

Subtract (19) from (18) and simplifying:

𝑃𝑃𝐼𝐼+1𝑛𝑛 βˆ’ π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 = 2βˆ†π‘₯π‘₯ οΏ½πœ•πœ•π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯�𝐼𝐼

𝑛𝑛

+(βˆ†π‘₯π‘₯)3

3οΏ½πœ•πœ•3π‘ƒπ‘ƒπœ•πœ•π‘₯π‘₯3

�𝐼𝐼

𝑛𝑛

+ β‹― (20𝐴𝐴)

𝑃𝑃𝐼𝐼+1𝑛𝑛 βˆ’ π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 = 2βˆ†π‘₯π‘₯(0) + 𝑂𝑂(βˆ†π‘₯π‘₯)3 (20𝑏𝑏)

𝑃𝑃𝐼𝐼+1𝑛𝑛 = π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 (20πœ™πœ™)

Note that at (20b) we applied (17) to render οΏ½πœ•πœ•π‘π‘πœ•πœ•π‘₯π‘₯�𝐼𝐼

𝑛𝑛= 0. Taking (16) at 𝐼𝐼:

𝑃𝑃𝐼𝐼𝑛𝑛+1 = 𝑃𝑃𝐼𝐼𝑛𝑛 +βˆ†πœ•πœ•

𝛼𝛼2(βˆ†π‘₯π‘₯)2(𝑃𝑃𝐼𝐼+1𝑛𝑛 βˆ’ 2𝑃𝑃𝐼𝐼𝑛𝑛 + π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 ) (21)

Subbing (20c) into (21) and simplifying, we have:

𝑃𝑃𝐼𝐼𝑛𝑛+1 = 𝑃𝑃𝐼𝐼𝑛𝑛 +βˆ†πœ•πœ•

𝛼𝛼2(βˆ†π‘₯π‘₯)2(π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 βˆ’ 2𝑃𝑃𝐼𝐼𝑛𝑛 + π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 ) (22𝐴𝐴)

𝑃𝑃𝐼𝐼𝑛𝑛+1 = 𝑃𝑃𝐼𝐼𝑛𝑛 +2βˆ†πœ•πœ•

𝛼𝛼2(βˆ†π‘₯π‘₯)2(π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 βˆ’ 𝑃𝑃𝐼𝐼𝑛𝑛) (22𝑏𝑏)

As long as we are given all of 𝑃𝑃𝑖𝑖0, including 𝑃𝑃𝐼𝐼0, we can then use (22b) to find 𝑃𝑃𝐼𝐼1. If we use (16)

to find the rest of 𝑃𝑃𝑖𝑖1, then we can use (22b) again to find 𝑃𝑃𝐼𝐼2. Clearly, we will be able to

approximate the remaining values of 𝑃𝑃𝑖𝑖𝑛𝑛.

Sometimes the Neumann condition is stated in a more general form:

πœ•πœ•π‘π‘(𝐿𝐿,𝑑𝑑)πœ•πœ•π‘₯π‘₯

= 𝐢𝐢 for πœ•πœ•| πœ•πœ• β‰₯ 0 ; 𝐢𝐢 is a constant (23)

This would require the modification of (20b) through (22b) as follows:

Page 38: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 38

𝑃𝑃𝐼𝐼+1𝑛𝑛 βˆ’ π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 = 2βˆ†π‘₯π‘₯(𝐢𝐢) + 𝑂𝑂(βˆ†π‘₯π‘₯)3 (24𝐴𝐴)

𝑃𝑃𝐼𝐼+1𝑛𝑛 = π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 + 2πΆπΆβˆ†π‘₯π‘₯ (24𝑏𝑏)

𝑃𝑃𝐼𝐼𝑛𝑛+1 = 𝑃𝑃𝐼𝐼𝑛𝑛 +βˆ†πœ•πœ•

𝛼𝛼2(βˆ†π‘₯π‘₯)2(π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 + 2πΆπΆβˆ†π‘₯π‘₯ βˆ’ 2𝑃𝑃𝐼𝐼𝑛𝑛 + π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 ) (25𝐴𝐴)

𝑃𝑃𝐼𝐼𝑛𝑛+1 = 𝑃𝑃𝐼𝐼𝑛𝑛 +2βˆ†πœ•πœ•

𝛼𝛼2(βˆ†π‘₯π‘₯)2(π‘ƒπ‘ƒπΌπΌβˆ’1𝑛𝑛 βˆ’ 𝑃𝑃𝐼𝐼𝑛𝑛 + πΆπΆβˆ†π‘₯π‘₯) (25𝑏𝑏)

For these cases, we need to know the value of 𝐢𝐢 to complete our approximations.

TASK 4

Reservoir simulation is a branch of reservoir engineering in which reservoir models are

built to predict fluid flow behavior through porous media. Such reservoir models can be either

physical (such as laboratory sand packs) or more often numerical. Numerical (i.e. mathematical)

models are built on a set of equations that - subject to certain assumptions and constraints -

describes the physical processes active in the reservoir. Reservoir simulation is an invaluable

tool used widely by the upstream petroleum industry to estimate reservoir field performance over

time under various producing schemes, thereby leading to more accurate assessments of risk and

reserves and more cost-effective field development planning.

This section of the report presents a comparative table that highlights key similarities and

differences between the two principal types of numerical reservoir simulators - black-oil and

compositional simulators. The key difference between these two types of models is rooted in the

methods used by the two simulators to characterize the phase behavior of a reservoir fluid.

Page 39: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 39

Table 3: Black-Oil vs Compositional Simulator

BLACK-OIL SIMULATOR COMPOSITIONAL SIMULATOR

Description β€’ A fluid model which assumes that the stock-tank oil and gas have multiple components, and that all of the resulting fluid PVT behavior is a function of temperature and pressure only

β€’ A fluid model which treats each individual component in the hydrocarbon fluid mixture separately and handles each in terms of moles of the individual components

Capabilities β€’ Characterized by the number of fluid phases present (1, 2, or 3), the direction of flow, and the type of solution used for the complex fluid flow equations

β€’ Concerned with modeling the phase behavior of the individual components (C1, C2, etc.) present in a hydrocarbon fluid mixture

Similarities β€’ Both simulators are built to model reservoir fluid behavior for the purposes of aiding in the design of production processes and equipment

Differences β€’ Governed only by fluid flow mechanisms

β€’ Oil and gas phases are each represented by a single component

β€’ Liquid/gas stock-tank compositions of the separator flash conditions are assumed constant, regardless of pressure

β€’ Equations are written in terms of stock-tank volumes

β€’ Governed by fluid flow and phase composition flow mechanisms

β€’ Oil and gas phases are represented as multi-component mixtures

β€’ Equations are written at reservoir conditions under the assumption that a valid EOS model can be used to represent fluid phase behavior

Advantages β€’ Suitable for most petroleum reservoirs; can be used in ~90% of all petroleum reservoir simulation studies

β€’ Can be used to model most reservoir fluids, including dry gases, wet gases, heavy oils and volatile oils

β€’ Run times normally do not adversely affect the required total study time

β€’ Capable of handling higher degree of complexity in fluid composition and behavior

β€’ Can be used to accurately model lean gas cycling in the presence of oil that will vaporize in the lean gas

Disadvantages β€’ Breaks down in cases where lean gases such as CO2 or CH4 are cycled in the presence of a liquid phase Cannot model variability in oil

vaporization since there’s only 1 oil component

Under-predicts early oil vaporization in the presence of injected lean gas when used to model gas recycling processes

β€’ Does not model the effects of changes in reservoir fluid composition that may occur with depletion over time

β€’ Run times can become long enough to adversely affect total study times and can require significantly more computing (CPU) power to perform

β€’ Software interfaces tend to lag behind those of black oil simulators since it is used only by a small community of experts

β€’ Requires the use of a verified EOS model to represent the fluid properties of the different components

Page 40: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 40

Process

Applications

β€’ Black-oil simulators can be appropriately used for the vast majority of petroleum reservoir fluid systems

β€’ For wet gas and volatile oil applications, a modified black-oil simulator can be constructed if PVT data for the reservoir includes both the gas dissolved in the oil phase and the oil dissolved in the gas.

β€’ Compositional simulators are built to calculate residual fluid volumes resulting from phase behavior interactions and thus can model fluid saturation as a process variable, rather than requiring it as an input that must be defined by the user in order to perform the simulation

TASK 5

The goal of this task was to research the main commercial and open-source simulators that are

available for use in reservoir simulation studies. The key aspects of each simulator were

organized in the following series of tables.

Table 4: Commercial Simulators

Name ECLIPSE RESERVOIR SIMULATOR

Company Owner(s) Schlumberger

Overview β€’ Arguably the industry’s most complete and robust numerical simulator β€’ Offers fast and accurate prediction of dynamic behavior for all reservoir

types and development schemes

Characteristics

& Key Features

β€’ Covers the entire spectrum of reservoir models – black-oil, compositional, thermal finite-volume, and streamline simulation

β€’ Capable of modeling chemical reactions that occur in the reservoir and can simulate both live and dead oil behaviors

β€’ Ideal for simulating thermal recovery methods like steam-assisted gravity drainage (SAGD) applied to heavy (high viscosity) oil reservoirs Can be used to build low-temperature thermal models suitable for

conducting laboratory experiments β€’ Includes features designed for modeling reservoirs with complex

stratigraphy and well designs Dual completions, horizontal multi-stage fracture treatments, etc.

Applications β€’ Capable of modeling and simulating nearly all processes, including: Steam-assisted gravity drainage (SAGD) Steam flooding In-situ combustion Cyclic steam injection

Page 41: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 41

Name IMEX RESERVOIR SIMULATOR

Company Owner(s) Computer Modeling Group LTD (CMG)

Overview β€’ Regarded as one of the most efficient conventional three-phase black-oil simulators available on the market

β€’ Used to history match and forecast performance of primary, secondary and tertiary recovery processes

Characteristics

& Key Features

β€’ Generates simulation results faster than with any other black-oil simulator β€’ Allows for quick screening of various recovery mechanisms prior to

moving to more complex simulations β€’ Capable of accurately modeling the matrix-fracture transfer in naturally

and/or hydraulically fractured reservoirs β€’ Allows for easy transition to modeling of EOR processes in sister

applications GEM and STARS β€’ Seamlessly interfaced with CMOST to permit rapid history matching and

efficient development of reservoir management workflows

Applications β€’ Can be used to model shale gas adsorption effects β€’ Useful for a wide variety of applications, including:

Conventional and unconventional reservoirs Enhanced oil recovery (EOR) processes Coupled surface network modeling

Page 42: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 42

Name JEWELSUITETM SUBSURFACE MODELING

Company Owner(s) Baker-Hughes

Overview β€’ User-friendly subsurface modeling software that can be used to build accurate 3D reservoir models with high structural complexity.

β€’ Models are designed to capture regional and local structural variations and can be easily updated to incorporate new wells and geologic information

Characteristics

& Key Features

β€’ Features a modern intuitive user interface, automatic and semi-automatic workflows and build-in smart rules to accelerate the learning curve for new users and reduce the risk of errors along with project study times

β€’ Offers the most advanced multidisciplinary knowledge and techniques available for quick, accurate and effective data interpretation

β€’ Can be used as a standalone software application or in conjunction with other JewelSuite or third party software to complement other workflows

β€’ Uses a patented grid building technology to generate an advanced β€œJewel” grid with faulted cells which are are cut and offset by the faults

Applications β€’ Can be used to build accurate and complex 3D reservoir models β€’ Other areas of application include:

Seismic data visualization and interpretation (time-depth conversion) Well correlation and structural modeling 3D gridding and reservoir property modeling via geostatistics Volumetrics, well planning, and multi-point statistics (MPS)

Page 43: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 43

Name TNAVIGATOR

Company Owner(s) Rock Flow Dynamics (RFD)

Overview β€’ Interactive black-oil, compositional, and thermal simulator capable of using multi-core, multi-CPU systems

β€’ Designed for performing dynamic black-oil, compositional, and thermal compositional reservoir simulations on laptops, servers and High Performance Computing (HPC) clusters

Characteristics

& Key Features

β€’ Written in C++ β€’ Employs Qt graphics libraries to create true multiplatform system β€’ Offers interactive user control of the simulation run, allowing users to

monitor every step of the simulation at runtime and, with just a simple mouse click, to directly interrupt and modify the simulation configuration

β€’ Incorporates state-of-the-art computing technologies like NUMA and Hyperthreading to exceed the performance of other competitor dynamic simulation tools

β€’ Utilizes a fully implicit time scheme which allows for large time steps based on specific approximation criteria

β€’ Uses a Bi-Conjugate Gradient Stabilized (BCGS) algorithm to solve systems of linear equations

β€’ Handles only state variables of the reservoir model to prevent hard disk operational restrictions during simulation runs

Applications β€’ Useful for a wide variety of applications such as: Injection optimization Waterflooding Sidetrack planning Field development planning and optimum well placement Modeling of natural and hydraulic fracture effects

Page 44: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 44

Name FLOWSIM STUDIO

Company Owner(s) Plano Research

Overview β€’ Provides a fully implicit, three-phase, three-dimensional black-oil and composite reservoir simulator

β€’ Simulates dynamic responses of petroleum reservoir performance by computing oil, gas and water phase flow behavior within the reservoir

Characteristics

& Key Features

β€’ Capable of handling both single and dual porosity reservoirs β€’ Regarded as being extremely flexible and user-friendly β€’ Features various gridding options like rectangular, radial, corner point, to

handle complex reservoir structures β€’ Local grid refinement and curvilinear grids can be used to model

areas of high activity such as near the well bores β€’ High-level summary of key features:

Well data and simulation controls Real-time reservoir monitoring 2D mapping and plotting and 3D visualization capabilities

Applications β€’ Can be used to simulate surface gas network operations and partial field model linking

β€’ Can also be used for complex well modeling, multi-reservoir simulation, analysis of aquifer influx in water-drive reservoirs, and miscible flooding processes, among others

Page 45: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 45

Table 5: Public Domain Simulators

Name UTCHEM

Funding / Ownership University of Texas at Austin

Overview β€’ A three-dimensional, multiphase, multicomponent, compositional, variable temperature, finite-difference numerical reservoir simulator

Characteristics

& Key Features

β€’ Code was written to run on most Unix workstations and Windows PCs β€’ Designed for third-order finite difference modeling with a flux limiter β€’ Assumes constant pressure boundaries and can model both horizontal and

vertical wells β€’ Features Cartesian, radial, and curvilinear gridding options β€’ Handles heterogeneous permeability and porosity reservoirs β€’ Also has a variety of groundwater hydrology applications

Applications β€’ Developed by the Department of Energy’s National Petroleum Technology Office for applications such as: Tracer tests for characterizing both single and dual porosity oil reservoirs Polymer and high pH chemical flooding for enhanced oil recovery (EOR) Analysis of Surfactant EOR including the use of polymers and foam Profile control of oil wells with polymer gels Simulating skin damage of oil wells

Name MATLAB RESERVOIR SIMULATION TOOLBOX (MRST)

Funding / Ownership SINTEF Applied Mathematics

Overview β€’ Consists of two main parts: (1) a core that offers basic functionality, and (2) a set of add-on modules that provide discretization, solvers and other workflow tools

Characteristics

& Key Features

β€’ Features a comprehensive set of routines and data structures for reading, representing, processing and visualizing unstructured grids

β€’ Designed with special emphasis on the corner-point gridding format used widely in the oil and gas industry

β€’ Contains mimetic and multiscale flow solvers as well as transport solvers

Applications β€’ Intended mainly as a toolbox for prototyping, testing and demonstration of new simulation techniques and modeling concepts on unstructured grids

Page 46: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 46

Name PC-GEL SIMULATOR

Funding / Ownership IIT Research Institute

National Institute for Petroleum & Energy Research (NIPER)

Overview β€’ A three-dimensional, three-phase permeability modification simulator developed by incorporating an in-situ gelation model into a black-oil simulator (BOAST)

Characteristics

& Key Features

β€’ Features include: Modeling of transport of each species of polymer/crosslinker system Modeling of gelation reaction kinetics of polymers with crosslinkers Rheology of the gel and polymer Inaccessible pore volume to macromolecules Adsorption of chemical species on rock surfaces Retention of gels on grains in the rock matrix Permeability reductions caused by adsorption of polymers and gels

Applications β€’ Simulation and optimization of primary reservoir field production β€’ Waterflooding and polymer flooding β€’ Permeability modification treatments (acidizing, fracturing, etc.)

Page 47: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 47

Name GEMINI

(GEO-ENGINEERING MODELING THROUGH INTERNET FORMATICS)

Funding / Ownership U.S. Department of Energy (DOE)

Kansas Geological Survey (KGS)

Overview β€’ A public domain web application centered on analysis & modeling of petroleum reservoirs and resource plays

β€’ Creates projects from on-line data that comes from the KGS server or is uploaded by the user

Characteristics

& Key Features

β€’ Provides optional security features to users (authorized access & passwords) β€’ Features the following standalone analysis toolkit modules: PVT analysis Material balance Gridding and mapping LAS (well log) viewer Lease & field production reporting and analysis

Applications β€’ Designed for small independents and consultants seeking to find, quantitatively characterize and develop bypassed reservoirs by levering the growing base of digital data resource

Page 48: Assignment 3 Report F2015 Finished

Assignment 3

PETR 5325 (Fall 2015) 48

Name OPM

(OPEN POROUS MEDIA)

Funding / Ownership Supported by various research groups in different countries

(Suite to be released under General Public Licensing (GPL) agreement)

Overview β€’ The OPM initiative offers a set of tools useful for simulating flow and transport behavior of fluids in porous media

Characteristics

& Key Features

β€’ Notable features of this open-source toolkit include: Maintains open-source code and data sets, so anyone with knowledge or

interest can learn and suggest improvements Built-in functionality to support multiple areas of application Versatile and can be made to support workflows in other scientific or

industrial fields

Applications β€’ Applications are similar to the other software discussed, including: CO2 sequestration processes Enhanced oil recovery methods