Commit Graph
22673 Commits
Author SHA1 Message Date
jakobtorben c762c7694d Introduce member in BlackOilModelNldd to track if domain should be solved in next it 2025-06-26 19:38:14 +02:00
jakobtorben bedf826ff5 Use safer intensive quantities accessor 2025-06-26 19:18:42 +02:00
jakobtorben 3f92121517 Take into account inactive phases 2025-06-26 19:08:48 +02:00
jakobtorben 23b6b7c28d Use mob thres after first Newton it and mark as needing solving if solved in previous it 2025-06-24 21:48:21 +02:00
jakobtorben 6282ee0d37 Add skipped domain reporting to BlackoilModelNldd and SimulatorReport 2025-06-24 20:24:08 +02:00
jakobtorben d4682ae354 Update mobility values after first NLDD iteration 2025-06-24 20:22:38 +02:00
jakobtorben cfac6fd057 Remove average mobility check 2025-06-24 20:22:38 +02:00
jakobtorben 41438e2084 Update BlackoilModelNldd to handle initial Newton iterations more clearly. 2025-06-24 20:22:38 +02:00
jakobtorben 35e21926e6 Register mobility threshold value as parameter 2025-06-24 20:22:38 +02:00
jakobtorben 5c07718a8e Add mobility thresholding for solving NLDD subdomains 2025-06-24 20:22:38 +02:00
Bård Skaflestad ae89fef98a Merge pull request #6344 from akva2/janitoring
Some janitoring
2025-06-24 09:50:31 +02:00
Arne Morten Kvarving c0869c2e2c quell shadowing warnings 2025-06-24 09:35:55 +02:00
Bård Skaflestad bc7777236b Merge pull request #6343 from atgeirr/libfmt-fix
Add include to get fmt::join.
2025-06-23 17:02:59 +02:00
Atgeirr Flø Rasmussen a37828b127 Add include to get fmt::join.
Needed because of bug in some versions of libfmt.
2025-06-23 15:49:23 +02:00
Bård Skaflestad c153da380e Merge pull request #6342 from kjetilly/brace_fix
Fixed brace locations when compiling without CUDA
2025-06-23 15:07:03 +02:00
Kjetil Olsen Lye 8d0daa0935 Fixed brace locations when compiling without CUDA 2025-06-23 14:31:56 +02:00
Atgeirr Flø Rasmussen 82a523f03e Merge pull request #6270 from kjetilly/gpu_solver
Making a GPUISTL aware ISTLSolver
2025-06-23 13:48:51 +02:00
Markus Blatt a032b7a6d4 Merge pull request #6170 from hakonhagland/send_pot4
Reservoir coupling: Communicate group potentials from slaves and compute guide rates
2025-06-23 09:46:19 +02:00
Håkon Hægland 22c6160bd7 Added documentation for GuideRateHandler class
Added Doxygen documentation for the GuideRateHandler class.
2025-06-23 08:02:58 +02:00
Håkon Hægland b3334cca6a Handle scalar/enum case correctly 2025-06-22 17:05:51 +02:00
Håkon Hægland 25ba9418df Remove Simulator alias
Remove Simulator alias since it is not used by any code
2025-06-22 13:15:40 +02:00
Håkon Hægland 61e5a3dd7f Use try_emplace() instead of emplace()
Fix bug where emplace() did not update existing keys in the map.
Instead use try_emplace() for efficient conditional construction and
assignment.
2025-06-22 12:09:14 +02:00
Håkon Hægland aee9658269 Create guiderate item names for debugging
Avoid reusing implementation detail itemName() of class GuideRateValue
2025-06-22 10:57:27 +02:00
Håkon Hægland 6bd6c7a872 Store group potentials in GroupState
Store the group potentials in the GroupState object so we avoid
recomputing them later when we need to send the slave group potentials
to the master.
2025-06-22 10:57:27 +02:00
Håkon Hægland 1623f37f49 Add comment for clarification
Add a comment to clarify that communication of slave group potentials is not
done during the nonlinear iterations
2025-06-22 10:57:27 +02:00
Håkon Hægland 9a2b3687a9 Add a comment
Add a comment to improve readability
2025-06-22 10:57:27 +02:00
Håkon Hægland edf0493849 Generic code for building MPI traits
Add generic code for building MPI traits for structs
2025-06-22 10:57:27 +02:00
Håkon Hægland 55313a6aef Don't store simulator reference 2025-06-22 10:57:27 +02:00
Håkon Hægland 439ea3f5fa Rename method 2025-06-22 10:57:27 +02:00
Håkon Hægland a2ce7dae7d Add Doxygen comment 2025-06-22 10:57:27 +02:00
Håkon Hægland 9dcd882260 Remove redundant if check 2025-06-22 10:57:27 +02:00
Håkon Hægland 3d54ad6318 Use references instead of copying 2025-06-22 10:57:27 +02:00
Håkon Hægland ce20b0adfd Use MPI custom datatype for potentials
Using a custom MPI datatype for the potentials, we can avoid
serialization and deserialization code.
2025-06-22 10:57:27 +02:00
Håkon Hægland cb031cd99a Fix serial build 2025-06-22 10:57:27 +02:00
Håkon Hægland 5abe7d69f9 Fixed bug in guide rate calculation
Even if a group is a pure injection group, we still need to include its
group potential in the calculation of the production potential of a
higher group
2025-06-22 10:57:27 +02:00
Håkon Hægland 006be80de0 Debugging code to dump guide rates
Added debugging code to dump all guide rates
2025-06-22 10:57:27 +02:00
Håkon Hægland 827cda4f79 Communicate group potentials
Send group potentials from the slaves to the master process, then
use the potentials in the master process to calculate guide rates.
2025-06-22 10:57:24 +02:00
Bård Skaflestad 684c1b23a0 Merge pull request #6329 from tskille/csv_output
Add CSV output of FIP and RESV data
2025-06-20 16:23:47 +02:00
Tor Harald Sandve dac43aa446 Merge pull request #6335 from daavid00/rundry
Fixing --enable-dry-run=1
2025-06-20 09:59:17 +02:00
tskille 4c40796600 Add CSV output of FIP and RESV data
- can be requested with CSVFIP in keyword RPTSOL
- only output initial in place volumes
2025-06-19 14:33:33 +02:00
Bård Skaflestad d19ff5fd45 Merge pull request #6334 from bska/prefer-names-to-objcopy
Don't Copy Well Objects When Well Names are Sufficient
2025-06-19 10:50:08 +02:00
Bård Skaflestad fa45c41dd3 Don't Copy Well Objects When Well Names are Sufficient
In particular, favour calling member functions on
ScheduleState::wells to retrieve references to individual well
objects given a name instead of using Schedule::getWells() or
Schedule::getWellsAtEnd().  While convenient, these functions
introduce needless copies of all well objects stored in the Schedule
object.  This commit instead, where possible, uses the somewhat less
convenient ScheduleState::well_order() accessor and then accesses
individual wells by name.

