Commit Graph

20713 Commits

Author SHA1 Message Date
Tor Harald Sandve
095c0457bc Code improvment for the group control switching
Pass the controls as enums not strings
Avoid pair as key in map
2024-12-06 13:56:00 +01:00
Tor Harald Sandve
738eb761c2 Only restrict oscillation for iter > nupcol 2024-12-04 10:45:23 +01:00
Tor Harald Sandve
128e80ec7a Maximum allowed oscillation for groups part 2
Set a parameter for maximum allowed oscillation of group controls
The parameter is only used for iter > nupcol
2024-12-04 09:17:46 +01:00
Tor Harald Sandve
933d2949be Also check group constrains for iter > nupcol 2024-12-03 09:21:38 +01:00
Tor Harald Sandve
73a28a7abb Maximum allowed oscillation for groups part 1 2024-12-03 09:21:38 +01:00
Atgeirr Flø Rasmussen
b6f23f6fe5
Merge pull request #5773 from akva2/fix_msw_deadlock
fixed: well model could deadlock
2024-12-02 10:36:07 +01:00
Atgeirr Flø Rasmussen
e936a224a2
Merge pull request #5770 from vkip/thpres_rst_rstout
Write correct THRESHPR values also from restart
2024-12-02 10:32:52 +01:00
Tor Harald Sandve
42e17219b6
Merge pull request #5724 from totto82/changeNUPCOL
Changes in how the simulator handles NUPCOL
2024-12-02 10:29:09 +01:00
Arne Morten Kvarving
67765a3f08 fixed: well model could deadlock
if umfpack encounters a singular matrix on any process,
the exception propagated up across communication boundaries
leading to deadlock as the other processes tried to do global
reductions
2024-11-29 14:17:43 +01:00
Vegard Kippe
4555716dd8 Ensure all processors have the same thpres_ array also when we do not restart 2024-11-28 19:22:21 +01:00
Vegard Kippe
4bb50eb1d8 Simply return thpres_ vector as restart vector 2024-11-28 18:40:16 +01:00
Vegard Kippe
2b4e09bc51 Write correct THRESHPR values also from a restart. 2024-11-28 14:44:53 +01:00
Atgeirr Flø Rasmussen
4097a3c663
Merge pull request #5760 from akva2/add_py_params
added: ability to pass command line parameters from python
2024-11-28 10:12:12 +01:00
Arne Morten Kvarving
4d5a67fa82 added: ability to pass command line parameters from python 2024-11-28 09:14:53 +01:00
Tor Harald Sandve
d0bcf54b00
Merge pull request #5767 from totto82/network_sub_iter
Network sub iter
2024-11-27 15:48:12 +01:00
Atgeirr Flø Rasmussen
92c9d88c1b
Merge pull request #5743 from vkip/thpres_restart
Restore threshold pressures from restart
2024-11-27 15:16:38 +01:00
Tor Harald Sandve
8479655deb Set 20 as number of sub-iterations for the network 2024-11-27 14:21:05 +01:00
Tor Harald Sandve
e043dc6e50 Change default max iterations for network 2024-11-27 14:21:05 +01:00
Tor Harald Sandve
93206349c8 Add sub iterations for balancing the network 2024-11-27 14:21:05 +01:00
Atgeirr Flø Rasmussen
b3b532e129
Merge pull request #5758 from jakobtorben/remove_recreation_of_second_stage_preconditioner_for_cpr
Update second stage preconditioner for CPR instead of recreate
2024-11-27 13:29:43 +01:00
Bård Skaflestad
641f094309
Merge pull request #5765 from atgeirr/refactor-errorguard-dump-downstream
Use formattedErrors() and simplify.
2024-11-27 11:41:53 +01:00
jakobtorben
3ec01f7d7b Update second stage preconditioner for CPR instead of recreate 2024-11-27 10:31:48 +01:00
Atgeirr Flø Rasmussen
0238f45339 Use formattedErrors() and simplify.
No longer calling dump() means we avoid the extra dumping to stderr of
the warnings and errors.
2024-11-27 08:52:05 +01:00
Tor Harald Sandve
415f48c379
Merge pull request #5763 from hakonhagland/fix_4123
Update Schedule constructor
2024-11-26 14:35:21 +01:00
Bård Skaflestad
da63691c36
Merge pull request #5739 from vkip/gconsump_multilevel
Support GCONSUMP on multiple levels in the group hierarchy
2024-11-26 09:32:02 +01:00
Vegard Kippe
1c315b0018 Fix unintentional short-circuit plus a couple of minor nits 2024-11-25 22:26:24 +01:00
Vegard Kippe
74fa148cd7 Support GCONSUMP on multiple levels in the group hierarchy 2024-11-25 22:26:24 +01:00
Håkon Hægland
5730dcf166 Update Schedule constructor
This is needed for PR 4123 in opm-common to build
2024-11-25 18:11:27 +01:00
Bård Skaflestad
99f3226926
Merge pull request #5761 from totto82/moveTHPoutputToDebug
Move debug output from thp calcuations from .PRT to .DBG
2024-11-25 16:43:43 +01:00
Tor Harald Sandve
b32e2f6b32 Guard against small rates in fraction calculation 2024-11-25 15:44:28 +01:00
Tor Harald Sandve
b4fe429b35
Merge pull request #5748 from steink/Only-update-targets-for-relevant-controls
Only update target of group-controlled wells during updateAndCommunicate
2024-11-25 15:30:32 +01:00
Tor Harald Sandve
b13dcb42b1
Merge pull request #5729 from steink/Fix-checkGroupHigherConstraints
Subtract reduction rate for current group when checking higher group constraints
2024-11-25 13:58:44 +01:00
Tor Harald Sandve
eaff32ae7e
Merge pull request #5757 from svenn-t/fix_gaslift_PR2
Well testing using gas lift facilities
2024-11-25 11:24:14 +01:00
Stein Krogstad
ef14bf6e45 fix typos 2024-11-25 11:15:43 +01:00
Stein Krogstad
cf877332ab Subtract reduction rate when checking higher group constraints 2024-11-25 11:15:43 +01:00
Tor Harald Sandve
44a2e45628 Move debug output from thp calcuations from .PRT to .DBG 2024-11-25 10:48:12 +01:00
Tor Harald Sandve
554acb4019 Also update REIN if REIN changes significantly 2024-11-25 08:39:43 +01:00
Svenn Tveit
528a5ce1a9 Changed variable name of well test ALQ 2024-11-25 08:11:30 +01:00
Svenn Tveit
a8a1a480b7 Fix max for Scalar=float 2024-11-22 13:38:08 +01:00
Kai Bao
b502206ad7
Merge pull request #5735 from totto82/dontshutGRUPwells
dont shut well with GRUP control that struggles to converge
2024-11-22 11:48:46 +01:00
Tor Harald Sandve
120416f358 dont shut well with GRUP control that struggles to converge 2024-11-22 11:05:08 +01:00
Arne Morten Kvarving
e845eb63a5
Merge pull request #5756 from bska/follow-cmake-bool-handling-update
Make Floating Point Existence Flag Initially Unset
2024-11-22 11:02:59 +01:00
Bård Skaflestad
e695550e05 Make Floating Point Existence Flag Initially Unset
PR OPM/opm-common#4348 altered the OPM build system's handling of
boolean flags and setting the flag to zero no longer works.
2024-11-22 10:39:24 +01:00
Svenn Tveit
f2e42b96ca Convert ALQ output to units used in the deck 2024-11-22 10:30:32 +01:00
Svenn Tveit
48f9e90248 Use gas lift optimization to get ALQ for well test 2024-11-22 10:30:32 +01:00
Arne Morten Kvarving
c4db1b10d2
Merge pull request #5755 from akva2/fix_build_regression_pr_5680
fixed: add missing include
2024-11-22 10:16:17 +01:00
Arne Morten Kvarving
c9a081adb1 fixed: add missing include
broke sequential build
2024-11-22 09:43:45 +01:00
Markus Blatt
53cf22d516
Merge pull request #5745 from blattms/feature/support-dune-suitesparse
Cmake: Use upper case for COMPONENTS of FindSuiteSparse
2024-11-22 09:09:26 +01:00
Kai Bao
588b8215f2
Merge pull request #5680 from lisajulia/feature/ms-wells
Feature/ms wells - part 1: Initial assembly of B C D and the residual
2024-11-21 22:54:48 +01:00
Lisa Julia Nebel
a6d27c18a1 Move 'assemblePerforationEq' to a separate loop (over the segments), communicate the matrix D and the residual afterwards and add the rest that does not need communication afterwards 2024-11-21 16:13:15 +01:00