Commit Graph
67 Commits
Author SHA1 Message Date
Tor Harald Sandve b499180776 only double check the current group constraint at the start of a report step 2020-01-30 11:18:23 +01:00
Tor Harald Sandve f5c6bafd90 make group constrain check conditional 2020-01-29 14:52:01 +01:00
Tor Harald Sandve 6e0f26f488 fix typos 2020-01-20 09:14:19 +01:00
Tor Harald Sandve c1748604f0 Fix REIN for multi level groups by passing the top phase 2020-01-13 11:32:13 +01:00
Tor Harald Sandve 18c8cc6119 fix vrep and rein for more then one level of groups 2020-01-08 14:26:25 +01:00
Tor Harald Sandve 77d52e5b53 communicate group rates and add test 2020-01-02 13:57:12 +01:00
Tor Harald Sandve 1b7af4c1b6 Merge pull request #2239 from totto82/nupcol2
froze wellState at nupcol iterations
2020-01-02 12:47:13 +01:00
Tor Harald Sandve e340f25c42 Merge pull request #2229 from totto82/fixOrderOfCheck
check groups from top
2019-12-20 12:26:20 +01:00
Markus Blatt 2511121a84 Merge pull request #2222 from dr-robertk/PR/ebos-polyhedralgrid2
Make ebos compile with PolyhedralGrid again.
2019-12-18 23:57:38 +01:00
Tor Harald Sandve df6774c45c froze wellState at nupcol iterations 2019-12-18 14:37:16 +01:00
Tor Harald Sandve 29c2a3da3f only count group under group control when accumulating the group potentials 2019-12-18 11:40:06 +01:00
Robert Kloefkorn 2fa90d24f6 [bugfix][ebos] Make compile with PolyhedralGrid again. 2019-12-18 11:03:42 +01:00
Tor Harald Sandve 2a732d3c99 add group name to output 2019-12-16 14:28:55 +01:00
Tor Harald Sandve bec8b33f70 check groups from top 2019-12-16 14:15:02 +01:00
Atgeirr Flø Rasmussen f09dcda21c Shut production well if zero rate and disallowing crossflow. 2019-12-13 11:08:36 +01:00
Atgeirr Flø Rasmussen 52b9ecbfd5 Merge pull request #2210 from totto82/gconsalesump
Support for Gconsale and Gconsump
2019-12-06 15:01:49 +01:00
Joakim Hove dc5340046a Call applyActions at the end of every timestep 2019-12-06 13:18:49 +01:00
Tor Harald Sandve 2c9797ec50 Always update group target reduction 2019-12-05 13:08:17 +01:00
Tor Harald Sandve 26a01794bf A group can both be injection and a production group 2019-12-05 13:08:17 +01:00
Tor Harald Sandve 876f5587e5 Add GCONSALE and fix conversion from UDA 2019-12-05 13:08:17 +01:00
Tor Harald Sandve 5dbf0927d3 Add support for GCONSUMP 2019-12-05 13:08:17 +01:00
Joakim Hove ce9108a9d2 Refactor WellState SHUT
- Move some WellState shut code to separate method.
- Add bool flag open_for_output_ to WellState to ensure that shut wells do not
  create output.
