Skip to content

Commit

Permalink
Switch to use Erts updated FLOW forward model
Browse files Browse the repository at this point in the history
This requires Ert in version 13
  • Loading branch information
berland committed Jan 15, 2025
1 parent 891645b commit ea3e506
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 27 deletions.
11 changes: 0 additions & 11 deletions ert/bin/jobs/FM_OPM_FLOW

This file was deleted.

5 changes: 1 addition & 4 deletions ert/input/config/install_custom_jobs.ert
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ INSTALL_JOB CREATEDATEFILES ../../bin/jobs/FM_CREATEDATEFILES
-- write simulated tracer break through times
INSTALL_JOB TRACER_BREAKTHROUGH ../../bin/jobs/FM_TRACER_BREAKTHROUGH

-- OPM flow simulator
INSTALL_JOB OPM_FLOW ../../bin/jobs/FM_OPM_FLOW

-- Make xsections of wells (png file)
INSTALL_JOB XSECT_WELLS ../../bin/jobs/FM_XSECT_WELLS

Expand Down Expand Up @@ -85,7 +82,7 @@ LOAD_WORKFLOW ../../bin/workflows/wf_merge_pem_csv_predop5

------------------------------------------------------
-- Create aggregated csv by merging parameters.txt files for all reals
-- here one file per iteration, but possible to include all in one file, see:
-- here one file per iteration, but possible to include all in one file, see:
-- https://fmu-docs.equinor.com/docs/ert/reference/workflows/added_workflow_jobs.html#PARAMS2CSV
LOAD_WORKFLOW ../../bin/workflows/wf_aggregate_parameters_iter0
LOAD_WORKFLOW ../../bin/workflows/wf_aggregate_parameters_iter3
Expand Down
6 changes: 4 additions & 2 deletions ert/model/drogon_ahm.ert
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,10 @@ FORWARD_MODEL ECLCOMPRESS -- Compress eclipse include files
-- FORWARD_MODEL INSERT_NOSIM
-- FORWARD_MODEL ECLIPSE100(<VERSION>=2022.2)

FORWARD_MODEL OPM_FLOW -- flowrc23

FORWARD_MODEL FLOW( \
<VERSION>=rc23, \
<OPTS>="--use-implicit-ipr=true --enable-esmry=true --solver-max-time-step-in-days=31.0 --local-well-solve-control-switching=true" \
)

-- make symlinks with generic name
FORWARD_MODEL MAKE_SYMLINK(<TARGET>=<RUNPATH>/<ECLBASE>.EGRID, <LINKNAME>=<RUNPATH>/eclipse/model/ECLIPSE.EGRID)
Expand Down
5 changes: 4 additions & 1 deletion ert/model/drogon_design.ert
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ FORWARD_MODEL ECLCOMPRESS -- Compress eclipse input files
-- FORWARD_MODEL INSERT_NOSIM
-- FORWARD_MODEL ECLIPSE100(<VERSION>=2022.2)

FORWARD_MODEL OPM_FLOW -- flowrc23
FORWARD_MODEL FLOW( \
<VERSION>=rc23, \
<OPTS>="--use-implicit-ipr=true --enable-esmry=true --solver-max-time-step-in-days=31.0 --local-well-solve-control-switching=true" \
)

