Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Ковалевский. Книжки по геостатистике / Basics_of_Reservoir_Simulation_with_eclipse_simulator.pdf
Скачиваний:
182
Добавлен:
03.06.2015
Размер:
1.34 Mб
Скачать

A. GRF files in GRAF

The graphics post-processor GRAF is used for visualising summary data, and has been part of the Eclipse suite since the very beginning. Even though it has been “modernized” a bit, no one can argue that as an interactive tool it is at best cumbersome to use. However, GRAF has some very powerful batch processing capabilities, and utilizing these can make the program quite efficient in use.

The batch processing is enabled by the menu choice 8.2, execute GRF file. GRAF then reads batch commands from a so-called GRF file, and processes the commands to create and modify a set of pictures as requested by the user. The user will typically have one or several “standard” GRF files available, and by a quick editing of the appropriate file can generate the needed pictures quickly.

For a detail description of GRF commands, the user should consult the GRAF manual, but most of the more common commands are used in the examples below, which are conveniently commented.

A simple straightforward GRF file

--Standard input characterisation SET CONTINUATION '&'

SET INPUT UNFORMATTED SET INPUT MULTIPLE SET WSP UNFORMATTED SET GRIDFILE EGRID

--Load command. Loads the summary files EKS1.S000, EKS1.S001,...

--Origin is used as a mnemonic, and is the name all create commands

--later will use as reference (esp. relevant if several cases are loaded)

LOAD SUMMARY EKS1 ORIGIN EKS1 NORESTART

--

--PICTURE is an entire page CREATE PICTURE 1

--Every picture may contain several GRAPHS, which are separate plot

--windows.

CREATE GRAPH 1

--All curves are generated by “CREATE LINE” command, Y-axis VS X-axis.

--X-axis is typically TIME or YEARS. The axes are ordered as they are

--created, so X-axis is AXIS 1, first Y-axis is AXIS 2,...

--Y-axis is the property to plot. All plot properties must be recognizable

--Summary keywords (which have been loaded)

CREATE LINE FOPR VS YEARS EKS1

--Another curve in the same plot. To use the same Y-axis as for FOPR,

--specify OLDY 2, which means use the (old) AXIS 2 as Y-axis

CREATE LINE FWPR VS YEARS EKS1 OLDX 1 OLDY 2

--FPR (Field pressure) has incompatible units with existing axis, so

--specify new Y-axis. (Becomes AXIS 3)

CREATE LINE FPR VS YEARS EKS1 OLDX 1 NEWY

--

--Create a new picture, containing two GRAPHS, i.e. two “windows”

--First GRAPH contains four curves, second one.

CREATE PICTURE 2

CREATE GRAPH 1

CREATE LINE WOPR WP1 VS YEARS EKS1

CREATE LINE WOPR WP2 VS YEARS EKS1 OLDX 1 OLDY 2 CREATE LINE WOPT WP1 VS YEARS EKS1 OLDX 1 NEWY CREATE LINE WOPT WP2 VS YEARS EKS1 OLDX 1 OLDY 3

--

CREATE GRAPH 2

CREATE LINE WWCT WP1 VS YEARS EKS1 END

106

Advanced GRF file

The following GRF file contains many “advanced” uses, and shows how a little work up front can save a lot of time later.

SET CONTINUATION '&'

--

SET INPUT UNFORMATTED SET INPUT MULTIPLE SET WSP UNFORMATTED SET GRIDFILE EGRID

--

SET INPUT UNIFIED

--

--In this example we define some variables at the start of the file.

--If we later use the file for a different run, with another name, and

--other well names, only these lines at the head of the GRF file need

--to be changed.

--Two different runs will be loaded, and for simplicity we use the same

--ORIGIN name as the CASE name.

--Variables in GRAF are identified by a trailing %.

ASSIGN CASE1% = EX3A

 

 

ASSIGN CASE2% = EX3B

 

 

ASSIGN WELLP1% = WP1A

 

 

