-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathUDQ_M1_RESTART.DATA
428 lines (338 loc) · 9.79 KB
/
UDQ_M1_RESTART.DATA
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
-- This reservoir simulation deck is made available under the Open Database
-- License: http://opendatacommons.org/licenses/odbl/1.0/. Any rights in
-- individual contents of the database are licensed under the Database Contents
-- License: http://opendatacommons.org/licenses/dbcl/1.0/
-- Copyright (C) 2018 Equinor
-- The main purpose of this deck is to test restarting of deck with basic
-- UDQ usage.
--------------------------------------------------------
-- *****************************************************
RUNSPEC
-- *****************************************************
-- Simulation run title
TITLE
Generic Reservoir
NOECHO
--
-- ----------------------------------------------------
-- Simulation grid dimension (Imax, Jmax, Kmax)
DIMENS
15 10 7 /
--
-- ----------------------------------------------------
-- Simulation run start
START
11 'AUG' 2020 /
-- ----------------------------------------------------
--Activate "Data Check Only" option
--NOSIM
--
--
-- ----------------------------------------------------
-- Fluid phases present
OIL
GAS
WATER
DISGAS
--
-- ----------------------------------------------------
-- Measurement unit used
METRIC
--
--
--Table dimensions
TABDIMS
-- NTSFUN NTPVT NSSFUN NPPVT NTFIP NRPVT
1 1 130 24 1 20 /
--
-- ----------------------------------------------------
-- Dimensions for equilibration tables
EQLDIMS
1 1* 20 /
--
--
-- ----------------------------------------------------
--Dimension for well data
WELLDIMS
5 10 3 5 /
--FLOW THP WCT GCT ALQ VFP
VFPPDIMS
22 13 10 13 13 50 /
--
--
--
-- ----------------------------------------------------
-- Input and output files format
UNIFIN
UNIFOUT
-- Dimensions for used defined quantity facility
-- max functions permitted in a quantity definition
-- max arguments permitted in a quantity definition
-- max user defined connection quantities
-- max user defined field quantities
-- max user defined group quantities
-- max user defined region quantities
-- max user defined segment quantities
-- max user defined well quantities
-- max user defined aquifer quantities
-- max user defined block quantities
-- whether new randon number generator seed computed for restart runs
UDQDIMS
200 100 2 500 10 4 4 6 4 4 /
-- Dimensions for the user defined arguments facility
-- number of keyword arguments in which UDQs replace numerical values
-- ratained for back-compatibility
-- total number of unique instances in which a UDQ is used in a keyword argument
UDADIMS
200000 1* 200000 /
UDQPARAM
/
--PARALLEL
-- 2 /
-- *************************************************************************
-- In this section simulation grid and static reservoir parameters are given
-- *************************************************************************
GRID
-- ****************************************************
-------------------------------------------------------
--
--Disable echoing of the input file
NOECHO
--
--Requests output of an INIT file
INIT
--
--Control output of the Grid geometry file
GRIDFILE
0 1 /
--
--Input of pre-processor map origin (X1, Y1, X2, Y2, X3, Y3)
--X1 Y1 The X and Y coordinates of one point of the grid Y-axis relative to the map
--X2 Y2 The X and Y coordinates of the grid origin relative to the map origin
--X3 Y3 The X and Y coordinates of one point of the grid X-axis relative to the map
MAPAXES
0.0 100.0 0.0 0.0 100.0 0.0 /
--
--
NOECHO
--
-- ----------------------------------------------------
--Include simulation grid
INCLUDE
'./include/test_15x10x7.grdecl' /
PORO
150*0.25
150*0.20
150*0.23
150*0.18
150*0.22
150*0.21
150*0.19
/
PERMX
150*5000
150*1000
150*10000
150*2500
150*12500
150*1750
150*150
/
-- ---------------------------------------------------
-- Copy PERMX to PERMY & PERMZ
COPY
PERMX PERMY /
PERMX PERMZ /
/
--
-- ---------------------------------------------------
-- Set Kv/Kh
MULTIPLY
PERMZ 0.1 /
/
-- ***************************************************
-- In this section simulation grid parameters are edited
-- ***************************************************
EDIT
-- ***************************************************
-- ***************************************************
-- In this section fluid-rock properties and
-- relative permabilities are given
-- ***************************************************
PROPS
-- ***************************************************
INCLUDE
'include/sgof.txt' /
INCLUDE
'include/swof.txt' /
-- ---------------------------------------------------
-- Include PVT data
INCLUDE
'include/example_pvt.txt' /
-- ***********************************************************
-- In this section simulation grid region parameters are given
-- ***********************************************************
REGIONS
-- ***************************************************
EQLNUM
1050*1 /
-- ***************************************************
-- In this section the initialization parameters and
-- dynamic parameters are defined
-- ***************************************************
SOLUTION
RESTART
'UDQ_M1' 5 /
RPTRST
'BASIC=2' 'PBPD' /
--
-- **************************************************************************************
-- In this section simulation output data to be written to sumTESTy file are defined
-- **************************************************************************************
SUMMARY
-- ***************************************************
-- ---------------------------------------------------
-- Summary data to be written to summary file
--
--
-- **************************************************************************************
-- In this section data required to describe history and prediction is given
-- - well completions, well production/injection, well constraints
-- - platform/production unit constraints, etc.
-- **************************************************************************************
FPR
FWCT
FOPR
FMWIN
FMWPA
FMWIA
FGOR
WOPR
PROD1 PROD2 PROD3 /
WWCT
PROD1 PROD2 PROD3 /
WGOR
PROD1 PROD2 PROD3 /
WTHP
PROD1 PROD2 PROD3 /
WBHP
PROD1 PROD2 PROD3 INJ1 INJ2 /
WGLIR
PROD1 PROD2 PROD3 /
WMCTL
/
FU_PAR1
FU_PAR2
FU_PAR3
FU_PAR4
FU_PAR5
FU_PAR6
FU_PAR7
FU_PAR8
FU_PAR9
FU_PAR10
FU_PAR11
FU_PAR12
FU_PAR13
FU_PAR14
FU_PAR15
FU_PAR16
FU_PAR17
FU_PAR18
FU_PAR19
FU_PAR20
FU_PAR21
FU_PAR22
FU_PAR23
FU_PAR24
SCHEDULE
INCLUDE
'include/well_vfp.ecl' /
-- ***************************************************
WELSPECS
'PROD1' 'TEST' 3 2 2002 'OIL' 0.00 'STD' 'SHUT' 'YES' 0 'SEG' /
'PROD2' 'TEST' 4 5 2002 'OIL' 0.00 'STD' 'SHUT' 'YES' 0 'SEG' /
'PROD3' 'TEST' 3 8 2002 'OIL' 0.00 'STD' 'SHUT' 'YES' 0 'SEG' /
'INJ1' 'TEST' 12 3 2002 'OIL' 0.00 'STD' 'SHUT' 'YES' 0 'SEG' /
'INJ2' 'TEST' 12 7 2002 'OIL' 0.00 'STD' 'SHUT' 'YES' 0 'SEG' /
/
COMPDAT
-- --------------------------------------------------------------------------------------------------
'PROD1' 3 2 1 5 'OPEN' 0 1* 0.241 1* 2.50 0.0 'Z' 1* /
'PROD2' 4 5 1 5 'OPEN' 0 1* 0.241 1* 2.50 0.0 'Z' 1* /
'PROD3' 3 8 1 5 'OPEN' 0 1* 0.241 1* 2.50 0.0 'Z' 1* /
'INJ1' 12 3 3 7 'OPEN' 0 1* 0.241 1* 2.50 0.0 'Z' 1* /
'INJ2' 12 7 3 7 'OPEN' 0 1* 0.241 1* 2.50 0.0 'Z' 1* /
/
-- Well production rate targets/limits:
WCONPROD
-- name status ctrl qo qw qg ql qr bhp thp vfp alq
'PROD1' 'OPEN' 'ORAT' 5000. 1* 1* 5000 1* 120.0 50.0 1 25000.0 /
'PROD2' 'OPEN' 'ORAT' 5000. 1* 1* 5000 1* 120.0 50.0 1 35000.0 /
'PROD3' 'OPEN' 'ORAT' 5000. 1* 1* 5000 1* 120.0 50.0 1 45000.0 /
/
GCONINJE
'TEST' 'WATER' 'VREP' 3* 1.020 'NO' 5* /
/
WCONINJE
-- name inj type status ctrl surface_qw res_qw BHPmax
'INJ1' 'WATER' 'OPEN' 'GRUP' 10000.0 1* 400. /
'INJ2' 'WATER' 'OPEN' 'GRUP' 10000.0 1* 400. /
/
-- start date: 11 'AUG' 2020 /
UDQ
ASSIGN FU_PAR1 1.0 / -- xxxxxxxxxxxxxxxxxxxxxx
ASSIGN FU_PAR2 0.0 /
ASSIGN FU_PAR3 0.0 /
ASSIGN FU_PAR4 0.0 /
ASSIGN FU_PAR5 0.0 /
-- xxxxx xxxx
DEFINE FU_PAR6 FMWPR /
-- xxxxxxxxxxxxxxxxxxxx
DEFINE FU_PAR7 FMWIN /
DEFINE FU_PAR8 FMWPA /
DEFINE FU_PAR9 FMWIA /
-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DEFINE FU_PAR10 (FU_PAR6 - FU_PAR2) + (FU_PAR8 - FU_PAR4) /
DEFINE FU_PAR11 (FU_PAR7 - FU_PAR3) + (FU_PAR9 - FU_PAR5) /
DEFINE FU_PAR12 FU_PAR10 > 0 /
DEFINE FU_PAR13 FU_PAR11 > 0 /
DEFINE FU_PAR14 FU_PAR12 * FU_PAR10 /
DEFINE FU_PAR15 FU_PAR13 * FU_PAR11 /
DEFINE FU_PAR2 FU_PAR6 /
DEFINE FU_PAR3 FU_PAR7 /
DEFINE FU_PAR4 FU_PAR8 /
DEFINE FU_PAR5 FU_PAR9 /
-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ASSIGN FU_PAR16 0.08 /
ASSIGN FU_PAR17 100.0 /
ASSIGN FU_PAR18 6.0 /
ASSIGN FU_PAR19 0.0 /
-- xxxxxxxxxxxxx
DEFINE FU_PAR19 FU_PAR19 + TIMESTEP /
ASSIGN FU_PAR20 800.0 /
ASSIGN FU_PAR21 0.0 /
-- xxxxxxxxxxxxxxxxx
DEFINE FU_PAR21 FU_PAR21 UADD FU_PAR20 * (FU_PAR14 + FU_PAR15) / ((1.0 + 0.08 ) ^ (FU_PAR19 /365)) /
-- xxxxxxxxxxxxxxxxxxxx
ASSIGN FU_PAR22 0.0 /
DEFINE FU_PAR22 FU_PAR22 + FOPR * TIMESTEP * 1E-06 * 6.29 * FU_PAR17 * FU_PAR18 / ((1.0 + 0.08 ) ^ (FU_PAR19 /365)) /
DEFINE FU_PAR23 FU_PAR22 - FU_PAR21 /
-- xxxxxxxxxxxxxxxxxxxxxxxx
ASSIGN FU_PAR24 0.9 /
DEFINE FU_PAR24 FU_PAR24 UADD (FU_PAR14 + FU_PAR15) /
-- xxxxxxxxxxxxxxxxxxxxxxxxxxxx
DEFINE WUGASRA 750000 - WGLIR '*' /
/
DATES
12 'AUG' 2020 / -- 1
15 'AUG' 2020 / -- 2
1 'SEP' 2020 / -- 3
1 'OCT' 2020 / -- 4
1 'NOV' 2020 / -- 5
1 'DEC' 2020 / -- 6
1 'JAN' 2021 / -- 7
1 'FEB' 2021 / -- 8
1 'MAR' 2021 / -- 9
1 'APR' 2021 / -- 10
/