FORWARD_MODEL MAKE_SYMLINK(<TARGET>=<RUNPATH>/<ECLBASE>.EGRID, <LINKNAME>=<RUNPATH>/eclipse/model/ECLIPSE.EGRID)
FORWARD_MODEL MAKE_SYMLINK(<TARGET>=<RUNPATH>/<ECLBASE>.INIT, <LINKNAME>=<RUNPATH>/eclipse/model/ECLIPSE.INIT)
Expand Down
6 changes: 4 additions & 2 deletions ert/model/drogon_exercise_03a.ert
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ FORWARD_MODEL RMS(<IENS>=<IENS>, <RMS_VERSION>=<RMS_VERSION>, <RMS_PROJECT>=<CON

FORWARD_MODEL ECLCOMPRESS -- Compress eclipse include files

FORWARD_MODEL OPM_FLOW -- flowrc23

FORWARD_MODEL FLOW( \
<VERSION>=rc23, \
<OPTS>="--use-implicit-ipr=true --enable-esmry=true --solver-max-time-step-in-days=31.0 --local-well-solve-control-switching=true" \
)

----------------------------------------------------
-- ERT plotting
Expand Down
7 changes: 4 additions & 3 deletions ert/model/drogon_exercise_04a.ert
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,10 @@ FORWARD_MODEL RMS(<IENS>=<IENS>, <RMS_VERSION>=<RMS_VERSION>, <RMS_PROJECT>=<CON

FORWARD_MODEL ECLCOMPRESS -- Compress eclipse include files

FORWARD_MODEL OPM_FLOW -- flowrc23


FORWARD_MODEL FLOW( \
<VERSION>=rc23, \
<OPTS>="--use-implicit-ipr=true --enable-esmry=true --solver-max-time-step-in-days=31.0 --local-well-solve-control-switching=true" \
)
-----------------------------------------------------
---- PostEclipse
-----------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion ert/model/drogon_exercise_10a.ert
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ FORWARD_MODEL RMS(<IENS>=<IENS>, <RMS_VERSION>=<RMS_VERSION>, <RMS_PROJECT>=<CON

FORWARD_MODEL ECLCOMPRESS -- Compress eclipse include files

FORWARD_MODEL OPM_FLOW -- flowrc23
FORWARD_MODEL FLOW( \
<VERSION>=rc23, \
<OPTS>="--use-implicit-ipr=true --enable-esmry=true --solver-max-time-step-in-days=31.0 --local-well-solve-control-switching=true" \
)

----------------------------------------------------
-- ERT plotting
Expand Down
7 changes: 5 additions & 2 deletions ert/model/drogon_pred_op5.ert
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DEFINE <USER> $USER
DEFINE <SCRATCH> /scratch/fmu
DEFINE <CASE_DIR> 01_drogon_ahm
DEFINE <ECLIPSE_NAME> DROGON
--
--
DEFINE <RMS_NAME> drogon.rms14.2.2
DEFINE <RMS_VERSION> 14.2.2
DEFINE <RMS_WF_NAME> WELL_PLANNING
Expand Down Expand Up @@ -155,7 +155,10 @@ FORWARD_MODEL RMS(<IENS>=<IENS>, <RMS_VERSION>=<RMS_VERSION>, <RMS_PROJECT>=<CON
-- FORWARD_MODEL INSERT_NOSIM
-- FORWARD_MODEL ECLIPSE100(<VERSION>=2022.2)

FORWARD_MODEL OPM_FLOW -- flowrc23
FORWARD_MODEL FLOW( \
<VERSION>=rc23, \
<OPTS>="--use-implicit-ipr=true --enable-esmry=true --solver-max-time-step-in-days=31.0 --local-well-solve-control-switching=true" \
)

-- Merge hist and pred UNRST files
FORWARD_MODEL MERGE_UNRST_FILES(<UNRST1>=../<RESTART_DIR>/<ECLBASE>.UNRST, <UNRST2>=<ECLBASE>.UNRST, <OUTPUT>=eclipse/model/ECLIPSE_MERGED.UNRST)
Expand Down
5 changes: 4 additions & 1 deletion ert/model/drogon_pred_ref.ert
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ FORWARD_MODEL FM_MERGE_PARAMETERS(<PATH_BASE>=<RUNPATH>, <PATH_PREPEND>=<RUNPATH
-- FORWARD_MODEL INSERT_NOSIM
-- FORWARD_MODEL ECLIPSE100(<VERSION>=2022.2)

FORWARD_MODEL OPM_FLOW -- flowrc23
FORWARD_MODEL FLOW( \
<VERSION>=rc23, \
<OPTS>="--use-implicit-ipr=true --enable-esmry=true --solver-max-time-step-in-days=31.0 --local-well-solve-control-switching=true" \
)

-- Merge hist and pred UNRST files (merged file can be deleted after post-processing)
FORWARD_MODEL MERGE_UNRST_FILES(<UNRST1>=../<RESTART_DIR>/<ECLBASE>.UNRST, <UNRST2>=<ECLBASE>.UNRST, <OUTPUT>=eclipse/model/ECLIPSE_MERGED.UNRST)
Expand Down

0 comments on commit ea3e506

Please sign in to comment.