This manual is the continuation of the one provided within the First Step With Athos workshop hands-on. Normally you can not go ahead if the previous step has not been completed.
Let us summerize the present situation:
First creating a project, a field a reservoir, a study and a case. Then we moved to the two dimensional build part of simview: we had to bring ascii files, mainly providing with thickness, porosity, and permeability information. Next, we built an internal data base by geometrical and petrophysical gridded data. Then we defined geometrical and petrophysical properties of a 3D geological model that will be the skeleton of the simulation grid. The last step was to build the basic grids, which consists in defining geometrico-petrophysical properties of the different grid levels of the simulation grid. We built 4 sub-grids. Finally, we affected correct data to these levels and initialzed them properly.
What you have to keep on mind during this last step is that the father grid of sub_1 (the first sub-grid level) is basic grid; sub_1 will be the father grid of sub_2, and so on. The tutorial does not mention this point very clearly, which can cause a loss of time and a trouble. Athos error messages are very vague and it is quiet hard to interpret them.
Right now, we have imported all the geological data which are necessary to realize a simulation. We should have now all the tools to run an Athos simulation and get the results. We will essentially focus on input and output files of an ATHOS simulation run. By comparison, we keep a file of physical field wells performances.
Injecting input files:
The tutorial metions the four of them. But as it is not updated, they are not all valid. Here is the list of recent availble input files:
Dol_title.edo contains the header of ATHOS data file
Dol_pvt.key contains pvt data
Dol_roc.key contains Kr-Pc data
Dol_hist.key contains production history data.
Those should be provided by M. Schmitz. They must be put in your working directory.
Dol.int1 is the input file where production and grid results are stored.
Field measurements file:
This file will be used later, when evaluating the code performance. It is called Dol_Injection.mes
Here, the description of this step is vague, please refer to the Simivew tutorial for further details , page 200.
To proceed, click under the case Injection of your field to show its characteristics. Those are listed with blue icons. The second should be Initial Grids. When you click on the corrsponding blue box, you see : "Root". Again, click once on the blue cube that appears in front of it. Now make a long click under "Basic". Among diplayed options, select Simview to ATHOS.
You are now in the "Create ATHOS key words" window. You wil have to load the input files we previously listed. The correct order is: Dol_title.edo , Dol_pvt.key , Dol_roc.key , SIMView grid , Dol_hist.key . for this, highlight in red the button next to "Grid data". You can then move different files by phushing on "Down" and "Up" buttons. Now, input "Dol_run.edo" under "Main file name", and click on "Export" , so that ATHOS key words will be created in your directory. Exit using "Close".
Now that the pre-processing is completed, we can launch ATHOS simulation of the flow. This part also describes the way to get the results, to store them. We will see later how we can make a graphic exploitation.
Two ways are possible:
First, enter "Run ATHOS" module, displayed when you make a long right mouse button click, under the Injection case.
A new window appears.
Follow instructions listed below:
1. The first input field is filled with the prefix to ATHOS files. Simply enter "Dol_Injection". Do not worry about extensions.
2. Switch on the buttons in front of 'MODULE : PRE, 'MODULE : PRO' and 'MODULE : POST'. This is so that PRE, PRO, and POST will be launched in that order.
3. Make sure that 'Load Simulated Production' and 'Load Result Grids' are highlighted, so that we can pick up the results.
When this is completed, you can realize your ATHOS simulation. Just click on Run.
In the directory where the .edo file have been created, type "goathos". This run an UNIX script.
1. It asks you for which module you want to use. So type "pre" or enter to start the preprocessor which check and compile the .edo file.
2. The script asks you which module pre you want to use. Usually, you have only one module installed, so typed "1" or enter.
3. Enter the name of your .edo file. Notice that goathos lists all the edo files present in the directory.
4.Enter the name of a directory, where temporary files will be stored.
5. Type run, if you want to execute the pre module, but we suggest you to execute in the same time the three modules (pre, pro, and pos). So type "pro" or enter to run the proprocesseur which prepare some file used to calculate the results.
6. Choose which module pro you want to use. Usually, you have only one module installed, so typed "1" or enter.
7. Enter the job database (type enter for the default name).
8. Enter the name of a temporary directory.
9. Type "pos" or enter to run the posprocessor module. This one generates files which are used in the plottig part.
10. Choose which module pro you want to use. Usually, you have only one module installed, so typed "1" or enter.
11. Enter the job database.
12. Type the name of the file where the results would be stored (it is a .sdo file).
13. Enter the name of a temporary directory.
14. The final step: type "run" or enter to. This run all of the module successively.
15. You can choose the date of the computation. Type enter to run it now.
Then, 3 temporary directories, a .int1 result file, and a .log file, will be created. The .log file is a summary of the "run" in goathos:
Importing simulated results:
Make a long click on the case. Go to ATHOS To SIMView. You are now in a new window.
In the uppermost, click on Browse. Select the ATHOS results file called "Dol.int1", under the directory examples. Now, write "Dol_Injection" instead of "Dol_Save" , which should be set by default. Finally, click on "Imoprt" to bring all the results to SIMIView database. HERE is the test of all your work : you should see 2 hierachic levels under the case "Injection": 'Result Grids : Dol_Injection' and 'Simulated Productions: Dol_Injection'.
If not, you have to start all the ATHOS TO SIMView part once more... Our advise here is to use the delete option, by making a long click on the case. And then realize all the steps carefully, possibly using the tutorial.
Importing experimental results file:
As metionned above, the field measurements file, "Dol_Injection.mes" is available. To import it, long click on the case and select "Measure to Simview". Here again, Browse and look for the correct file. Open it. Switch off '<> File with Header' and 'Use initial date from file'.
The most delcate step happens when you click on Scan. You move to a new window, that contains a table. Actually, the table given by the tutorial (page 204) is not exactly the one you should see. Thus, there are no stars in the first row of the matrix.
As decribed in the tutorial, you will have to modify the first row components. For all of them, click with the right mouse button, and select the new word:
For the last 4 element, you have to choose: "Keyword", under the pop-up menu before you access to the right words.
At this moment, the level "Production Measurements : Dol_Field" will be created under the SIMIView data browser tree.
Quit the module by clicking on "Close".
This option is very rich. It gives great possibilities to represent all sorts of results and to compare them.
You can access to XY plot by clicking on Simlated Productions.
The main options described by the tutorial are summerized below:
<Graph> under the left part of the window is used to draw an XY plot borders. Select this button, and move the mouse to the main white screen. You can delimit the boundries by clicking on the left mouse button. To draw other parameters, do the operation once more.
<Move> enables to change the position of graphics. To activate it, select the graphic you have to move by clicking once on it. Then go to the <Move>. Lastly, you can translate the cursor. A simpler way to do that is to handle the rectangle with the central mouse button. You can this way equalize rectangles sizes.
Shift + <Select> allows to make a multiple selection.
<Align> is used to line up the the frames, by selecting <Left Sides>. Previously, you have to select both graphics.
How to draw a result:
In order to choose which production item you will plot, we proceed this way:
1. Click on <Add>. This brings us to a window made with two columns.
2. Click on PROD11 item of the left column. Click on <Done>.
3. Click on Parameter. Select <list>. This provides a list of available parameters that can be represented.
note: You have chosen to be interested on wells. So you must click on <Well> under Item type to put other items away.
4. Click on 'PUIQOS: oil rate at surface condition'. This way, you will vizualize the temporal evolution of the oil rate.
Other options, like homogenisation of scales, changing line styles and thicknesses are exposed in the help.pdf file. It also explains how to plot several parameters in the same frame. Then, you can also have a look at the way you can modify the legend and the title. Please refer to the page 213-214.
The rest of the instructions mainly concerns how to use different graphics and how to compare them with the field measurements. We judged that this part is linked more to an exploitation of ATHOS simulation results, more than it is linked to Run The Software Athos. This is the reason why we do not detail it and let it for a further topic in the New WorkShop Hands-on.
Two others plotters exist in SIMVIEW: 2D Plot and 3D Plot.
2D plot works likely XY Plot. The <cross> button allows you to create cross section.
3D Plot permit you to plot all the results in a 3D view, but the CPU time to this work is very long.