Commit Graph
21 Commits
Author SHA1 Message Date
Håkon Hægland 60fcd9c3f1 Send master group targets to slaves
Calculate master group targets based on slave group potentials, then
send the targets to the slave groups
2025-12-20 05:30:36 +01:00
Håkon Hægland 35fcc75cfa Send more data from the slave to master
The master needs more data than the currently sent slave group
potentials:
 - surface production rates
 - reservoir voidage rates
 - reinjection rates
 - surface injection rate
 - reservoir injection rate
2025-11-05 12:38:09 +01:00
David Landa Marban 1fd280c68d Removing trailing spaces and adding eol at eof 2025-10-02 10:22:55 +02:00
Markus Blatt 12c1fdcb22 Merge pull request #6440 from hakonhagland/rc_slave_sync
Reservoir coupling: Allow slaves and master to activate at different times
2025-09-08 08:34:17 +02:00
Håkon Hægland f8e47d3cb9 Allow slaves and master to activate at different times
1) A slave may run independently until it is activated by a GRUPSLAV keyword in the schedule. Before that point it determines its own timestepping strategy. After activation, its timestepping is controlled and synced by the master. 2) If the slave activates later (schedule DATE) than the master, it will have to wait until the master reaches that point of time, before it synchronizes with the master. 3) The master may run independently until it is activated by a SLAVES keyword in the schedule. Before that point it determines its own timestepping strategy. After activation, it tries to synchronize with activated slaves and adjust its time stepping to their report steps.
2025-09-02 17:57:37 +02:00
Kai Bao b3e4c4d0d0 removing BlackoilPhases and PhaseUsage
replacing it with a new PhaseUsageInfo and FluidSystem, both of which
are using the same implementation of PhaseUsageInfo, and only one set of
indices is used. Currently, it is the BlackOilDefaultFluidSystemIndices.
2025-09-02 10:19:36 +02:00
Tor Harald Sandve c7287a2ce9 cleanup based on review 2025-08-13 15:09:12 +02:00
Tor Harald Sandve daa2547f68 Fix after rebase 2025-08-12 15:47:16 +02:00
Arne Morten Kvarving c6515162f8 pass parameter as const ref 2025-06-30 10:22:00 +02:00
Arne Morten Kvarving f0bece935b reduce scope of variable 2025-06-30 10:22:00 +02:00
Bård Skaflestad 05066026a0 Reduce Number of Guide Rate Well Potential Messages
This commit switches updateGuideRatesForWells() away from exchanging
potential rates for individual wells through one collective message
per well.  Instead, we gather well level potential rates for the
current rank into a large vector, and exchange those values with all
ranks in the current communicator in a single message.  While the
size of that message is obviously larger (3 * #wells) and therefore
uses more memory, we potentially gain runtime performance by having
less latency and synchronisation cost.
2025-06-25 14:50:15 +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
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 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 439ea3f5fa Rename method 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