2019-12-03 19:37:44 +01:00
Tor Harald Sandve 853a726bb2 fix after rebase 2019-11-27 14:56:10 +01:00
Tor Harald Sandve cab2f4b41f use common WellGroupEvent map 2019-11-27 13:12:53 +01:00
Tor Harald Sandve 49b5883ff7 Clean-up output message for group 2019-11-27 13:08:25 +01:00
Atgeirr Flø Rasmussen bddeaba880 Delete obsolete include directives and functions.
Also make other minor adjustments, in particular moving the function
getCubeDim() from WellsManagerDetail to WellHelpers.hpp.
2019-11-25 10:58:44 +01:00
Atgeirr Flø Rasmussen 87188f5862 Avoid using the Wells struct. 2019-11-25 08:36:18 +01:00
Joakim Hove fce5d2f369 Rename Well2 -> Well and Group2 -> Group 2019-11-13 23:18:01 +01:00
Tor Harald Sandve 8218f81183 set reservoir rate to zero for shut wells 2019-11-08 11:30:37 +01:00
Tor Harald Sandve 8cece8641e fix mpi 2019-11-07 14:57:59 +01:00
Tor Harald Sandve 1ab99d07c7 Support VREP with combined gas and water injectors 2019-11-07 11:31:47 +01:00
Tor Harald Sandve c3423c770c fix vrep and rein 2019-11-06 13:27:47 +01:00
Tor Harald Sandve 008eb17693 Support nupcol
Only update groupTargetReduction, group REIN rates and group VREP rates when iteration < nupcol
2019-11-06 10:23:30 +01:00
Markus Blatt a5506956fb renamed numWells to numLocalWells in BlackoilWellmodel
as this better reflects that it is not the number of wells in
the whole domain but just the one in the part of the domain
stored in the local process.
2019-11-01 15:11:21 +01:00
Markus Blatt 905403e2ed Fix BlackoilWellModel::numComponents for parallel runs.
In the case with active solvent (BlackoilWellModel::has_solvent_ is
true, e.g. case 2D_OILWATER_POLYMER.DATA) and one process have no
wells while another has some this lead to numComponents returning
different values. Later this lead to truncated message in MPI_Allgather.

The underlying problem was the usage of numWells() which returns just
the number of local wells. We resort to using wellsActive which
returns whether there any well active regardless which process knows it.
2019-11-01 15:07:00 +01:00
Tor Harald Sandve 614025b28b clean up the logging message 2019-10-18 16:08:07 +02:00
Atgeirr Flø Rasmussen a536b90891 Improve stopped wells logic and log messages. 2019-10-18 16:08:07 +02:00
Tor Harald Sandve c21428419a support REIN for solvent 2019-10-18 16:08:07 +02:00
Tor Harald Sandve 88d8e2a68e don't set the control from the schedule, unfix the restart issue 2019-10-18 16:08:07 +02:00
Tor Harald Sandve f71d6c8623 implement proper guiderate support
Tested on simple problems including GUIDERAT
2019-10-18 16:08:07 +02:00
Tor Harald Sandve 53896ffca8 Use well and group controls from opm-common.
This PR remove the usage of well_control_ from opm-core
and instead uses the control classes for wells and groups
from opm-common.
This PR also removes the usage of the group classes from
opm-core.
2019-10-18 16:08:07 +02:00
Atgeirr Flø Rasmussen 40f91b0e32 Merge pull request #2034 from totto82/sync_restart
sync restart
2019-10-14 13:26:57 +02:00
Atgeirr Flø Rasmussen 5211217c94 Whitespace fixes (tabs->spaces, reformatted new files). 2019-10-11 15:57:51 +02:00
Halvor M. Nilsen d873ae165d Enable single-phase runs. 2019-10-11 08:19:18 +02:00
Robert Kloefkorn f708286111 [cleanup][Wells] Consequently use SparseMatrixAdapter in addWellContributions. 2019-10-09 10:27:38 +02:00
Tor Harald Sandve f83e99c6aa sync restart 2019-10-01 14:30:11 +02:00
Kai Bao fec9d1feee recovering the interface of function createWellContainer
in BlackoilWellModel, which makes its usage easier.
2019-08-09 10:02:28 +02:00
Kai Bao 4d8afb8539 using self-copying when calculating well potentials
in order to re-use the existing well model in stead of re-creating new
ones. The latter way really complicates the function createWellContainer
in BlackWellModel.
2019-08-09 10:02:28 +02:00
Joakim Hove 9f655d13bd Calculate well potentials: check if restart file output is requestd 2019-08-05 13:48:15 +02:00
Kai Bao 30e5a20f86 WELOPEN and WCON* interacting with WTEST and WECON
WELOPEN and WCON* can open well closed due to various reasons, physical
            or economic.

If a well is shut with WELOPEN and WCON*, we do not try to re-open it
through WTEST
2019-07-05 08:50:58 +02:00