
- •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.
sequence of X-files can be, <root>.X0000, <root>.X0010, <root>.X0015, <root>.X0023,...
<root>.X0000 is always the initial restart file (if requested). <root>.X0010 is the first restart file in the sequence (not counting the initial), and is created at milestone 10. The files <root>.S0010 and <root>.X0010 are written at the same date. (Note that this was different in early versions of Eclipse.)
12. Restarting a simulation
As described above, a restart is what we do when we pick up the simulated state at some date (where we have a restart file available), and start a new simulation from that date. Development of the state up to the point where we do the restart is then assumed to be described by the run we restart from.
In Eclipse, restarts can be done as “standard” or from SAVE files. The “standard” way is more flexible, but the SAVE way is normally faster. We will not discuss the SAVE way here.
In a “standard” restart, the simulation is defined in the usual manner, but initialised by the restart data. I.e., the restart run needs all the standard initialisation data except the equilibration which is no longer valid. The restarted run must be given a case name different from the original run. Then the procedure to create a restart run is,
Assume the original run is called CASE1.DATA. We will restart this run from time step (milestone) 20, where the state has been saved in a file CASE1.X0020.
We will name the restarted run CASE1_R1.DATA. First create CASE1_R1.DATA as a copy of
CASE1.DATA. Then edit the contents of CASE1_R1.DATA:
•In section SOLUTION delete equilibration keywords (and enumeration and analytic aquifers if used).
•Insert a keyword RESTART (in SOLUTION section) to specify which run to restart from, and at
which time step. In our example,
RESTART
‘CASE1’ 20 /
•In the SCHEDULE section delete all well and time-stepping keywords up to and including the restart time. (But see below, the SKIPREST keyword)
•Start run (from Eclipse panel you would choose CASE1_R1 as the case name)
The Eclipse post-processing software knows all about restarts, so if the last restart is given as file name, it will automatically nest itself backwards to the correct beginning.
The SKIPREST keyword
The modifications to be done in the SCHEDULE section are error-prone, and many users have had bad experiences with omitting too much or too little data. Eclipse has therefore provided a solution which is highly recommended:
If a keyword SKIPREST is inserted at the beginning of the SCHEDULE section, Eclipse will skip all data that is not needed for the defined restart, and enter the section at precisely the correct position.
66