Skip to content

Commit

Permalink
Merge pull request #142 from joakim-hove/example-case
Browse files Browse the repository at this point in the history
Add an example case for interactive testing/use
  • Loading branch information
joakim-hove authored Sep 24, 2018
2 parents c5c9f4e + 66a26a8 commit caa4374
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ TOPS
-- The depth of the top of each grid block
100*8325 /

PORO
-- Constant porosity of 0.3 throughout all 300 grid cells
300*0.3 /

-- ERT: Here we include a file which should be created using a GEN_KW keyword from ert.
INCLUDE
'poro.grdecl' /


PERMX
-- The layers have perm. 500mD, 50mD and 200mD, respectively.
Expand Down
Binary file not shown.
Binary file not shown.
37 changes: 29 additions & 8 deletions test-data/local/example_case/example.ert
Original file line number Diff line number Diff line change
@@ -1,15 +1,36 @@
QUEUE_SYSTEM LOCAL
-- This ert configuration file is an example which can be used to check that your
-- local ert installation is basically sane. This example is not meant to be used
-- as an automatically run integration test, rather it is meant to be tested
-- interactively.
--
-- The example is based on the ECLIPSE100 forward model, that implies that you must
-- configure the local eclipse related details corresponding to your site[1].
--
-- NB: the current case has *not* been carefully constructed to demonstrate the
-- capabilities of ert; from a model updating perspective the current case is
-- totally uninteresting.
--
-- [1]: This amounts to editing the file ecl_config.yml in the res.fm.ecl python
-- package from the libres installation. See the documentation in the
-- ecl_config.yml example file supplied with the libres distribution, or
-- alternatively the "Post install configuration" section in the libres README.

NUM_REALIZATIONS 1
QUEUE_SYSTEM LOCAL
NUM_REALIZATIONS 20

DEFINE <STORAGE> storage/<CONFIG_FILE_BASE>
RUNPATH output/simulations/runpath/realisation-%d/iter-%d
ENSPATH output/storage

RUNPATH_FILE directory/test_runpath_list.txt
RUNPATH <STORAGE>/runpath/realisation-%d/iter-%d
ENSPATH <STORAGE>/ensemble
ECLBASE EXAMPLE%d
DATA_FILE eclipse/model/SPE1.DATA
REFCASE eclipse/refcase/REFCASE

GEN_KW MULT_PORO templates/poro.tmpl poro.grdecl parameters/poro.txt

ECLBASE EXAMPLE
FORWARD_MODEL ECLIPSE100_2016.2

OBS_CONFIG observations/observations.txt

FORWARD_MODEL ECLPISE100_2016.2
SUMMARY W*
SUMMARY F*
SUMMARY BPR*
25 changes: 25 additions & 0 deletions test-data/local/example_case/observations/observations.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
SUMMARY_OBSERVATION WGOR_2018
{
VALUE = 8;
ERROR = 2;
RESTART = 37;
KEY = WGOR:PROD;
};


SUMMARY_OBSERVATION WGOR_2022
{
VALUE = 20;
ERROR = 4;
RESTART = 85;
KEY = WGOR:PROD;
};

SUMMARY_OBSERVATION BOR_2025
{
VALUE = 5000;
ERROR = 1200;
RESTART = 110;
KEY = BPR:1,1,1;
};

4 changes: 4 additions & 0 deletions test-data/local/example_case/parameters/poro.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PORO1 UNIFORM 0 0.75
PORO2 UNIFORM 0.15 0.45
PORO3 UNIFORM 0.25 1.00

22 changes: 22 additions & 0 deletions test-data/local/example_case/templates/poro.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
BOX
1 10 1 10 1 1 /

PORO
100*<PORO1> /

BOX
1 10 1 10 2 2 /

PORO
100*<PORO2> /

BOX
1 10 1 10 3 3 /

PORO
100*<PORO3> /


ENDBOX


0 comments on commit caa4374

Please sign in to comment.