To this end, change BlackoilWellModelGeneric::not_on_process_ from a
function taking a well and returning a bool into a function taking a
well name and returning a bool.
2025-06-19 09:27:57 +02:00
Atgeirr Flø Rasmussen 9020fed6b1 Merge pull request #6333 from GitPaean/using_group_limit_action_oil
using  group_limit_action.oil instead of allRates for better code readability and potentially better flexibility
2025-06-18 16:58:56 +02:00
David Landa Marban b770d8bf90 Fixing --enable-dry-run=1 2025-06-18 13:32:29 +02:00
Kai Bao 53774ea2ce using group_limit_action.oil instead of allRates
better readability and potentially better flexbility.
2025-06-17 22:27:13 +02:00
Kai Bao 1c9de5f07f Merge pull request #6331 from atgeirr/fix-phase-specific-group-procedures
Bugfix: respect phase-specific group constraint actions
2025-06-17 13:21:10 +02:00
Atgeirr Flø Rasmussen 8e3208610a Bugfix: respect phase-specific group constraint actions
When a constraint is broken, we should use the appropriate action
depending on the phase whose constraint was broken, not always using
the one set for the general case (== the oil phase action).

Also, the handling of NONE is not really needed, and was in any case
quite strange.
2025-06-17 12:52:28 +02:00
Kjetil Olsen Lye 3659bc7dc8 ISTLSolver keeps track of iterations again 2025-06-16 11:46:47 +02:00
Kjetil Olsen Lye 9c6785bfb0 Correct check for GPU 2025-06-16 11:41:32 +02:00
Kjetil Olsen Lye e48edb187d Fixes for HIP 2025-06-16 11:41:32 +02:00