T.D. (Tongdong) Qiu
8223cd1db8
Simplified filling of WellContributions object. Added comments
2020-03-19 11:15:49 +01:00
T.D. (Tongdong) Qiu
fdcf46792a
BdaBridge and WellContributions are only included and compiled when CUDA is found
2020-03-18 19:03:14 +01:00
T.D. (Tongdong) Qiu
009b5076a4
Removed CPU implementation of WellContributions
2020-03-18 15:08:48 +01:00
T.D. (Tongdong) Qiu
581cbc6a3e
cusparseSolver can now apply wellcontributions separately, so --matrix-add-wellcontributions=true is not required anymore
2020-03-13 14:21:59 +01:00
Joakim Hove
5ad4936025
RestartConfig has moved from EclipseState to Schedule
2020-02-17 21:48:12 +01:00
Tor Harald Sandve
a784ccc47d
fix rebase
2020-02-11 11:18:21 +01:00
Tor Harald Sandve
052f25636c
adding blank lines
2020-02-11 09:33:58 +01:00
Tor Harald Sandve
2d2ec82640
fix MPI
2020-02-11 09:33:58 +01:00
Tor Harald Sandve
e39e327451
fix 2p
2020-02-11 09:33:58 +01:00
Tor Harald Sandve
469ffa2cbe
allow for multiple group injection phases
2020-02-11 09:30:19 +01:00
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
Kai Bao
9a2fcdbfd5
fixing warnings in other folder under opm-simulators
2019-06-26 10:48:41 +02:00
Kai Bao
53b15527c2
fixing warnings under simulator/wells
2019-06-26 09:52:38 +02:00
Kai Bao
1d5d883e99
adapting to the upstream change
2019-06-25 22:13:34 +02:00
Atgeirr Flø Rasmussen
fa016a6008
Moved all remaining files out of opm/autodiff.
2019-06-20 11:00:51 +02:00
Kai Bao
4f7b899290
fixing the compilation problem due to rebasing
...
and also some small cleaning up
2019-06-13 14:49:04 +02:00
Kai Bao
ad0e294e52
using StandardWellV as the default StandardWell model
2019-06-13 14:49:04 +02:00
Joakim Hove
47f4e750d2
Merge pull request #1865 from joakim-hove/use-shared-summarystate
...
Use shared summarystate
2019-06-04 09:49:56 +02:00
Kai Bao
c5983eeec5
not trying to update RESV target for prediction producers
2019-05-30 11:58:23 +02:00
Joakim Hove
b129a10362
Use shared SummaryState in BlackoilWellModel
2019-05-29 07:52:17 +02:00
Joakim Hove
a0aa7fcc2b
Use shared SummaryState when instantiating WellsManager
2019-05-29 07:44:23 +02:00
Joakim Hove
c6af5f11b6
Fixup: Use ProductionControls and InjectionControls
2019-05-29 07:12:15 +02:00
Joakim Hove
dc4f57f7eb
Merge pull request #1831 from joakim-hove/use-wells2-controls
...
Use wells2 controls
2019-05-29 06:46:58 +02:00
Tor Harald Sandve
613473082f
Address PR comments
2019-05-24 16:45:27 +02:00
Joakim Hove
511645d12c
Use InjectionControls and ProductionControls data classes
2019-05-23 16:27:17 +02:00
Tor Harald Sandve
821794b0ad
Add well potential output to MSW
...
The common part is moved to the well interface class
This commit also adds iterations to the standardWells
well potential calculations to improve the results
2019-05-23 15:32:48 +02:00
Joakim Hove
b6840db604
Use new well implementation Well2 from opm-common
2019-05-22 21:47:45 +02:00
Atgeirr Flø Rasmussen
c17adf788f
Moved files to opm/simulators/ subdirs.
2019-05-08 12:58:19 +02:00