chapter 08_defining a simulation case

Upload: agung-sandi-agustina

Post on 02-Jun-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    1/45

    Defining a Simulation Case

    To construct a simulation case within Petrel you use the Define simulation caseprocessin the Simulationfolder of the Processes; this will enable you to pull together already-defined models, functions and controls into a case defining the model that will run in this

    simulation.

    The Define simulation caseprocess will not be available before the necessary objectshave been created. Full or partial cases can be created. When a case is saved or eported,a brief validation report is created and displayed, describing any missing, incorrect orinconsistent data within the case.

    Simulation case process steps

    !efining a simulation case consists of specifying the input properties, then selectingpredefined initial conditions and fluids models, roc" physics functions, and development

    strategies. #ou can select the results that the simulation should generate and the type ofsimulator. The completed simulation case will appear in the list in the Casespane.

    How to define a simulation case

    To add a new simulation case to the list in the Casespane$

    %. &n the Processespane, open Simulationand select Define simulation case. This willopen the Define simulation casedialog.

    '. (elect Create new caseand enter the name for the new simulation case into the

    adjacent field.

    ). (elect the Simulatorfrom the drop-down list.

    *. (elect the Typeof simulation model from drop-down list. &f you select Dual Porosityor Dual Permeabilityporosity models, then you are prompted for additional properties inthe Gridtab. For most grid properties you can tic" the chec"bo in the final column onthe +rid tab to define a different property for fractures as opposed to the roc" matri.

    . (elect the Gridfor the simulation from the drop-down list. This contains all the gridsset up in the Modelspane. The initial inputs for the simulation case will be etractedfrom the grid information, but you can change these if you want.

    ote$ The inputsmustinclude permeability on three aes &, / and 01 and porosity.

    2. To enter more inputs from an eisting model into the Gridtab, add a new blan" item atthe appropriate place in the table using the buttons immediately above the table. 3pen themodel in the Modelspane, and then select a )! grid property, a transmissibilitymultiplier, an a4uifer or a local grid set. 5lic" the Drop in selected itembutton. 6 newinput will be created and if there is a default Keywordthis will be shown. &f there is no

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    2/45

    default, or if you wish to change the current selection, clic" on the "eyword column andselect from the list of permissible Keywords.

    ote$ #ou can select the "eyword first, but you can then only insert an input that matchesyour "eyword. &f you clic" on the Multiple drop in the tablebutton, clic"ing the Dropin selected itembutton will fill the rest of the table in the column with objects listed

    below the selected object in the Properties folder of the Modelspane.

    7. &n the Functionstab, define your P8T, saturation and other roc" physics functions.#ou add functions to the left hand list by selecting them from the top drop-down menu,and then define the functions by dropping in your fluids and roc" physics functions intothe right hand table. 3nly one instance of each function can be added to the list.

    a. First select lac! "il fluids model #P$T%in the Functionsdrop-down menu, to add&nitial 5onditions and P8T functions. 5hec"Initialize by equilibration, unless you haveprovided the grid properties P9:((9:, (W6T, (+6(, 9( or P

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    3/45

    you want to add. 5lic" on the &nsertbutton. The new strategy will be added into thetable.

    ?. &n the 'esultstab, set up the report properties and outputs that will be produced fromthe simulation when the case is run.

    %@. &n the +d)ancedtab, specify the simulator version. &f you are using Front(im, thistab will also contain setup options for the simulator. Petrel will select default entries forthese, and you must ma"e changes only if you fully understand the conse4uences. &f youhave any doubts, please leave the default selections.

    %%. 5lic" on +pplyto create the new simulation case.

    %'. 9epeat the process to create all your simulation cases.

    %). 5lic" on "Kto close the dialog.

    &f you want to chec" the consistency of the simulation case, clic" on the Chec!button.ote that this will not run the full simulation.

    &f you want to eport the simulation "eywords and run the simulation, clic" on the 'unbutton. The consistency of the case will be chec"ed before the simulation runs. While thesimulation is running, you can abort the run by clic"ing on +bort.

    &f you want to eport the "eywords without running the simulation, clic" on the *(portbutton.

    How to set up a ,ueue Definition for 'emote -ob Submission

    To set up a new ,ueue Definitionfor 'emote -ob Submissionof simulation runs$

    %. From the menu toolbar, select Tools . System settings/This will open the Systemsettingsdialog.

    '. &n the window that opens, go to the ,ueue definitiontab.

    ). (elect +dd a new 0ueuebutton to add a new 4ueue definition to Petrel.

    *. &n the 1ame field, specify a name for the 4ueue definition. This will be listed in the

    drop-down menu in the +d)ancedtab of the Define simulation caseprocess.

    . &n the Ser)er field, specify the server address for the machine where the simulationshould be submitted.

    2. &n the 'emote directory field, enter a remote directory on the server machine to runthe simulation.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    4/45

    7. &n the Chec! e)ery field, enter a time interval in minutes for fetching the simulationresults in the chec" every field.

    >. &n the 2SF 0ueue field, specify the 2oad Sharing Facility A(F1 4ueue for the remoteserver machine.

    ?. &n the Comms system field, enter the communication system used for message passingfor parallel runs, if the remote server machine supports parallel runs.

    %@. &n the Hostfile field, specify the hostfile location used on the remote server, if theremote server machine support parallel runs.

    %%. The remote server machine will also re4uire that a userid and password be defined, inorder to access the remote server for submitting simulation jobs. This information is only"ept until Petrel eits, and you will need to re-type the userid and password when you re-run Petrel.

    %'. 5lic" on "Kto apply and close the dialog.

    How to edit an e(isting simulation case

    %. &n the Processespane, open Simulationand select Define simulation case. This willopen the Define simulation case dialog.

    '. (elect *dit e(isting caseand choose the simulation case from the drop-down list.

    ). 5hange the simulation parameters as re4uired.

    *. 5lic" on +pplyto update the simulation case.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    5/45

    . 5lic" on "Kto close the dialog.

    How to e(port simulation !eywords

    :ither$

    %. &n the Processespane, open Simulationand select Define simulation case. This willopen the Define simulation case dialog.

    '. (elect *dit e(isting case and choose the simulation case from the drop-down list.

    ). 5lic" on the *(portbutton. This will not run the simulation.

    3r$

    %. 9ight-clic" on the simulation item for the case, in the Casespane, and selectSimulation *(port "nlyfrom the contet menu.

    The consistency of the case will be chec"ed before the "eywords are eported; avalidation report with warnings or errors will be displayed, if necessary. The eport willcreate a set of data files on dis" for the simulation, which include a B.!6T6C file. Thestatus of and path to the B.!6T6C file is shown in the simulation case (ettings dialog, inthe &nfo tab.

    How to run a simulation

    :ither$

    %. &n the Processespane, open Simulationand select Define simulation case. This willopen the Define Simulation Casedialog.

    '. (elect *dit e(isting caseand choose the simulation case from the drop-down list.

    ). To eport the simulation "eywords and run the simulation, clic" on the 'unbutton.

    3r$

    %. 9ight-clic" on the simulator entry for the case in the Casepane.

    '. (elect either Simulation *(port and 'unor Simulation 'un "nlyfrom the contetmenu.

    The consistency of the case will be chec"ed during eport, before the simulation runs,and a validation report with warnings or errors will be displayed, if necessary. &f there areerrors in the case or in the eport, then the simulation will not be run.

    #ou can force the simulation to run, even if Petrel thin"s there are errors, by chec"ing the'un simulation e)en if )alidation failschec"bo on the 'esultstab of the Define

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    6/45

    simulation case dialog. This can be useful if you have defined parts of the case using the"eyword editor, for eample for compositional runs, that the Define simulation caseprocess does not "now about.

    There is no pre-validation of the simulator data files if you right-clic" on the simulationcase and selectSimulation Run Onlyfrom the Casespane.

    How to stop a running simulation

    :ither$

    %. 9ight-clic" on the simulator case in the Casespane and select +bort 'unningSimulation from the contet menu.

    '. #ou will get a message bo as"ing you if you want to abort the simulation. (elect "Kto abort or Cancelto continue simulation.

    3r$

    %. &n the Processespane, open Simulationand select the Define simulation caseprocess. This will open the Define simulation case dialog.

    '. (elect *dit e(isting case and choose the simulation case from the drop-down list.

    ). To stop the simulation, clic" on +bort.

    How to rename a simulation case

    To rename a simulation case$

    %. &n the Casespane, open the settings dialog for a simulation case and select the &nfotab.

    '. 5hange the name in the 1ame field and clic" on +pply.

    For Petrel generated cases i.e. not imported cases, or those derived from imported cases1,a case rename will immediately change the names of, and any references to, the data filesstored on dis" for the simulation.

    &t is recommended that the project is saved following a case rename.

    &f the project is not saved following a case rename, then when the project is net loaded,the simulation will not correctly reference data files on dis" an eclamation mar" will beoverlaid on the simulation icon to alert the user to this1. The simulation can be renamedagain in this scenario to recover the data set on dis".

    How to manipulate simulation case details

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    7/45

    %. &n the Casespane double-clic" on the simulation case to be updated. This will displaythe Settingsdialog for the case.

    '. &f you want to change the simulation name, enter the new tet into the 1amefield, inthe &nfo tab. For more information, see Dow to rename a simulation case. ote that thename for a simulation using a specified simulator shows the name of that simulator. #ou

    cannot change that entry.

    ). :nter any additional information for the model into the Commentsfield.

    *. #ou can view the simulation case parameters by clic"ing on the Definitiontab. #oucannot change the parameters in this dialog.

    . 5lic" on +pplyto update the fluid model details.

    2. 5lic" on "Kto close the dialog.

    How to open the !eyword editor

    :ither$

    %. 9ight-clic" on the simulation case, in the Casespane, for which you want to edit the"eywords.

    '. (elect the Keyword *ditor option from the contet menu. This will open the "eywordeditor with the selected simulation case ready for editing. For more information refer tothe help for the appropriate simulator "eywords.

    3r$

    %. &n the Processespane, open Simulationand select Define simulation case. This willopen the Define simulation case dialog.

    '. (elect *dit e(isting case and choose the simulation case from the drop-down list.

    ). +o to the +d)ancedtab and clic" on the Keyword *ditorbutton. This will open the"eyword editor with the simulation case dec" ready for editing.

    How to )iew messages from the )alidation and from the simulator

    #ou can view messages generated by the validation when the simulation case is eported,and from the simulator after the simulation is run. The messages are displayedautomatically, if there are errors to report.

    %. 9ight-clic" on the simulation case in the Casespane and select Show simulationlog/ from the contet menu. This displays a spreadsheet showing the messagesgenerated by the simulator during the run.

    http://tl_17565.hhclick%28%29/http://tl_17565.hhclick%28%29/
  • 8/11/2019 Chapter 08_Defining a Simulation Case

    8/45

    To automatically display this spreadsheet at the end of the simulation run, enable +lwaysshow )alidation and simulation message fileson the 'esults tab of the Definesimulation caseprocess dialog.

    How to )iew a simulator print file

    #ou can view the print file generated by the simulator when the simulation is run. Theprint file contains all the messages in the message file, plus additional reports, such aswell flows and fluids in place reports.

    %. 9ight-clic" on the simulation case, in the Casespane, and select Show print file/from the contet menu. This opens the print file in a tet editor.

    How to import a Keyword Case into Petrel

    To import a "eyword case to Petrel$

    %. 9ight-clic" on the bac"ground, in the Casespane, and select &mport #on tree%/ fromthe contet menu.

    '. &n the &mport file dialog window select the file format type of the simulation case thatyou want to import.

    ). Aocate the case that you want to import and clic" on "pen.

    *. !epending on the file format you choose, you will get an &mport window where youhave the option to select whether or not you want to import the grid geometry, any gridproperties, summary files and more.

    . Press on "Kto complete the import. &f the unit system of the "eyword case differsfrom the Petrel project you are importing into, you will get an option to either convert thecase or to change the units for your Petrel project. #ou will also be notified in a messagewindow of inconsistent "eywords or for "eywords that Petrel cannot import.

    How to #partially% con)ert a Keyword Case to a Petrel Case

    To convert a "eyword case to a Petrel case$

    %. 3nce a "eyword case has been imported into Petrel you can right-clic" on thesimulation case in the Casespane and select Con)ert to Petrel Case from the contetmenu.

    '. 6ll the data in the file that Petrel understands will be imported into the &nputpane andModelpane, and added to a new case.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    9/45

    1ote that not all data in the file can be imported and the generated case may not bea )alid *C2&PS* case30eywords that Petrel cannot import or that are irrelevant toPetrel model will be left in the new case as user "eywords. This can affect the eport ofthe converted case since Petrel will not overwrite user generated "eywords. The user willhave to do some wor" on most converted cases to fi things up. The conversion processwrites a description of what it has converted and what it has not converted to the message

    log. 9ead the validation log carefully after trying to eport a converted caseE

    How to load simulation results

    #ou can load simulation results on simulation cases that have previously been run$

    %. 9ight-clic" on the simulation case in the Casespane and select the 2oad simulationresults from the contet menu.

    '. This will import the simulation results into the 'esultspane. From here you can selectthe simulation result vectors for the case and plot them in Function windows or eport

    them as summary data.

    How to e(port summary data

    To eport summary data from Petrel$

    %. &n the 'esultspane right-clic" on the Dynamic Datafolder and select *(port/fromthe contet menu.

    '. :nter a file name in the *(port dialog window for the summary data file.

    ). &n the *(port dynamic result data dialog window select the result vectors and thesimulation cases to eport.

    *. 5lic" on "Kto complete the eport.

    How to configure custom editor

    #ou can configure a custom editor other than the otepad program in Windows to viewthe simulation case "eywords and the simulation print file$

    %. For the Windows operating system, declare a new *n)ironment $ariable System "ey

    named *D&T"' and insert the path to the editor you wishes to use.

    '. 5lic" on "K.

    ote that Petrel has to be restarted in order to recogni=e the configuration of the neweditor.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    10/45

    Define simulation case dialog settings

    The Define simulation caseprocess dialog gives you the options to set up a simulationcase.

    6n area at the top of the dialog gives you the option to create a new simulation case. &talso allows you to choose the simulator and grid for the case.

    The following options are available$

    Create new case$ 5hoose this if you want to ma"e a new simulation case.

    *dit e(isting case$ 5hoose this if you want to modify a simulation case. #ou can thenchoose the case from the drop-down list.

    Simulator45hoose the simulator to be used from this drop-down list.

    Type45hoose how to model porosity heterogeneity in the simulation. #ou can choosefrom single or dual porosity, or dual permeability models.

    Grid45hoose the grid for the simulation from this drop-down list. The grid contains allthe properties and geometry defined for your model.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    11/45

    There are five tabs within the dialog, each of which holds information about thesimulation case.

    Grid$ &n this you can set up the grid inputs and the simulator "eyword to which eachcondition maps.

    Functions$ &n this you can insert fluid models and roc" physics functions for thesimulation case.

    Strategies$ &n this you can insert the development strategies for the case.

    'esults$ &n this you can select the output re4uirements for the case.

    +d)anced$ &n this you can specify the simulator version; for Front(im simulationsadditional parameters can be set.

    6t the bottom of the dialog there are seven buttons.

    'un45lic"ing on this button will run the well simulation and eport the simulator"eywords. The "eywords will appear on the Casestab as an option within the simulationcase.

    Chec!45lic"ing on this button will chec" the consistency of the simulation caseselections. &t will not run the full simulation.

    +bort45lic"ing on this button will halt the current operation. &t is available only during arun or chec" operation.

    *(port45lic"ing on this button will eport the simulator "eywords without running thesimulation. The "eywords will appear on the Casespane as an option within thesimulation case.

    +pply$ 5lic"ing on this button will apply the current simulation case settings. The dialogwill remain open so that you can define more cases.

    "K$ 5lic"ing on this button will apply the simulation case details, and then close thedialog.

    Cancel$ 5lic"ing on this button will abandon the current settings and close the dialog.

    Grid tab #Define simulation case%

    The Gridtab allows you to set up the grid inputs and the simulator "eyword to whicheach condition maps. The inputs are shown in a table with the corresponding "eywordand fracture chec"bo for each.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    12/45

    #ou can use the buttons above the table to add new inputs at any location in the table, setthe total number of inputs and re-order the inputs.

    &n order to run a simulation, the &, /, and 0 permeabilities, net to gross ratio and porosity

    must be defined. The other rows have been added for convenience and are not mandatory.6dditional rows will be added as suggestions if alternative Types of simulation to (inglePorosity are selected. Petrel will loo" at the selected grid and try to assign grid propertiesfor the mandatory items.

    6s an alternative to using a property, you can set a constant value over the whole grid.nchec" the bo net to the blue arrow and type the value into the input column to dothis. 9ows without data in the &nput column will be ignored if a simulation is eported orrun.

    &f you change the simulator and there are "eywords in the table that are not supported by

    the new simulator, simulation type or initiali=ation choice from the Functionstab1, thenthese will be colored grey in the table. &nvalid rows will generally give an error messagewhen the case is applied or eported.

    Aocal grids can only be associated with the 2ocal Grid 'efinement"eyword,transmissibility multipliers with the Fault Transmissibility Multiplier"eyword, and64uifers or 64uifer folders with the +0uifer"eyword.

    Functions tab #Define simulation case%

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    13/45

    The Functions tab shows the roc" physics and initial fluid conditions for the simulationcase. The functions in your cases are listed on the left hand side.

    #ou add functions to the list by selecting them from the drop-down list at the top. Thefunctions available in the drop-down list will depend upon the simulator and simulationtype selected. There can only be one function of each type in the list. Functions that have

    already been added to the list are grayed out in the list and cannot be selected. &f youchange simulator or simulation type, functions that are no longer valid are colored grey inthe list and will give an error when the case is applied or eported.

    #ou can edit functions that have already been added to the simulation case by selectingthem in the list. #ou can remove functions from the simulation case by selecting them inthe list and then clic"ing on the Delete selected row#s% in the tablebutton above the list.

    The following options are then available for you to define your selected function$

    'egion inde( property4(elect this chec"bo if you want to choose a region indeproperty so that you can use different fluid data for different regions of the grid. Theregion inde properties can be any discrete property, such as a segment, a =one number,

    facies, and so forth.

    &nitiali5e by e0uilibration4This chec"bo only appears when the lac! oil fluidsmodel #P$T%function is selected. #ou select this chec"bo in order to initiali=e thereservoir by e4uilibration. &f you unselect this chec"bo, then you must have provided thegrid properties P9:((9:, (W6T, (+6(, 9( or P

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    14/45

    *(port as table4This chec"bo only appears when the 'oc! compaction functionisselected and you have chosen an :5A&P(: simulator. #ou select this chec"bo in order toeport tables of pore volume multiplier as a function of pressure; otherwise, the 9oc"compaction function is eported as the single value of roc" compressibility at a referencepressure.

    Table4#ou insert here the appropriate function, for eample Saturation Function, whenyou are defining 9el Perms, or &nitial conditionsor Fluid modelsif you are initiali=ingby enumeration1 when you are defining

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    15/45

    )! Properties

    Aine +raphs

    iscellaneous

    (imulation logs

    9eports

    7D Properties #'*ST+'T%

    This area defines the grid properties loaded from the simulator, specifically pore-volume,pressure and saturation. #ou can enter the maimum number of streamlines availabletogether with their time of flight. ote that, after running the simulation, you can apply asettings filter to reduce the number of streamlines.

    2ine graphs

    #ou can select the time-based production functions that will be placed into a summaryfolder for the simulation. 6ll functions are selected by default, but you can deselect anythat you do not need.

    Miscellaneous

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    16/45

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    17/45

    +9!:5A$ This uses the I539 and 5339! "eywords. This format only supportsvertical and straight pillars; any curved or listric pillars will be straightened on eport,introducing inconsistency between :5A&P(:GFront(im and Petrel.

    :+9&!$ This is a binary version of the I539 and 5339! "eywords, so has the samerestrictions on pillar geometry. 6ll cell property data is written as "eywords. This format

    is not available with Front(im.

    +9&!$ This binary format gives the J,#,I coordinates of each corner of every cell. &t cantherefore represent all cell geometries and is supported by earlier versions of :5A&P(:,but ma"es very large files. 6ll cell property data is written as "eywords. This format isnot available with Front(im.

    &f you are using Front(im, you can also set Pressure solver, (aturation solver and ) phasesolver parameters. Petrel will select default entries for these, and you must ma"e changesonly if you fully understand the conse4uences. &f you have any doubts, please leave thedefault selections.

    Keyword *ditor

    This Keyword *ditorallows you to edit "eywords and include files that ma"e up thesimulation dec". #ou can access the "eyword editor by pressing the Keyword *ditorbutton on the +d)ancedtab or from the contet menu on a case in the Casespane.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    18/45

    The Keyword *ditoris split into two trees. 3n the left hand side you can find the"eywords defined and used in the simulation case. #ou can display these either by sectionor the include file structure by using the radio buttons called Sort by sectionor Sort byinclude files.

    The tree on the right hand side displays the "eywords that can be inserted into yoursimulation case. The list will only show the "eywords that can be inserted for the section

    you have selected on the left hand side tree, e.g. 9(P:5, +9&!.

    #ou can insert a new "eyword into your simulation case by selecting the "eyword on thetree on the right and pressing the &nsertbutton. 6 tet editor will open with the "eywordwhere you can add the "eywordKs parameters.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    19/45

    Petrel also commentsGtags files by adding the following comment to the top of the file

    B88333 Program generated file9 +ny edits to this file will be lost on ne(t e(port fromPetrel9C This indicates that Petrel will overwrite this file and not preserve any changesmade by the user. &t is not a good idea to remove this comment from the top of the file.

    To show how the "eywords are tagged, the "eywords are color-coded as follows$

    luetype indicates a Petrel generated "eyword and part of a file that can be user-edited.

    lac!type indicates a "eyword that has been edited or inserted by the user and which

    Petrel will not overwrite.

    'edtype is due to file being BtaggedC as Petrel generated. 1Petrel will overwrite the

    entire contents of this file, regardless of the tagging of the "eywords within the file. 6lso,section head "eywords are shown in red.

    For the "eywords on the left hand side of the dialog, selecting :ser !eywordfrom the

    right-clic" contet menu will inform Petrel that the "eyword is controlled by the user andthat Petrel cannot overwrite this "eyword when eporting the simulation files to thesimulator. 5hoosing :ser !eyword for a section or an include file sets the entire file toPetrel generated. &t is not recommended to change this tag.

    To directly edit a "eyword from the left-hand side tree, double-clic" on the "eyword orselect *ditin the right-clic" contet menu.

    When an editor is opened on a single "eyword and a save is performed in the editor,Petrel will assume that the "eyword has been updated and that the user would li"e thenet eport not to overwrite the changes and, therefore, Petrel will automatically convert

    the "eyword into a :ser !eyword.

    To edit an entire include file, switch to the L(ort by include filesL and double-clic" on thefile name.

    To change the order of your "eywords, use the up and down arrows at the bottom left ofthe Keyword *ditordialog.

    &mported simulation case

    #ou import an eisting case directly into the 5ases pane see 5ases1. &mported cases

    cannot be edited or viewed directly in the !efine simulation case process. Dowever, youcan edit their dec" manually using the0eyword :ditor, and :port and 9un theirsimulations from within Petrel.

    Con)erting an imported case to a Petrel case

    The Con)ert to Petrel Caseutility reads an imported simulation and converts it into aPetrel 5ase. 3nly simulations imported into the Casespane can be converted.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    20/45

    ote$ 6 converted case will usually need user correction before it will eport or runsuccessfully. The conversion process is epected to become more complete withsuccessive versions of Petrel.

    To convert an imported (imulation, right-clic" on the simulation case in the Casespaneand select Con)ert to Petrel Casefrom the contet menu.

    6 new case and simulation are created that are named after the imported simulation casewith LM538:9T:!L appended. 6 report on how the conversion is progressing iswritten to the message log. 6t the end of this process, you should review, edit andcomplete the newly converted simulation using the !efine simulation case dialog settingsprocess and the 0eyword :ditor. Pay particular attention to removing any duplicated orinconsistent "eywords.

    #ou can visuali=e and edit the Petrel items, such as grids, properties, fluid models andsaturation functions that have been created from the converted "eywords.

    The conversion process only converts a subset of the "eywords in the dec" into Petrelitems. The "eywords not converted are reported in the message log and remain in theconverted simulation as user "eywords.

    The main classes of "eywords that are converted are$

    5orner point geometry "eywords I539 and 5339!, or the +!F&A: and P:T+9&!

    "eywords that import this data from binary files

    Property array "eywords, such as P393, P:9J, T+, (6T, and so forth, from

    the +9&!, :!&T, P93P(, 9:+&3( and (3AT&3 sections

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    21/45

    ultiple e4uilibration regions with multiple fluid regions. 6ll the e4uilibration region

    data will be imported into every fluid model. The user will have to correct the assignmentof initial conditions on the Fluids tab of the !efine (imulation 5ase process.

    6ll (69# and (5D:!A: section "eywords

    &n addition, note that some "eywords will be replaced by functional e4uivalents. Foreample, the +968&T# "eyword will be replaced by !:(&T#; bloc" centeredgeometry "eywords will be replaced by corner point geometry read from an :+9&! or+9&! file1.

    The order of mitures of converted and remaining user "eywords is li"ely to needcorrection by the user.

    'emote simulation submission

    Petrel can run simulations in :5A&P(: and Front(im either on your local P5, or on a

    remote server. &n either case, you must have an installation of :5A&P(: (imulators onyour P5, version '@@2.% or later$ this includes an application called eclrun.ee which isused by Petrel to submit simulation runs.

    &f you wish to submit runs to a remote machine, you need to configure both Petrel and theserver. !etails of how to do this are supplied below.

    To submit a remote simulation, you simply select the 4ueue you wish to send it to on the+d)ancedtab of the!efine simulation caseprocess. The eclrun.ee application willtransfer the input files to the remote machine and submit the simulation.

    Petrel can be configured to submit simulations to an A(F 4ueue. A(F load (haringFacility1 is a 4ueuing system provided by Platform 5omputing www.platform.com1. &fthe Petrel 4ueue is configured to point to an A(F 4ueue, the simulation will be submittedto the A(F 4ueue; otherwise, it will run in the foreground on the remote machine.

    3nce a simulation is submitted, either locally or remotely, you can shut down Petrel.

    To load the results, simply right-clic" on the simulation, or on a folder of cases on theCasespane, and select 2oad simulation results from the contet menu. Petrel will calleclrun.ee which will fetch any available results bac" from the remote machine and thenload them into Petrel. This may be done as often as you wish during a simulation,

    allowing you to chec" on its progress. When eclrun.ee detects that the remote simulationis finished, it will clean up the files created on the remote machine. #ou can also set thePetrel 4ueue to periodically chec" and load results automatically.

    The eclrun.ee utility records information such as the A(F job number, the report stepreached, the error messages, etc. in the simulation log.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    22/45

    &nstalling Petrel support for remote simulation ; eclrun

    PetrelKs support for remote simulation is provided by eclrun. This must be installed on thelocal P5 and on all remote servers to be used for submitting the simulation andGorrunning it.

    6t present submitting remote simulation is supported to all platforms supported by:5A&P(: H Front(im i.e. 9ed Dat Ainu, (u(: Ainu, &

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    23/45

    &f you prefer, you may instead use rshand rcpfor inter-host communication. This is

    not recommended$ it is less secure, and from icrosoft Windows it is considerablyslower than ((D. ost modern &JGAinu installations disable rsh/rcpby default$

    consult your system documentation for details on how to enable it. ote that somesystems now install the "erberos version of rshrather than the standard version$

    behavior of this version varies. &n addition to using rsh, each user will re4uire a

    .rhosts file in their home directory, listing the machines from which they wish toconnect. The precise format of this file varies between &JGAinu dialects, but isusually simply a list of machine names, one per line, of the form.

    machine% user..machinen user

    The file can also ta"e the format$

    &P address user

    or to be completely insecure

    Q Q

    which implies access to all machines and all users, although this may not wor" on someAinu platforms.The .hosts file must also have the permissions -rw-------.

    ). 6dd the following lines to the system .cshrcfile, or to each userKs .cshrcfile if

    preferred. The precise location of this file varies between &JGAinu implementations,but it is often /etc/csh.cshrc- consult your system documentation for details.

    if -e GeclGmacrosGReclrunsetup 1 then source GeclGmacrosGReclrunsetup endif

    6lternatively, you may add these lines to each userKs personal file ~/.cshrc

    :dit the file /ecl/macros/@eclrunsetupand ma"e the following changes$

    %. (et the value of AMA&5:(:MF&A: to point to your FA:JA license server for:5A&P(: setenv LM_LICENSE_FILE 732@server1

    '. (et the value of :5AP6TD to point to your :5A&P(: installation location. setenv

    ECL!"#$ /ecl1

    ). (et the path variable to include the eclGmacros directory i.e. set

    path%&'path /ecl/macros1, assuming the macros are installed under/ecl/macros

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    24/45

    Configuring remote simulation 0ueues in Petrel

    The information that Petrel needs to submit remote runs is stored in a configuration file.Petrel '@@7.% can read from three configuration files$ ser, 6ll ser and +lobal. (ee5onfiguring Petrelfor details on where configuration files are stored, how to edit themoutside Petrel, and how a (ystem 6dministrator can do this centrally and distribute the

    configuration.

    Nueues can be defined in any or all of the three configuration files. Petrel '@@7.% willmerge the 4ueue definitions when reading the configuration file on startup. Nueues of thesame name defined in the +lobal file will override those in the 6ll ser file, and both willoverride 4ueues of the same name defined in the ser file.

    5hanges made to 4ueue definitions in Petrel will be saved to the ser configuration filewhen Petrel '@@7.% is closed.

    To change 4ueue definitions in Petrel '@@7.%$

    %. (elect Tools . System Settings

    '. (elect the ,ueue definition tab.

    ). a"e your changes as described in the net pages and clic" "K.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    25/45

    +dd or delete a 0ueue

    To add a 4ueue, clic" the +dd a new 0ueuebutton and fill in its details in the boes onthe right of the dialog.

    To delete a 4ueue, select it in the list on the left and clic" the 'emo)e selected 0ueue

    button

    Set the Default 0ueue

    (elect the re4uired default 4ueue in the list and clic" the Defaultbutton below the list.

    The 4ueue that is selected as default will be used for new cases.

    ,ueue settings

    The tet entry boes on the right of the dialog define the parameters of the 4ueue. These

    are used to substitute for variables in the commands defined in the +lobal configurationfile when submitting, chec"ing or "illing simulation runs.

    1ame4This is the identifier by which the 4ueue is referred to by the simulation case.

    Ser)er4achine to submit the simulation to. Aeave empty for local runs. 9eplaces

    S(:98:9S in a command.

    'emote directory4!irectory on the remote machine to run the simulation. 9eplaces

    S!&9:5T39#S in a command.

    Chec! e)ery4Time interval in minutes1 for fetching simulation results. 3nly used withremote submission.

    2SF 0ueue49eplaces SN::S in a command.

    Comms system4essage passing system used for parallel runs. This may be left blan",

    in which case the command uses the architecture of the remote machine to determine theappropriate system. 9eplaces S53(S in a command.

    Hostfile4Aocation of hostfile for parallel runs. &f you are using the A(F 4ueuing

    system, this should be left blan" as it is automatically generated by eclrun when runningunder A(F. 3therwise, it is re4uired when running parallel simulation under Ainuecept (+& 6AT&J systems1, & Password4This information is only "ept until Petrel eits - you will need to

    re-type the userid and password when you re-run Petrel. &f userid or password is notsupplied, but is re4uired by the command, you will be prompted for this information

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    26/45

    when the simulation is submitted on the remote machine. 9eplaces S(:9&!S andSP6((W39!S in a command.

    &f you tic" the chec" bo :se same logon for all ser)ers, you only need to enter theuserid and password once. 3therwise, each 4ueue that uses a different server will needthe userid and password to be entered.

    *diting the configuration file simulator settings

    The information that Petrel needs to submit remote runs is stored in a configuration file.Petrel '@@7.% can read from three configuration files$ ser, 6ll ser and +lobal. (ee5onfiguring Petrelfor details on where configuration files are stored, how to edit themoutside Petrel, and how a (ystem 6dministrator can do this centrally and distribute theconfiguration.

    The configuration file is a plain tet file in JA format. #ou may edit it using any teteditor.

    ote$ on most Windows systems, double clic"ing on an JA file will open it in a webbrowser, which does not allow you to edit it. &nstead, open your tet editor, and open thefile from the editor.

    The file contains two sets of information$

    The commands used to submit simulation runs, chec" their status and retrieve results,

    and abort them

    The 4ueues available in which to run simulations

    6n eample of the configuration file is shown here$

    5onfigurationU

    V

    (imulationU

    (imulation5ommandsU

    5ommand ameL:5A&P(: %@@LU

    (ubmitUeclrun X-v S8:9(&3SY X-s S(:98:9SY X-4 SN::SY X-dS!&9:5T39#SY X-m SD3(TF&A:SY X-c S53(SY X--username S(:9&!SY X--passwd SP6((W39!SY eclipse S!6T6F&A:SG(ubmitU

    FetchUeclrun X--passwd SP6((W39!SY chec" S!6T6F&A:SGFetchU

    0illUeclrun "ill S!6T6F&A:SG0illU

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    27/45

    G5ommandU

    5ommand ameL:5A&P(: )@@LU

    (ubmitUeclrun X-v S8:9(&3SY X-s S(:98:9SY X-4 SN::SY X-dS!&9:5T39#SY X-m SD3(TF&A:SY X-c S53(SY X--username S(:9&!SY X--

    passwd SP6((W39!SY e)@@ S!6T6F&A:SG(ubmitU

    FetchUeclrun X--passwd SP6((W39!SY chec" S!6T6F&A:SGFetchU

    0illUeclrun "ill S!6T6F&A:SG0illU

    G5ommandU

    5ommand ameLFront(imLU

    (ubmitUeclrun X-v S8:9(&3SY X-s S(:98:9SY X-4 SN::SY X-d

    S!&9:5T39#SY X-m SD3(TF&A:SY X-c S53(SY X--username S(:9&!SY X--passwd SP6((W39!SY frontsim S!6T6F&A:SG(ubmitU

    FetchUeclrun X--passwd SP6((W39!SY chec" S!6T6F&A:SGFetchU

    0illUeclrun "ill S!6T6F&A:SG0illU

    G5ommandU

    G(imulation5ommandsU

    (imulationNueuesU

    Nueue ameLAocalLGU

    Nueue ameL9emoteL (erverLbay)L 9emote!irectoryLGsimL GU

    Nueue ameLA(F(erialL (erverLsunlinuconL A(FNueueLserial)'L9emote!irectoryLGscratchL GU

    Nueue ameLParallelL (erverLsunlinuconL A(FNueueLserial)'L9emote!irectoryLGscratchL 5omms(ystemLmpiL DostfileLhostfile.ttLGU

    G(imulationNueuesU

    G(imulationU

    GPetrel5onfigU

    The SimulationCommandssection defines the format for submit, fetch load results1,and "ill abort1 commands for each simulator. Words surrounded by ZS are variables,

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    28/45

    replaced by Petrel when a simulation is run according to the 4ueue that has been selectedand other information entered by the user in Petrel. (e4uences surrounded by X Y are onlywritten if Petrel has a non-blan" value for the variable enclosed.

    9ecogni=ed variables are$

    S!6T6F&A:S$ ame of the data file for the simulation

    S8:9(&3S$ 8ersion of the simulator to run

    S(:98:9S$ achine to submit the simulation to.

    S(:9&!S$ serid on the S(:98:9S

    SP6((W39!S$ Password on the S(:98:9S

    S!&9:5T39#S$ !irectory on the remote machine in which to create a temporary

    directory for running the simulation.

    SN::S$ ame of 4ueue in A(F or other 4ueuing system

    S53(S$ essage passing system used for parallel runs

    SD3(TF&A:S$ ame of hostfile for parallel runs.

    SimulationCommandscan only be edited via the global config file.

    &f eclrun is installed, Petrel will, by default, write eclrun commands to the configurationfile when it is first created, or else 'ecl(pse.)at, 'e3**.)atand

    '+ronts(m.)atcommands, which do not support remote simulation. &f you wish, you

    may edit the configuration file and substitute your own local customi=ed commands forrunning simulations using the above variables. (chlumberger will charge for supportingany such custom installation.

    #ou may edit the eclrun commands to use any of the options described in the section insing eclrun.ee to submit and monitor simulations from the command line.

    The Simulation,ueues section sets up details of the various machines to which remote

    jobs may be submitted. These are best created and edited using the interface in Petrel,described in 5onfiguring remote simulation 4ueues in Petrel.

    :sing eclrun9e(e to submit and monitor simulations from the command line

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    29/45

    eclrun can be used at the command prompt to run simulations. 6lternatively, the optionsdescribed below can be added to the Petrel configuration file to change its behavior whencalled by Petrel.

    For eample$

    eclrun -s myserver -4 my4ueue -u myuserid -p mypasswd eclipse #!6T6.!6T6,

    will submit your simulation run to the remote machine myserver. &n the process, eclrunwill analy=e your data file to find all the re4uired included files, =ip them up, transferthem to the remote machine in a temporary directory, un=ip them, and submit thesimulation job. &t will also store the details of your job in a file calledMYDATA.ECLRUN, and report them to you in the message log file MYDATA.MS. Thiscan be displayed in Petrel by right mouse clic"ing on the simulation in the Casespaneand selecting Show simulation log from the contet menu. &t is automatically displayedif it contains any error messages.

    To get the results bac", use the command

    eclrun -p mypasswd chec" #!6T6.!6T6

    This will read the details of your job from theMYDATA.ECLRUNfile, connect to theremote server to as" for any results. The server will =ip up any results files available, andthe local machine will download them and un=ip them. &t will also update the log file withthe present status of the job.

    The full usage of the command is$

    eclrun XoptionsY P93+96 X!&9:5T39#[F&A:Y

    where

    P'"G'+Mis one of$

    eclipse, e)@@, frontsim, flogrid, flovi=, office, schedule to run the specified application

    chec" to chec" on status of previously submitted job

    cleanup to force cleanup of remote wor"ing directory

    "ill to abort a 4ueued or running job

    D&'*CT"'?is the wor"ing directory for interactive apps. The default is the current

    wor"ing directory

    F&2*is the name of the input data file. This is re4uired for eclipse, e)@@, frontsim,

    chec", cleanup, "ill. &t may include leading path and trailing etension with the options

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    30/45

    ,h- ,,help

    Q show a help message and eit

    ,s SSE01E0- ,,su)server%SSE01E0

    Q (

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    31/45

    - sca(56A& version of P& with best available switch, Ainu only1

    - altP& with umalin" switch, Ainu 6lti 2*-bit only, default on 6lti Ainu1

    ,,protocol%!09#9C9L

    Q Protocol and method of authentication for inter-hostcommunication. 5hoices are$- unsecure $ uses rshH rcp, must have .rhostsset up;

    - password $ uses sshH scpwith password, must use ,,pass6option unlessrunning from console.Q 6 future version will support secure "eys.

    ,e E

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    32/45

    (pecify the 4ueue in which to eecute the simulation, either Aocal or remote. For more

    details see9emote simulation submission

    (pecify the eport format for the grid data. The choices are$

    %. "PF$ this uses the 3pen Petrel binary Format. This is the most compact format; it

    supports all pillar geometry types; the porosity, permeability and T+ data is also writtento the 3PF file. This is the default format for all simulators. ote$ This format is onlysupported by :5A&P(: %@@ H )@@ from version '@@2.%. 6lso, there is a "nown issue thatthis format uses a lot more memory with :5A&P(: %@@ '@@2.% in parallel, and werecommend using one of the other formats.

    '. G'D*C2$ this uses the I539 and 5339! "eywords. This format only supportsvertical and straight pillars; any curved or listric pillars will be straightened on eport,introducing inconsistency between :5A&P(:GFront(im and Petrel.

    ). *G'&D4this is a binary version of the I539 and 5339! "eywords, so it has the

    same restrictions on pillar geometry. 6ll cell property data is written as "eywords. Thisformat is not available with Front(im.

    *. G'&D4this binary format gives the ,y,= coordinates of each corner of every cell. &tcan therefore represent all cell geometries and is supported by earlier versions of:5A&P(:, but ma"es very large files. 6ll cell property data is written as "eywords. Thisformat is not available with Front(im.

    &f you are using Front(im, you can also set Pressure solver, (aturation solver and ) phasesolver parameters. Petrel will select default entries for these, and you must ma"e changesonly if you fully understand the conse4uences. &f you have any doubts, please leave the

    default selections.

    Troubleshooting remote simulation

    9emote (imulation, because it involves more than one computer system, is a compleprocess and unfortunately, this compleity means there are more opportunities for thingsto go wrong. This section is designed to help you solve problems if they occur.

    @Command not found@ or @1o such file or directory@ errors

    &f you receive variants on Lcommand not foundL, follow the steps here to chec" which

    command is missing.

    Chec! eclrun is installed on your local PC

    3pen a command prompt window clic" the Windows (tart button1, choose Programs .+ccessories . Command Prompt1

    6t the command prompt, type eclrun. #ou should see the following$

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    33/45

    5$]Ueclrun

    usage$

    eclrun XoptionsY P93+96 F&A:

    where P93+96 is one of$

    eclipse, e)@@, frontsim

    or chec", to chec" on status of previously submitted job

    or cleanup, to force cleanup of remote wor"ing directory

    or "ill, to abort a 4ueued or running job

    F&A: is the name of the data file for the simulation job

    &t may include leading path and trailing etension

    or

    eclrun XoptionsY P93+96 X!&9:5T39#Y

    where P93+96 is one of$

    office, flovi=, flogrid, etc.

    !&9:5T39# is the wor"ing directory

    defaultcurrent wor"ing directory

    se eclrun --help for more information

    This version of eclrun was built on '@@2-@*-'7

    eclrun$ error$ P93+96 not specified

    5$]U

    (imilarly, type pl(n:and pscpat the command prompt. For each command, you

    should receive a usage help message.

    Finally, type eclrun tests8s. #ou should receive the following response$

    5$]Ueclrun testsys

    ReclrunRpc

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    34/45

    ReclrunR]

    &f you get a Lcommand not foundL error message for any of the above commands, yourinstallation is incomplete. Please follow the instructions in &nstalling eclrun on your localP5or the &nstalling Petrel support for remote simulation _ eclrunsection.

    Chec! eclrun is installed on your remote ser)er

    Aog on to your server. &f you donKt "now how, see5ommunication or connection errors1.6t the command prompt, type eclrun tests8s. #ou should receive a response

    similar to the following$

    S eclrun testsys

    ReclrunRlinu

    ReclrunRG

    S

    &f not, eclrunis not correctly installed on your server. Please as" the system

    administrator to follow the instructions under&nstalling eclrun on a remote &J orAinu serverin the &nstalling Petrel support for remote simulation _ eclrunsection.

    eclpython4 1o such file or directory

    &f you receive the following error on your &J or Ainu server$

    S eclrun testsys

    GusrGbinGenv$ eclpython$ o such file or directory

    S

    This indicates that your environment settings have not been set up to find eclp8thon.

    #ou can verify this by typing$

    S which eclpython

    eclpython$ 5ommand not found.

    S

    Please follow the instructions under the heading pdate the system .cshrcin the

    &nstalling Petrel support for remote simulation _ eclrunsection.

    Communication or connection errors

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    35/45

    &f you receive error messages of the form Bnable to connect to myserverC, try thefollowing tests.

    &f it is the first time you tried to submit to a particular server from your P5, try again.First-time connections have to store the remote serverKs LsignatureL in the Windowsregistry, and this sometimes fails. 3ften, simply repeating the submission wor"s.

    Chec! that your PC can communicate with your ser)er 8 if you are using the default

    password protocol

    3pen a command window and type pl(n: servername. #ou will be prompted for

    your userid and password. &f you have not connected to the server before, you may alsobe as"ed for permission to store the serverKs signature in the local cache. 6nswer yes.

    5$]Uplin" myserver

    login as$ user%

    user%RmypcKs password$

    Aast login$ Tue /an %@ %'$@%$*' '@@2 from mypc.bigoil.com

    S eit

    5$]U

    Chec! that your PC can communicate with your ser)er 8 if you are using the

    unsecure protocol

    &f you have configured Petrel and eclrun to use the unsecure protocol, by adding theoption ,,protocol unsecureto the submit command in the global configuration

    file, you should test communication as follows$

    5$]Ursh myserver eclrun testsys

    ReclrunRlinu

    ReclrunRG

    ote$ the icrosoft Windows version of the rshcommand is very slow. #ou are stronglyrecommended to use the secure protocol, which is both more secure and much 4uic"er.

    &f you receive an error message of the form

    myserver.bigoil.com$ Permission denied.

    rsh$ canKt establish connection

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    36/45

    it means that your server is not configured to allow you to connect. There are twopossible causes for this$

    #our .rhostsfile on the server does not list your P5 name

    #our server is not configured to allow connections using this protocol.

    5onsult your system administrator if you need assistance resolving these problems.

    ?ou submit a simulation from Petrel and nothing happens

    &n most cases, if you submit a remote simulation run from Petrel and it fails with an error,the error message will be written to the simulation log. Petrel will display the log whenthe submit command finishes. &f the command is successful, it will write the o)(to

    the simulation log. #ou can chec" the simulation log by right-clic"ing on the simulation

    on the Casespane and selecting Show simulation log from the contet menu.

    Dowever, errors in the +lobal configuration file cannot be reported this way. &f eclrun

    cannot parse the command line sent to it by Petrel, it just generates a low-level systemerror message and eits immediately.

    To chec" if this might be your problem, on the 'esultstab of theDe!ine simulation "aseprocess, tic" the Show simulation consoleoption. (ubmit your simulation again. &f aWindows command prompt window appears, displays some tet, and almost immediatelydisappears, it almost certainly means that the submit command is incorrectly configuredin the +lobal configuration file.

    The resolution is to carefully chec" the contents of your +lobal configuration file. (ee theinstructions under :diting the global configuration file simulator settingspage.

    ?our simulation runs lea)e files behind on the ser)er

    Eclruncopies your simulation input to a temporary directory on the server, and copies

    the results bac" to your P5 when you load results in Petrel. &f it detects that the run isfinished, it will also remove the temporary directory on the server, after it has copied the

    results bac" to the P5.

    &f files are left behind on your server, it could be because$

    6n error occurred during the submission, simulation, or fetching of results. &n this

    situation, eclrundoes not delete any files so that you can determine the cause of the

    error, and salvage any useful results from the simulation. &f you "now why the erroroccurred, it is safe to delete the temporary directory.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    37/45

    #ou did not as" Petrel to load results after the run had finished. Eclrunonly deletes

    the temporary files on the server when they have all been downloaded to the local P5after the run has finished. &f you loo" at the results of a simulation halfway through,decide itKs wrong in some way, then go on to submit another case without ever botheringto "ill or fetch the final results of the first case, they will stay on the server. #ou shouldalways fetch results or abort simulations to ensure your server does not fill up with

    LorphanedL simulations.

    Petrel fails to fetch results from the ser)er

    #ou right clic" on the simulation on the Casespane in Petrel, select 2oad simulationresults, and nothing happens. There are several possible causes for this$

    The simulation is very large. &f the simulation output files are very large, it may simply

    be ta"ing a long time to download them from the server. &f on the 'esults tab of theDe!ine simulation "aseprocess, you tic" the Show simulation console option you willsee the progress of the download in a Windows command prompt window.

    The results have downloaded but Petrel is idle. There is a "nown issue in Petrel '@@7.%

    that if you are wor"ing in another window, Petrel goes to sleep and does not alwaysdetect when it should start loading results. (imply move the mouse, and if it is not theactive application, clic" on the Petrel main window title. &t should wa"e up and load theresults.

    The eclrunstate file has been deleted. The eclrunapplication stores information

    about a simulation run in progress in a file called MA0N.ECL0N. This stores things

    such as the name of the server, and the name of the temporary directory on the serverwhere the simulation is running. &f this file is deleted during the run, eclrunwill be

    unable to download the results.

    !o not delete the .eclrunfile during a simulation run. &f this has happened for some

    reason, do the following$

    %. 9ight-clic" on the simulation on the 5ases pane and select (ettings

    '. 3n the info tab, note the name of the directory where the !6T6 file is located.

    ). se ftp or a similar file transfer tool to copy the output files from the server to thisdirectory on the P5. The files on the server will be found in a directory called

    useridMmyrunMyyyymmddhhmmss

    *. Aoad the results into Petrel

    . 9emove the files on the server.

    Simulation 'esults

    (imulation results come in four forms$

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    38/45

    %. Summary $ectors- These are stored on the 'esultstab and may be displayed in thefunction window or in the map window. (ee Plotting (imulation 9esultsusing the datadisplayed on the 9esults tab of The Petrel :plorer for details of wor"ing with theseplots.

    '. Properties_ These are stored in the appropriate )! grid and displayed in much the

    same way as any other grid property.

    ). Streamlines_ These are stored on the )! grid and displayed in a )d window. (ee(treamlinesfor more details

    *. Simulation logs_ These are stored on a per-simulation basis and are accessed usingthe Aog folders on the &nputtree. They can be displayed in '!, )!, well section andintersection windows. They are sometimes referred to as !ynamic Aogs.

    &f the simulation was run directly from Petrel then the results will be importedautomatically to the appropriate case and model respectively.

    &mport of Simulation Data

    The first step is to import the files containing the simulation data. (ee Dow to import a0eyword 5ase into Petrel. 3n import of simulation data, Petrel will create the followingfolders$

    6 new case in the Casespane, where the simulation dec" "eywords and include files

    will be stored and managed.

    6 grid model in the Modelspane, where the hori=ons, faults and properties can be

    found. 6dditional files can be imported to the grid by right-clic"ing on the#ri$, the%aultsand the&ro'erties folder

    (ummary vectors will be imported into the 'esultspane in aDynami" Datafolder for

    display in function windows and for use with the !ynamic !ata calculator.

    6dditional data objects can be converted into Petrel objects by selecting the Con)ert toPetrel Case option from the right-clic" contet menu from the Casespane. (ee Dow topartially1 convert a 0eyword 5ase to a Petrel 5ase.

    (ummary data can also be eported in a Petrel 6(5&& format; see Dow to eport

    summary data.

    Simulated properties

    (imulated properties are imported into Petrel in much the same way as any otherproperties in Petrel. The only difference between simulated properties and standardproperties is that they may also have time steps associated with them. &f a property isdropped into the time step player then it can be animated in time. Petrel will show all theproperties with the same template as the chosen property, in their date order.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    39/45

    :sing the Time Step Player

    The time player is used to play through data time-step by time-step. &t gives an animatedpicture of how the data changes with time. &t can for instance be used to compare timedependant behavior of one property across several wells, or that of several propertieswithin one well. For information on how to use the Time (tep player, see Timestep

    Player.

    Ternary plots

    Ternary plots are )! grid properties that display the relative proportions of the fluidsaturations oil, water, gas1 in each grid cell, for each time step. The cell colour representsthe proportion of saturation in each cell.

    Ternary properties are calculated automatically for )-phase cases when loading results toPetrel. Dowever, if you need to calculate ternary plots for '-phase cases, or in othercircumstances, the wor"flow is outlined below.

    Ternary plots wor!flow

    %. 9ight-clic" on the Propertiesfolder for the simulation grid you wish to create aternary plot and select Settingsfrom the contet menu.

    '. &n the (ettings dialog go to the Composite tab.

    ). &nsert a new ternary property definition by clic"ing on the +ppend item in thetablebutton. :nter a name and select the Type to be Ternary. 6ccept the default +eneraltemplate.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    40/45

    *. (elect the properties in the pull-down selectors at the bottom of the dialog. +enerallymap 9$ red1 for gas, +$ green1 for oil and

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    41/45

    $ector plots wor!flow

    %. 9ight-clic" on the Propertiesfolder for the simulation grid you wish to create aternary plot and select Settingsfrom the contet menu.

    '. &n the (ettings dialog go to the Composite tab.

    ). &nsert a new vector property definition by clic"ing on the +ppend item in thetablebutton. :nter a name and select the Type to be (e"tor. 6ccept the default +eneraltemplate

    *. (elect the properties in the pull down selectors at the bottom of the dialog. atch upthe &Q, /Q and 0Q dialogs with the appropriate properties. :nsure you select the sametime step for each property.

    . +enerally, clic" on the icon to create plots for each time step if wor"ing on recurrentproperties.

    2. 5lic" on +pply to save the settings and the *(ecutebutton to create the properties.

    8ector plots are displayed in the )! window. To display the arrows the solid fill will haveto be removed from the Styletab of the main Properties folder.

    &t is also preferable to restrict the display to either a single 0 layer or a small area ofparticular interest for clarity.

    The appearance of the arrows may be modified in the Style tab in the (ettings dialog forthe vector plot property.

    General intersection contour display

    This functionality allows you to display property values on a +eneral &ntersection,contour them and smooth the contours as re4uired. &t is assumed this will be used with

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    42/45

    simulation results (W6T, (3&A, P9:((9:, etc.1 to demonstrate Zfronts in thedisplayed property. (ee also &so(urfaces display1.

    Wor"flow$

    %. !isplay a property in the )! viewer.

    '. &nsert a General &ntersection from theInterse"tionsfolder by selecting &nsertgeneral intersection from the right-clic" contet menu.

    ). Position intersection using icons at the bottom of the window and using hot"ey 1.

    *. 9emove the property from display.

    . 5lic" on the Toggle )isuali5ation on planebutton located bottom left1, or press 5trl-b, and select a property to display on the plane.

    2. !ouble-clic" on the property name to open the Settings dialog, and while the Toggle)isuali5ation on planebutton is enabled go to the &ntersection tab on the Style tab ofthe property

    7. &n the Showgroup, clic" Contours to activate the 5ontour lines, 5ontour annotationand 5ontour solid groups.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    43/45

    >. 5lic" to show the 5ontour lines and 5ontour solid, and set the parameters asnecessary.

    ?. &n the Showgroup, select the amount of resolution and smoothness.

    This wor"flow does not wor" with an & or / intersection.

    Aocal +rid sets and the +lobal grid should be treated as separate items for this processand not contoured together.

    &soSurfaces display

    This process permits the user to create surfaces of a constant property value from a )!grid property. &t is envisaged that this will be used with simulation results (W6T, (3&A,P9:((9:, etc.1 to display Zfronts and how they move through a grid with time. (eealso +eneral intersection display1

    &soSurfaces wor!flow

    %. !isplay a property in the )! viewer _ generally a time dependent property from asimulation run. (elect a time step which includes the value of the &so(urface you want tocreate.

    '. 3pen the Settings menu for the time step property !ouble-clic" on the time step orselect Settings from the right-clic" contet menu.

    ). 5hec" the Statistics or Histogram tabs for the data range.

    *. +o to the Style tab and the &soSurfaces sub-tab.

    . +ppend item in the tableand provide an appropriate &sovalue. 5lic" on +pply

    2. &n order to view the surface you will need to modify the property display in one ofseveral ways$ note that if you clic" off the property display, the &so(urface goes tooE1

    &n the Style tab of the Settingsfor the main&ro'ertiesfolder you may clic" off Show

    of (olidto leave just the cell outlines in the display.

    !isplay the Property playerselect theDe!ine simulation "aseprocess under

    Simulationfolder in the Processespane. The Property player will appear on the far righthand side of the )! viewer. se, and to slice the property in an appropriate location thatdoes not interfere with the &so(urface.

    +dditional features

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    44/45

    se the +pply to all similar obAects in the same folderbutton to create an &so(urfacewith the selected value in all timesteps of the property.

  • 8/11/2019 Chapter 08_Defining a Simulation Case

    45/45

    (imulation logs can be displayed in these windows$ '!, )!, Well section and&ntersection.

    To display a log corresponding to a given time$

    (elect a window for display.

    &dentify the well in the &nput tree1 and display it.

    (elect the log from the (imulation logs folder under the well trace.

    5hoose a time from the Time Player drop-down list.

    &f a log eists for the selected time it will be displayed. Aogs can be animated throughtime using the Time Player controls. (ee Timestep Player.

    6ll other aspects of dynamic log display are the same as for regular logs, including thecontrol of properties and display of logs for all wells. The only difference is that you haveto select a time using the Time Player. (ee Templates and well logs. &n particular, you can

    display a log at a given time for all wells by using the global log template visuali=ationtic"-bo.