- •Basics of Reservoir Simulation
- •with the
- •Eclipse Reservoir Simulator
- •Lecture Notes
- •Øystein Pettersen
- •Introduction
- •Prerequisites
- •1. Overview – minimum required data input
- •1.1 The grid
- •1.2 Petrophysics
- •1.3 Fluid properties
- •1.4 Soil properties
- •1.5 Equilibration
- •1.6 Well specification
- •1.7 Dynamics
- •1.8 Output
- •1.9 Simple Eclipse data file contents
- •A. Syntax
- •B. Data file (“BASIC data input example”)
- •A note on units
- •2. The RUNSPEC section
- •Grid dimension – keyword DIMENS
- •Phases
- •Unit system
- •Start date
- •Unified / Non-unified files (chapter 11)
- •Data checking only
- •Table dimensions
- •EQLDIMS
- •NSTACK (chapters 17-18)
- •Aquifer specifications – AQUDIMS (chapter 14)
- •Grid options (chapter 13)
- •Rock compressibility options (chapter 6)
- •Local Grid Refinement (chapter 15)
- •3. Structured grids (Corner point grids) (GRID section)
- •The Corner Point Grid
- •Defining a corner point grid in Eclipse
- •Moderately complex grids – FILL
- •4. Petrophysics (GRID section)
- •Average permeability
- •Transmissibility
- •Inactive cells
- •5. Fluid properties (PROPS section)
- •Tables in Eclipse
- •Relative permeability and Capillary Pressure
- •Two-phase curves (water – oil)
- •Three-phase relative permeabilities
- •PVT data
- •Water
- •Dead Oil
- •Live Oil
- •6. Soil compressibility (PROPS section)
- •7. Initialisation (SOLUTION section)
- •Datum depth
- •Contacts
- •Equilibrium – discussion – advanced issues
- •8. Time dependent input data (SCHEDULE section)
- •8.1 Well definitions and control
- •Well Specification (WELSPECS keyword)
- •Well Completions (COMPDAT keyword)
- •Production / Injection data (Keywords WCONPROD / WCONINJE)
- •Economic well constraints (keywords WECON, WECONINJ)
- •Other often used Well control keywords
- •8.2 Time stepping
- •Order of actions
- •8.3 Convergence Control I (keyword TUNING)
- •9. Regions
- •10. Simplified input and modification of Eclipse arrays
- •EQUALS
- •ADD, MULTIPLY
- •COPY
- •COPYBOX
- •11. Eclipse output, formats and files
- •File names
- •Textual output
- •The RPTXXX keywords
- •Time dependent vectors – SUMMARY data
- •Restart data and restart files
- •12. Restarting a simulation
- •The SKIPREST keyword
- •13. Fault modelling – Non-neighbour connections
- •The 7-point stencil
- •The fault layout – non-neighbour connections
- •Fault transmissibility multipliers
- •Defining a fault manually – the ADDZCORN keyword
- •14. Aquifer Modelling (GRID section)
- •Aquifer definition
- •Aquifer connection to reservoir
- •15. Local Grid Refinement
- •15.2 LGR on an irregular volume – Amalgamation
- •15.3 Wells on local grids – Horizontal wells
- •15.4 Horizontal wells and friction
- •16. Numerical Solution of the Flow Equations
- •The IMPES method
- •Solution of Non-linear Equations – the Newton-Raphson method
- •17. Iteration methods for linear systems
- •Direct, simple approach
- •The Gauss-Seidel method
- •Accelerators – the point SOR method
- •Conjugate Gradients – ORTHOMIN
- •Preconditioning
- •Preconditioning and Orthomin
- •Determining a preconditioner – Nested Factorisation
- •18. Convergence Control II – TUNING parameters
- •TUNING keyword summarized
- •19. Non-neighbour Connections and System Structure
- •A. GRF files in GRAF
- •A simple straightforward GRF file
- •Advanced GRF file
- •B. Some Considerations Regarding Grid Consistency
- •Grids planned for use in rock mechanics simulations
- •Embedding
- •Non-vertical coordinate lines
- •Honouring material properties of non-reservoir rock.
Basics of Reservoir Simulation
with the
Eclipse Reservoir Simulator
Lecture Notes
Øystein Pettersen
© Dept. of Mathematics, Univ. of Bergen, 2006
Contents
LIST OF FIGURES |
4 |
INTRODUCTION |
5 |
Prerequisites |
7 |
1. OVERVIEW – MINIMUM REQUIRED DATA INPUT |
7 |
1.1 The grid |
7 |
1.2 Petrophysics |
7 |
1.3 Fluid properties |
8 |
1.4 Soil properties |
8 |
1.5 Equilibration |
8 |
1.6 Well specification |
8 |
1.7 Dynamics |
8 |
1.8 Output |
8 |
1.9 Simple Eclipse data file contents |
8 |
A. Syntax |
8 |
B. Data file (“BASIC data input example”) |
11 |
A note on units |
14 |
2. THE RUNSPEC SECTION |
17 |
Grid dimension – keyword DIMENS |
17 |
Phases |
17 |
Unit system |
17 |
Start date |
18 |
Unified / Non-unified files (chapter 11) |
18 |
Data checking only |
18 |
Table dimensions |
18 |
Well data dimensions |
19 |
NSTACK (chapters 17-18) |
19 |
Aquifer specifications – AQUDIMS (chapter 14) |
19 |
Grid options (chapter 13) |
19 |
Rock compressibility options (chapter 6) |
19 |
Local Grid Refinement (chapter 15) |
20 |
3. STRUCTURED GRIDS (CORNER POINT GRIDS) (GRID SECTION) |
20 |
The Corner Point Grid |
21 |
Defining a corner point grid in Eclipse |
23 |
Moderately complex grids – FILL |
24 |
4. PETROPHYSICS (GRID SECTION) |
25 |
Average permeability |
25 |
Transmissibility |
27 |
Inactive cells |
29 |
5. FLUID PROPERTIES (PROPS SECTION) |
29 |
Tables in Eclipse |
29 |
Relative permeability and Capillary Pressure |
30 |
Two-phase curves (water – oil) |
30 |
Three-phase relative permeabilities |
32 |
PVT data |
32 |
Water |
33 |
Dead Oil |
34 |
Dry Gas |
35 |
Live Oil |
36 |
1
6. SOIL COMPRESSIBILITY (PROPS SECTION) |
37 |
7. INITIALISATION (SOLUTION SECTION) |
38 |
Datum depth |
38 |
Contacts |
39 |
The Nacc parameter – accuracy of initial fluids in place calculations |
39 |
Equilibrium – discussion – advanced issues |
40 |
8. TIME DEPENDENT INPUT DATA (SCHEDULE SECTION) |
41 |
8.1 WELL DEFINITIONS AND CONTROL |
41 |
Well Specification (WELSPECS keyword) |
41 |
Well Completions (COMPDAT keyword) |
42 |
Production / Injection data (Keywords WCONPROD / WCONINJE) |
45 |
Economic well constraints (keywords WECON, WECONINJ) |
48 |
Other often used Well control keywords |
49 |
8.2 TIME STEPPING |
50 |
Order of actions |
51 |
8.3 CONVERGENCE CONTROL I (KEYWORD TUNING) |
51 |
9. REGIONS |
53 |
10. SIMPLIFIED INPUT AND MODIFICATION OF ECLIPSE ARRAYS |
54 |
BOX |
54 |
EQUALS |
55 |
ADD, MULTIPLY |
56 |
COPY |
57 |
COPYBOX |
57 |
11. ECLIPSE OUTPUT, FORMATS AND FILES |
58 |
File names |
58 |
Textual output |
58 |
The RPTXXX keywords |
59 |
Time dependent vectors – SUMMARY data |
61 |
Restart data and restart files |
64 |
12. RESTARTING A SIMULATION |
66 |
The SKIPREST keyword |
66 |
13. FAULT MODELLING – NON-NEIGHBOUR CONNECTIONS |
67 |
The 7-point stencil |
67 |
The fault layout – non-neighbour connections |
67 |
Fault transmissibility multipliers |
69 |
Defining a fault manually – the ADDZCORN keyword |
72 |
14. AQUIFER MODELLING (GRID SECTION) |
74 |
Aquifer definition |
75 |
Aquifer connection to reservoir |
77 |
15. LOCAL GRID REFINEMENT |
77 |
15.2 LGR on an irregular volume – Amalgamation |
80 |
2
15.3 Wells on local grids – Horizontal wells |
80 |
15.4 Horizontal wells and friction |
83 |
16. NUMERICAL SOLUTION OF THE FLOW EQUATIONS |
85 |
The IMPES method |
87 |
Solution of Non-linear Equations – the Newton-Raphson method |
90 |
Overview of equation solving (time step advancement) in Eclipse |
92 |
17. ITERATION METHODS FOR LINEAR SYSTEMS |
93 |
Direct, simple approach |
93 |
The Gauss-Seidel method |
94 |
Accelerators – the point SOR method |
94 |
Conjugate Gradients – ORTHOMIN |
94 |
Preconditioning |
96 |
Preconditioning and Orthomin |
97 |
Determining a preconditioner – Nested Factorisation |
97 |
18. CONVERGENCE CONTROL II – TUNING PARAMETERS |
99 |
TUNING keyword summarized |
102 |
19. NON-NEIGHBOUR CONNECTIONS AND SYSTEM STRUCTURE |
102 |
A. GRF FILES IN GRAF |
106 |
A simple straightforward GRF file |
106 |
Advanced GRF file |
107 |
B. SOME CONSIDERATIONS REGARDING GRID CONSISTENCY |
109 |
Grids planned for use in rock mechanics simulations |
109 |
Embedding |
110 |
Non-vertical coordinate lines |
111 |
Honouring material properties of non-reservoir rock. |
111 |
Rev 02.2009 |
3 |
List of Figures
Figure 1. |
Regular Cartesian Grid |
15 |
Figure 2. |
Regular XY-Cartesian Grid |
15 |
Figure 3. |
Irregular structured grid |
16 |
Figure 4. |
Unstructured grid |
16 |
Figure 5. |
Cell indices and coordinate indices in a structured grid |
21 |
Figure 6. |
Three of the four cells sharing a coord line, and some corner points |
22 |
Figure 7. |
Cross-section view of a fault in a corner point grid |
22 |
Figure 8. |
A shaly layer modelled as a gap (non-grid) in a corner point grid |
23 |
Figure 9. |
Discretisation notation |
28 |
Figure 10. |
Typical two-phase relative permeability curves |
30 |
Figure 11. |
Volume factor and viscosity, dead oil (from example PVDO table) |
34 |
Figure 12. |
Volume factor and viscosity for dry gas (from example PVDG table) |
35 |
Figure 13. |
Variation of live oil volume factor, below bubble point and two branches |
|
|
above (from example PVTO table) |
37 |
Figure 14. |
Pressure variation near well bore – without skin and with positive skin |
44 |
Figure 15. |
The 7-point stencil schematic |
67 |
Figure 16. |
Sand to sand communication across a fault (vertical cross section) |
68 |
Figure 17. |
Example XY-view of fault |
71 |
Figure 18. |
Example use of continuity flags in ADDZCORN, left hand x-direction |
73 |
Figure 19. |
Examples of use of combinations of cell index and zeros to move ind. corners |
74 |
Figure 20. |
Examples of use of inactive cells to define aquifers (grid viewed from above) |
75 |
Figure 21. |
Gas cone near a horizontal well, fine grid, vertical cross section |
77 |
Figure 22. |
As figure 21, but on a coarse grid |
78 |
Figure 23. |
Extending resolution of fine cells non-uniformly, XY-view |
78 |
Figure 24. |
Example where one cell in original grid has been replaced with an LGR |
79 |
Figure 25. |
Example LGR on irregular area (XY view) |
80 |
Figure 26. |
A horizontal well on a standard grid (XY view) |
81 |
Figure 27. |
As Figure 26, but using LGR near the well |
81 |
Figure 28. |
Actual well path (grey) and grid approximation (black) (XY-view) |
84 |
Figure 29. |
Natural ordering of a 4 x 3 x 2 grid |
86 |
Figure 30. |
Coefficient matrix for a 4 x 3 x 2 grid (x means “nonzero element”) |
84 |
Figure 31. |
Solving a nonlinear problem with the Newton-Raphson method |
90 |
Figure 32. |
Labelling the seven diagonals in a 7-diagonal matrix |
98 |
Figure 33. |
A grid with ZYX ordering |
103 |
Figure 34. |
System structure for grid in Figure 33 |
103 |
Figure 35. |
Grid as in Figure 33, but with fault |
104 |
Figure 36. |
System structure for faulted grid |
104 |
4