OPM / opm-core

Collection of utilities, solvers and other components.
http://www.opm-project.org
GNU General Public License v3.0
44 stars 50 forks source link

Fix fallout if no group controll (NONE) is specified for a group #1173

Closed totto82 closed 7 years ago

totto82 commented 7 years ago

This fixes a case where no group control is specified for a group. For applying this patch to the SPE9 case:

--- a/wells_test_suite/GROUP/SPE9_GROUP/SPE9_CP_GROUP.DATA
+++ b/wells_test_suite/GROUP/SPE9_GROUP/SPE9_CP_GROUP.DATA
@@ -432,8 +432,8 @@ WELSPECS
  'INJE2 '  'A'  4  20  9110 'WATER'    60   /
  'PRODU7 ' 'A'  4   6  9110 'OIL'      60   /
  'PRODU9 ' 'A'  14  8  9110 'OIL'      60   /
- 'PRODU15' 'A'  11 14  9110 'OIL'      60   /
- 'PRODU23' 'A'  15 22  9110 'OIL'      60   /
+ 'PRODU15' 'B'  11 14  9110 'OIL'      60   /
+ 'PRODU23' 'B'  15 22  9110 'OIL'      60   /
 /

This will fail in the current master. Since no control is specified for group B. But work with this patch.

GitPaean commented 7 years ago

The data file /wells_test_suite/GROUP/SPE9_GROUP/SPE9_CP_GROUP.DATA has been moved to /spe9group in opm-data with OPM/opm-data#236

totto82 commented 7 years ago

The data file /wells_test_suite/GROUP/SPE9_GROUP/SPE9_CP_GROUP.DATA has been moved to /spe9group in opm-data. This was just an example to illustrate when it fails. I don't have any plans for changing the test case.

atgeirr commented 7 years ago

jenkins build this with downstreams please