Skip to content

Commit 885dba8

Browse files
authored
Merge pull request #28 from daavid00/dev
Bug fix in case 4 for the salty paper after code refactory
2 parents f12f66c + bd80f9a commit 885dba8

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

  • .github/workflows
  • publications/Impact_of_Intermittency_on_Salt_Precipitation_During_CO2_Injection_2024_SPE/case4

.github/workflows/CI.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ jobs:
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929

30-
- name: Install Flow Simulator and LaTeX dependencies
30+
- name: Install Flow Simulator
3131
run: |
3232
sudo apt-get update
3333
sudo apt-get install software-properties-common
3434
sudo apt-add-repository ppa:opm/ppa
3535
sudo apt-get update
3636
sudo apt-get install mpi-default-bin
3737
sudo apt-get install libopm-simulators-bin
38-
sudo apt-get install texlive-fonts-recommended texlive-fonts-extra dvipng cm-super
3938
4039
- name: Install test dependecies
4140
run: |

publications/Impact_of_Intermittency_on_Salt_Precipitation_During_CO2_Injection_2024_SPE/case4/including_salt_precipitation/co2.mako

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ popevals = [[["phr",0.35],["gam",1.75],["thr",1e-2],["npoints",1001]],
4949
#Define the injection values (entry per change in the schedule):
5050
#1) injection time [d], 2) time step size to write results [d], 3) fluid (0 wetting, 1 non-wetting), 4) injection rates [kg/day].
5151
#If --enable-tuning=1, then 5) for TUNING values as described in the OPM manual.
52-
inj = [[5,5,1,144000,"1e-2 5e-3"],
53-
[360,360,1,144000,"1e-2 5e-1"],
52+
inj = [[5,5,1,144000,"1e-2 5e-3 1e-12"],
53+
[360,360,1,144000,"1e-2 5e-1 1e-12"],
5454
% for i,control in enumerate(schedule[1:]):
5555
% if i == len(schedule[1:])-1:
56-
[${tperiod},${tperiod},1,${control*144000.0},${"1e-2 0.5 1e-12" if control==1 else 5}]]
56+
[${tperiod},${tperiod},1,${control*144000.0},"1e-2 ${0.5 if control==1 else 5} 1e-12"]]
5757
% else:
58-
[${tperiod},${tperiod},1,${control*144000.0},${"1e-2 0.5 1e-12" if control==1 else 5}],
58+
[${tperiod},${tperiod},1,${control*144000.0},"1e-2 ${0.5 if control==1 else 5} 1e-12"],
5959
% endif
6060
% endfor

publications/Impact_of_Intermittency_on_Salt_Precipitation_During_CO2_Injection_2024_SPE/case4/neglecting_salt_precipitation/co2.mako

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ rock = [[101.324,10.1324,0.2,25,25],[202.650,20.2650,0.2,25,25],[506.625,50.6625
4141
#Define the injection values (entry per change in the schedule):
4242
#1) injection time [d], 2) time step size to write results [d], 3) fluid (0 wetting, 1 non-wetting), 4) injection rates [kg/day].
4343
#If --enable-tuning=1, then 5) for TUNING values as described in the OPM manual.
44-
inj = [[5,5,1,144000,"1e-2 5e-3"],
45-
[360,360,1,144000,"1e-2 5e-1"],
44+
inj = [[5,5,1,144000,"1e-2 5e-3 1e-12"],
45+
[360,360,1,144000,"1e-2 5e-1 1e-12"],
4646
% for i,control in enumerate(schedule[1:]):
4747
% if i == len(schedule[1:])-1:
48-
[${tperiod},${tperiod},1,${control*144000.0},${"1e-2 0.5 1e-12" if control==1 else 5}]]
48+
[${tperiod},${tperiod},1,${control*144000.0},"1e-2 ${0.5 if control==1 else 5} 1e-12"]]
4949
% else:
50-
[${tperiod},${tperiod},1,${control*144000.0},${"1e-2 0.5 1e-12" if control==1 else 5}],
50+
[${tperiod},${tperiod},1,${control*144000.0},"1e-2 ${0.5 if control==1 else 5} 1e-12"],
5151
% endif
5252
% endfor

0 commit comments

Comments
 (0)