Files
opm-simulators/tests/GCONSUMP.DATA
T
Håkon Hægland 327dcd5a3c Make GCONSUMP test DATA files runnable with flow simulator
Update GCONSUMP.DATA and GCONSUMP_COMPLEX.DATA to be valid input for
full simulation runs while preserving their unit test functionality:

- Fix EQUIL datum depth to match gas-oil contact (7020 → 7000)
- Fix PVTO bubble point relationship (Rs/Pbub must be monotonic)
- Extend PVDG pressure range to cover reservoir pressure (→ 300 bar)
- Adjust SGOF Sg_max to avoid floating-point SOGCR precision issue
2026-01-21 14:58:28 +01:00

166 lines
2.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 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/
-- Test case for GCONSUMP efficiency factor handling in update_gconsump()
--
-- Group hierarchy:
-- FIELD
-- |
-- PLAT-A (GEFAC=0.9)
-- |
-- SUB-B (GEFAC=0.8, GCONSUMP consumption=100, import=50)
-- |
-- WELL-C
--
-- This setup tests:
-- - Hierarchical efficiency factor application (multiplicative: 0.8 × 0.9 = 0.72)
-- - GCONSUMP rate accumulation with efficiency factors
RUNSPEC
TITLE
GCONSUMP_EFFICIENCY_FACTOR_TEST
DIMENS
3 3 2 /
OIL
WATER
GAS
DISGAS
METRIC
START
1 'JAN' 2020 /
WELLDIMS
-- max wells, max cons/well, max groups, max wells/group
2 2 4 2 /
EQLDIMS
1 1* 25 1* 1 /
TABDIMS
-- NTSFUN NTPVT NSSFUN NPPVT NTFIP NRPVT NTEND NKRH
1 1 50 60 1 60 1 1 /
UNIFOUT
GRID
INIT
DXV
1000 1000 1000 /
DYV
1000 1000 1000 /
DZV
50 50 /
TOPS
9*7000 /
PORO
18*0.2 /
PERMX
18*200 /
PERMY
18*200 /
PERMZ
18*20 /
PROPS
SWOF
-- Sw Krw Krow Pcow
0.2 0 1 0
0.3 0.07 0.8 0
1.0 1 0 0 /
SGOF
-- Sg Krg Krog Pcog
0 0 1 0
0.05 0 0.8 0
0.79 1 0 0 /
DENSITY
800 1000 1 /
PVTW
1 1.0 4.0E-5 0.5 0.0 /
PVDG
1 1.0 0.01
100 0.1 0.015
300 0.033 0.02 /
PVTO
1 50 1.2 1.0
150 1.15 1.1
300 1.10 1.2 /
10 150 1.25 0.9
250 1.20 1.0
350 1.15 1.1 /
/
REGIONS
EQLNUM
18*1 /
SOLUTION
EQUIL
-- depth press woc pcow goc pcog rsvd rvvd N
7000 270 7050 0 7000 0 1* 0 0 /
SUMMARY
FOPR
FGPR
FWPR
GOPR 'PLAT-A' /
GGPR 'SUB-B' /
SCHEDULE
GRUPTREE
'PLAT-A' 'FIELD' /
'SUB-B' 'PLAT-A' /
/
-- Group efficiency factors
GEFAC
'PLAT-A' 0.9 /
'SUB-B' 0.8 /
/
-- Gas consumption and import for SUB-B group
GCONSUMP
'SUB-B' 100 50 /
/
WELSPECS
'WELL-C' 'SUB-B' 2 2 7000 'OIL' /
/
COMPDAT
'WELL-C' 2 2 1 2 'OPEN' 1* 1* 0.2 /
/
WCONPROD
'WELL-C' 'OPEN' 'ORAT' 1000 4* 200 /
/
TSTEP
1 /
END