Skip to content

Commit 9598226

Browse files
Norne branch (#108)
--------- Co-authored-by: Kaustubh <[email protected]> Co-authored-by: Kaustubh Tangsali <[email protected]>
1 parent ea8fe8e commit 9598226

File tree

320 files changed

+142427
-3627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

320 files changed

+142427
-3627
lines changed

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
*.stl filter=lfs diff=lfs merge=lfs -text
22
*.gif filter=lfs diff=lfs merge=lfs -text
3+
*.dat filter=lfs diff=lfs merge=lfs -text
4+
*.out filter=lfs diff=lfs merge=lfs -text
5+
*.csv filter=lfs diff=lfs merge=lfs -text

examples/reservoir_simulation/2D/Visuals/.gitkeep

Whitespace-only changes.

examples/reservoir_simulation/2D/src/conf/.gitkeep

Whitespace-only changes.

examples/reservoir_simulation/2D/src/conf/loss/.gitkeep

Whitespace-only changes.

examples/reservoir_simulation/CCUS/CCUS/CO2STORE_GASWAT.RSM

+156
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Use the NVIDIA Modulus image as the base image
2+
FROM nvcr.io/nvidia/modulus/modulus:23.09
3+
4+
# Set user and group arguments
5+
ARG MYUSER=user
6+
ARG MYUID=1000
7+
ARG MYGID=1000
8+
ARG PROCS=8
9+
10+
# Set build type argument and configure environment
11+
ARG BUILD_TYPE=Release
12+
ENV DEBIAN_FRONTEND noninteractive
13+
14+
# Install cmake, add user, and other dependencies
15+
RUN cd /workspace && \
16+
if [ -f /usr/bin/yum ]; then yum install -y make wget; fi && \
17+
if [ -f /usr/bin/apt-get ]; then apt-get update && apt-get install -y apt-utils make wget vim; fi && \
18+
wget -q https://github.com/Kitware/CMake/releases/download/v3.23.0/cmake-3.23.0-linux-x86_64.tar.gz && \
19+
tar xf cmake-3.23.0-linux-x86_64.tar.gz && rm cmake-3.23.0-linux-x86_64.tar.gz && \
20+
groupadd -f -g ${MYGID} ${MYUSER} && \
21+
useradd -rm -u $MYUID -g $MYUSER -p "" $MYUSER && \
22+
chown ${MYUSER}:${MYGID} /workspace
23+
24+
# Clone and build MPSlib
25+
RUN cd /workspace && git clone https://github.com/ergosimulation/mpslib.git MPSlib && cd MPSlib && make -j ${PROCS}
26+
27+
# Install Flow OPM simulator
28+
RUN apt-get update && apt-get install -y software-properties-common
29+
RUN add-apt-repository ppa:opm/ppa && apt-get update
30+
RUN apt-get install -y opm-simulators
31+
32+
# Install Python packages
33+
RUN pip3 install tensorflow==2.9.1 scikit-mps kneed pyDOE FyeldGenerator py-cpuinfo gdown gstools scikit-image ema-pytorch accelerate loky xgboost scikit-learn pandas
34+
35+
# Set the working directory
36+
WORKDIR /workspace/project
37+
38+
# Define the CMD or ENTRYPOINT as needed for your application
39+
# CMD /workspace/compile_amgx.sh
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
-- This reservoir simulation deck is made available under the Open Database
2+
-- License: http://opendatacommons.org/licenses/odbl/1.0/. Any rights in
3+
-- individual contents of the database are licensed under the Database Contents
4+
-- License: http://opendatacommons.org/licenses/dbcl/1.0/
5+
6+
-- Copyright (C) 2023 TNO
7+
8+
-- Test case for CO2STORE in combination with GASWAT.
9+
----------------------------------------------------------------------------
10+
RUNSPEC
11+
----------------------------------------------------------------------------
12+
TITLE
13+
14+
START
15+
1 'FEB' 2024 /
16+
17+
METRIC
18+
19+
CO2STORE
20+
21+
22+
COMPS
23+
2
24+
/
25+
26+
DIMENS
27+
50 50 10 /
28+
29+
TABDIMS
30+
1 1 40 40 /
31+
32+
EQLDIMS
33+
1 1* 20 1 20 /
34+
35+
REGDIMS
36+
10 1 0 1 0 /
37+
38+
WELLDIMS
39+
2 30 1 1/
40+
41+
42+
GASWAT
43+
UNIFOUT
44+
UNIFIN
45+
46+
GRID ================================================
47+
INIT
48+
49+
TOPS
50+
2500*2000/
51+
52+
DXV
53+
50*20 /
54+
DYV
55+
50*20 /
56+
DZV
57+
10*5 /
58+
59+
--EQUALS
60+
--PERMX 100 /
61+
--PERMY 100 /
62+
--PERMZ 100 /
63+
--PORO 0.25 /
64+
--/
65+
66+
INCLUDE
67+
'porosity.dat' /
68+
69+
INCLUDE
70+
'permx.dat' /
71+
72+
73+
74+
COPY
75+
PERMX PERMY /
76+
PERMX PERMZ /
77+
/
78+
79+
EDIT ================================================
80+
81+
MULTIPLY
82+
PORV 10000000 1 1 1 50 1 10/
83+
PORV 10000000 1 50 1 1 1 10/
84+
PORV 10000000 50 50 1 50 1 10/
85+
PORV 10000000 1 50 50 50 1 10/
86+
/
87+
88+
PROPS ======================================================
89+
90+
91+
ROCK
92+
200 5e-05 /
93+
94+
95+
RTEMP
96+
80
97+
/
98+
99+
100+
NCOMPS
101+
102+
2
103+
/
104+
CNAMES
105+
106+
'CO2'
107+
'H2O'
108+
109+
/
110+
111+
ZMFVD
112+
-- depth CO2 H2O
113+
2000 0 1.0
114+
2100 0 1.0 /
115+
116+
117+
--- relative permeabilities
118+
119+
WSF
120+
0.20 0.0
121+
0.40 0.1
122+
0.80 0.5
123+
1.0 1.0
124+
/
125+
126+
GSF
127+
0 0.0 0.0
128+
0.08 0.001 0.0
129+
0.17 0.01 0.0
130+
0.35 0.05 0.0
131+
0.53 0.20 0.0
132+
0.62 0.35 0.0
133+
0.65 0.39 0.0
134+
0.71 0.56 0.0
135+
0.80 1.0 0.0
136+
/
137+
138+
SOLUTION ===============================================================
139+
140+
EQUIL
141+
-- system is saturated with water
142+
143+
2000 200 1800 0 1800 0 /
144+
145+
146+
RPTRST
147+
'BASIC=2' 'ALLPROPS' /
148+
149+
SUMMARY ===========================================================
150+
151+
ALL
152+
153+
--WXMF
154+
--'*' 1 /
155+
--'*' 2 /
156+
--/
157+
--WYMF
158+
--'*' 1 /
159+
--'*' 2 /
160+
--/
161+
--WZMF
162+
--'*' 1 /
163+
--'*' 2 /
164+
--/
165+
--WCGMR
166+
--'*' 1 /
167+
--'*' 2 /
168+
--/
169+
--WCOMR
170+
--'*' 1 /
171+
--'*' 2 /
172+
--/
173+
174+
FWCD
175+
176+
FGCDI
177+
178+
FGCDM
179+
180+
181+
EXCEL
182+
RUNSUM
183+
SEPARATE
184+
RPTONLY
185+
186+
SCHEDULE ===============================================
187+
188+
RPTRST
189+
'BASIC=2' 'ALLPROPS'/
190+
191+
WELLSTRE
192+
'C02STREAM' 1.0 0.0 /
193+
/
194+
195+
WELSPECS
196+
--INJ1 FIELD 25 25 1* GAS /
197+
INJ1 'G1' 25 25 1* GAS /
198+
/
199+
200+
COMPDAT
201+
INJ1 25 25 1 10 OPEN 2* 0.3 /
202+
/
203+
204+
WINJGAS
205+
INJ1 STREAM C02STREAM /
206+
/
207+
208+
WCONINJE
209+
INJ1 GAS OPEN RATE 1000 1* 300 /
210+
/
211+
212+
TSTEP
213+
10*18262.5 /
214+
215+
END

0 commit comments

Comments
 (0)