Tor Harald Sandve
8a5c9e82df
add run time parameters for msw convergence tuning. Default values are set to minimize convergence failures for model2 based tests. These parameters are also tested on bigger models with good results
2020-05-22 20:52:14 +02:00
Tor Harald Sandve
ec7c6e236d
increase segment volume to stabilize to improve convergence
2020-05-22 20:52:14 +02:00
Tor Harald Sandve
d49c590879
apply the relaxtion factor on the pressure change not the max pressure change limit
2020-05-22 20:52:14 +02:00
Tor Harald Sandve
cf702a5384
use relaxed tolerance for MSW when solution stagnates
2020-05-22 20:52:14 +02:00
Tor Harald Sandve
904353367d
compute initial volume fractions on the well copies also
2020-05-08 19:29:20 +02:00
Tor Harald Sandve
85e95fb87d
Implement min/max for GCONSALE
...
Only default action RATE is implemented for violation of maximum sales target
2020-05-05 14:24:17 +02:00
Tor Harald Sandve
f33737afc4
Fix solvent reinjection when different reinjection group is given
2020-05-05 10:46:49 +02:00
Tor Harald Sandve
33afb332fa
use nupcol to avoid oscilation between group controls
2020-04-27 10:29:00 +02:00
Tor Harald Sandve
a046977946
Fix GCONSALE
...
1) Only check GCONSALE limits at the end of a timestep. NB. The simulator still throws if some of the limits are violated
2) BUGFIX: don't remove gas consumption twice
2020-04-24 16:10:07 +02:00
Tor Harald Sandve
e9476e116e
make sure the current_rate is added at the right level
2020-04-23 20:54:59 +02:00
Tor Harald Sandve
3b479af9c4
Fix the fix on how the group reduction works
2020-04-23 09:45:16 +02:00
Tor Harald Sandve
97876530e3
include wells under individual control when accumulating guiderates
2020-04-03 10:03:05 +02:00
Tor Harald Sandve
70b7bed057
dont check if group has converged in solveWellEq
2020-04-02 13:57:38 +02:00
Tor Harald Sandve
21b98b5573
Avoid negative targets and currentWellRates
2020-04-02 13:57:38 +02:00
Tor Harald Sandve
66931b9cb7
Various fixes and refactoring.
...
- Communicate all well rates.
- When changing controls, modify rates to satisfy failed constraint.
- Ensure targets are positive.
- Always solve for potentials for MSW (temporary fix).
2020-04-02 13:57:05 +02:00
Tor Harald Sandve
92ee56c3b3
scale guiderate by current well rate
2020-04-02 13:54:47 +02:00
Tor Harald Sandve
06df233055
remove minpvFillNtg a temporary solution while not supporting standard minpv
2020-02-24 11:43:07 +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
c93c10ab3d
add test case for lab and bc
2020-01-30 10:03:35 +01:00
Tor Harald Sandve
1d061c681f
fix index issue for boundary conditions
2020-01-30 10:03:22 +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
cf6cb3016b
use SPE1CASE1_BRINE as test case not SPE1CASE2_BRINE
2020-01-10 10:47:39 +01:00
Tor Harald Sandve
bc33e482be
don't communicate isoThermal when approach is NoWaterPvt
2020-01-10 09:02:16 +01:00
Tor Harald Sandve
2877a984a1
Adapt FluidState in Aquifer model to interface change due to Brine
2020-01-09 15:09:53 +01:00
Tor Harald Sandve
ada7c9d90b
fix various extentions
2020-01-09 14:14:38 +01:00
Tor Harald Sandve
56d7a1ec19
yet another rebase fix
2020-01-09 14:14:38 +01:00
Tor Harald Sandve
c3424a5716
remove depricated ebos_saltwater from install list
2020-01-09 14:14:38 +01:00
Tor Harald Sandve
8b93953ef5
clean-up after rebase
2020-01-09 14:14:38 +01:00
Tor Harald Sandve
555de445d3
add test case for brine
2020-01-09 14:14:38 +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
7a0ff52bbc
set bhp control explicilty for well potential calculations
2019-12-20 13:18:10 +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
Tor Harald Sandve
9924ba48a1
at option to set the time step size for shutting problematic wells
2019-12-18 11:18:18 +01:00
Tor Harald Sandve
6aafdba80d
fix well efficency factor
2019-12-18 10:29:04 +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
Tor Harald Sandve
4d8d9a7a05
Fix vrep
2019-12-06 09:04:50 +01:00
Tor Harald Sandve
2c9797ec50
Always update group target reduction
2019-12-05 13:08:17 +01:00
Tor Harald Sandve
ad21da87ca
fix after rebase
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
Tor Harald Sandve
615e4422b9
BUGFIX REIN
2019-12-05 13:08:17 +01:00
Tor Harald Sandve
c930ac9858
fix spelling
2019-12-04 11:39:26 +01:00
Tor Harald Sandve
9e64896054
fix issue when GRUP is used in WCONPROD and WCONINJE and NONE group control
...
Use a bhp control when a well is controlled by a unvalied group control
2019-12-04 11:37:00 +01:00
Tor Harald Sandve
b577f294b5
Add option for throwing for small time steps
2019-12-02 09:56:19 +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
Tor Harald Sandve
2c84970314
honor group event
2019-11-27 13:08:25 +01:00
Tor Harald Sandve
95f013bd96
fixup review comments. including bug in updateGroupTargetReduction
2019-11-08 14:07:12 +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
a95459e6ff
copy wellReservoirRates
2019-11-08 10:26:34 +01:00
Tor Harald Sandve
8cece8641e
fix mpi
2019-11-07 14:57:59 +01:00
Tor Harald Sandve
159f36ff85
add openCrossFlowAvoidSingularity functionality for MSW
2019-11-07 14:01:21 +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
04701580d8
keep current injection and production control
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
Tor Harald Sandve
3c89e4ba75
fix group fraction bug
2019-11-05 15:13:47 +01:00
Tor Harald Sandve
485bbfe010
fix group prod
2019-11-05 15:04:26 +01:00
Tor Harald Sandve
9dc536bc82
add computeBhpAtThpLimitInj
2019-11-05 14:18:30 +01:00
Tor Harald Sandve
fb815e78e6
compute resv rates for MSW
2019-11-05 13:11:03 +01:00
Tor Harald Sandve
f23b375c87
Check THP in the end
2019-11-01 14:58:40 +01:00
Tor Harald Sandve
375d936ecd
Support custom vrep and rein group
2019-11-01 14:57:50 +01:00
Tor Harald Sandve
abbff074b4
add support for thp control in MSW
2019-11-01 10:04:44 +01:00
Tor Harald Sandve
9a3ce14885
scale the gas equation, not the control
2019-10-24 10:54:50 +02:00
Tor Harald Sandve
e1f09d89cd
Scale MSW injector
2019-10-24 10:18:16 +02:00
Tor Harald Sandve
775573e3b2
avoid nan in the density calculation
2019-10-22 13:04:29 +02:00
Tor Harald Sandve
0b6899a135
Comment out failing tests
...
The tests fails due to fix in VFPHelpers.hpp that disallow extrapolation higher then 3.0.
2019-10-18 16:08:07 +02:00
Tor Harald Sandve
cd0bf8045d
change control eq tol for standard wells
2019-10-18 16:08:07 +02:00
Tor Harald Sandve
9bd44dc79a
quell some more warnings
2019-10-18 16:08:07 +02:00
Tor Harald Sandve
47dc94f21e
the usual rebase fixup commit
2019-10-18 16:08:07 +02:00
Tor Harald Sandve
5e1ec249cd
don't count wells not under group controll when computing guiderates
2019-10-18 16:08:07 +02:00
Tor Harald Sandve
614025b28b
clean up the logging message
2019-10-18 16:08:07 +02:00
Tor Harald Sandve
5dcfd1c8f1
check bhp and thp constrains first
2019-10-18 16:08:07 +02:00
Tor Harald Sandve
4fea282934
fixup-rebase
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
0b96b31d8c
add some safaguards for trivial guiderates
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
Tor Harald Sandve
8c7d7e3d2e
enables rockcomp in flow
2019-10-17 12:44:49 +02:00
Tor Harald Sandve
86ef30950d
Add logging in ebos
...
With this .PRT and .DBG files are created also for ebos
2019-10-14 10:39:10 +02:00
Tor Harald Sandve
aeb29a5412
move PRT header to the top
2019-10-03 12:13:13 +02:00
Tor Harald Sandve
f83e99c6aa
sync restart
2019-10-01 14:30:11 +02:00
Tor Harald Sandve
c39cec55fe
fix control eq inj
2019-06-17 08:40:44 +02:00
Tor Harald Sandve
0d28dfff17
fix cutoff value bug in haalandFormula
2019-06-03 11:28:15 +02:00
Tor Harald Sandve
779dbd39dd
make calculateFrictionFactor Evaluation
2019-06-03 11:24:56 +02:00
Tor Harald Sandve
4c4921c6b2
fix segfault when no well report is registred
2019-06-03 09:22:04 +02:00
Tor Harald Sandve
a33c967ad0
throw runtime_error instead of logical_error
2019-05-22 10:08:55 +02:00