mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-23 07:53:29 -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].control = BHP;
|
||||||
well_data[wix].target = wconinjes.wconinje[kw].THP_limit_;
|
well_data[wix].target = wconinjes.wconinje[kw].THP_limit_;
|
||||||
break;
|
break;
|
||||||
|
case 4:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
THROW("Unknown well control mode; WCONIJE = "
|
THROW("Unknown well control mode; WCONIJE = "
|
||||||
<< wconinjes.wconinje[kw].control_mode_
|
<< wconinjes.wconinje[kw].control_mode_
|
||||||
@ -411,6 +413,9 @@ namespace Opm
|
|||||||
well_data[wix].control = BHP;
|
well_data[wix].control = BHP;
|
||||||
well_data[wix].target = wconprods.wconprod[kw].THP_limit_;
|
well_data[wix].target = wconprods.wconprod[kw].THP_limit_;
|
||||||
break;
|
break;
|
||||||
|
case 7:
|
||||||
|
well_data[wix].control = GRUP;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
THROW("Unknown well control mode; WCONPROD = "
|
THROW("Unknown well control mode; WCONPROD = "
|
||||||
<< wconprods.wconprod[kw].control_mode_
|
<< wconprods.wconprod[kw].control_mode_
|
||||||
|
@ -25,7 +25,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum well_type { INJECTOR, PRODUCER };
|
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 };
|
enum surface_component { WATER = 0, OIL = 1, GAS = 2 };
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user