ASSIGN WELLP2% = WP2AH

 

 

ASSIGN WELLI1% = WI1

 

 

ASSIGN WELLI2% = WI2B

 

 

--

CASE1%

ORIGIN CASE1%

NORESTART

LOAD SUMMARY

LOAD SUMMARY

CASE2%

ORIGIN CASE2%

NORESTART

--

 

 

 

CREATE PICTURE 1

CREATE GRAPH 1

CREATE LINE FOPR VS YEARS CASE1%

CREATE LINE FWPR VS YEARS CASE1% OLDX 1 OLDY 2 CREATE LINE FOPR VS YEARS CASE2% OLDX 1 OLDY 2 CREATE LINE FWPR VS YEARS CASE2% OLDX 1 OLDY 2 CREATE GRAPH 2

CREATE LINE FOPT VS YEARS CASE1%

CREATE LINE FWPT VS YEARS CASE1% OLDX 1 OLDY 2 CREATE LINE FOPT VS YEARS CASE2% OLDX 1 OLDY 2 CREATE LINE FWPT VS YEARS CASE2% OLDX 1 OLDY 2

--

--

CREATE PICTURE 2

CREATE GRAPH 1

CREATE LINE WOPR WELLP2% VS YEARS CASE1% CREATE LINE WOPR WELLP2% VS YEARS CASE2% CREATE GRAPH 2

CREATE LINE WOPR WELLP1% VS YEARS CASE1% CREATE LINE WOPR WELLP1% VS YEARS CASE2% CREATE GRAPH 3

CREATE LINE WOPT WELLP2% VS YEARS CASE1% CREATE LINE WOPT WELLP2% VS YEARS CASE2% CREATE GRAPH 4

CREATE LINE WOPT WELLP1% VS YEARS CASE1% CREATE LINE WOPT WELLP1% VS YEARS CASE2%

--

.

.

.

--Modification commands are used to change the default appearance of

--the picture or graphs

107

MODIFY PICTURE 1

--The BOUNDARY is the rectangle enclosing the entire picture BOUNDARY POSITION 0.005 0.103 0.995 0.955

--Redefine Picture title

TITLE IS Field Fluid Production rates and totals

-- Move title to desired position (can be done interactively first) TITLE POSITION 0.307 0.688

MODIFY GRAPH 1

--The VBOUNDARY is the View Boundary, i.e. the rectangle enclosing all

--the GRAPHS

--The GBOUNDARY is the GRAPH boundary, the rectangle enclosing each GRAPH

--window.

--Advice: To get the different BOUNDARY coordinates, first set the

--rectangle interactively in GRAF for one picture. Then request writing

--of GRF file, and use copy & paste to resize other pictures to the same

--size.

VBOUNDARY POSITION 0.005 0.053 0.495 0.995

GBOUNDARY POSITION 0.096 0.069 0.988 0.843

--Modify GRAPH title and position GTITLE IS Field oil & water rates GTITLE POSITION 0.163 0.776

--Change character size in title GTITLE HEIGHT 0.024

--Move curve legends

CONTENTS POSITION 0.17 0.701

--Change contents and character size for legend MODIFY LINE 1

TITLE IS Oil rate CASE1% TITLE HEIGHT 0.02 MODIFY LINE 2

TITLE IS Water rate CASE1% TITLE HEIGHT 0.02

MODIFY LINE 3

TITLE IS Oil rate CASE2% TITLE HEIGHT 0.02 MODIFY LINE 4

TITLE IS Water rate CASE2% TITLE HEIGHT 0.02

--Change axis 2 (the Y-axis)

MODIFY AXIS 2

--Set min and max values on the axis MIN 2000

MAX 4000

--Set primary and secondary tickmarks PTSPACE 1000

STSPACE 250

--Set Tickmark label spacing

SCSPACE 1000

-- Use a field width of 6 characters on axis label FORMAT 6

--

END

108

Соседние файлы в папке Ковалевский. Книжки по геостатистике