mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-19 05:53:28 -06:00
added initial input reading for group control (GRUP-keyword)
This commit is contained in:
parent
bceee40b4f
commit
040be401e0
@ -342,6 +342,8 @@ namespace Opm
|
||||
well_data[wix].control = BHP;
|
||||
well_data[wix].target = wconinjes.wconinje[kw].THP_limit_;
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
default:
|
||||
THROW("Unknown well control mode; WCONIJE = "
|
||||
<< wconinjes.wconinje[kw].control_mode_
|
||||
@ -411,6 +413,9 @@ namespace Opm
|
||||
well_data[wix].control = BHP;
|
||||
well_data[wix].target = wconprods.wconprod[kw].THP_limit_;
|
||||
break;
|
||||
case 7:
|
||||
well_data[wix].control = GRUP;
|
||||
break;
|
||||
default:
|
||||
THROW("Unknown well control mode; WCONPROD = "
|
||||
<< wconprods.wconprod[kw].control_mode_
|
||||
|
@ -25,7 +25,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
enum well_type { INJECTOR, PRODUCER };
|
||||
enum control_type { BHP , RATE };
|
||||
enum control_type { BHP , RATE, GRUP };
|
||||
enum surface_component { WATER = 0, OIL = 1, GAS = 2 };
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user