Commit Graph
22979 Commits
Author SHA1 Message Date
Håkon Hægland bd69d21af8 docker(test_wheels): rename dockerfiles dirs to hyphen (Windows checkout fix)
- debian:11    -> debian-11
- ubuntu:22.04 -> ubuntu-22.04
- ubuntu:24.04 -> ubuntu-24.04

CLI accepts colon or hyphen; code now canonicalizes to hyphen.
2025-09-12 13:06:41 +02:00
Arne Morten Kvarving b9e966523d Merge pull request #6136 from hakonhagland/test_wheels
Test PyPI wheels in docker containers
2025-09-12 09:34:36 +02:00
Atgeirr Flø Rasmussen eeb15c208b Merge pull request #6457 from jakobtorben/optimise_cpr_weight_calculation
Optimise CPR weight calculation
2025-09-11 15:55:56 +02:00
jakobtorben 187b54ab59 Optimise CPR weight calculation 2025-09-11 13:45:23 +02:00
Bård Skaflestad 4e424a4fba Merge pull request #6454 from steink/gsatprod_rewrite
Include satellite injection, update satellite production
2025-09-11 09:06:46 +02:00
Stein Krogstad 934134ec9d Include satellite injection, update satellite production 2025-09-10 16:21:43 +02:00
Arne Morten Kvarving 490f70d91c Merge pull request #6455 from jakobtorben/fix_hypre_for_float_builds
Only create Hypre preconditioner for double scalar type
2025-09-10 14:24:56 +02:00
Bård Skaflestad fb815768d3 Merge pull request #6429 from daavid00/gsatprod
UDQ support for GSATPROD
2025-09-10 11:45:21 +02:00
jakobtorben 76fd94a820 Only create Hypre preconditioner for double scalar type 2025-09-10 11:04:17 +02:00
David Landa Marban 2166d52920 UDQ support for GSATPROD 2025-09-09 17:43:07 +02:00
Bård Skaflestad 2b4c23f342 Merge pull request #6453 from akva2/janitoring_doxy
fix doxy issues
2025-09-09 15:18:06 +02:00
Arne Morten Kvarving 83d096b232 fix doxy issues 2025-09-08 11:54:45 +02:00
Tobias Meyer Andersen 165020c1ea Merge pull request #6444 from jakobtorben/add_support_for_hypre_with_gpu_input_types
Add support for Hypre with GPU input types
2025-09-08 10:30:46 +02:00
Bård Skaflestad 02ca477a31 Merge pull request #6449 from bska/rft-allocate-split-wells
Fix RFT State Collection for Distributed Wells
2025-09-08 08:39:21 +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
Atgeirr Flø Rasmussen ef4cf09ee5 Merge pull request #6419 from jakobtorben/make_cpr_weight_calculation_thread_parallel
Make cpr weight calculation thread parallel
2025-09-06 09:35:21 +02:00
jakobtorben 8806ff8be4 Make cpr weight calculation thread parallel 2025-09-05 16:25:32 +02:00
jakobtorben fe05ef6f62 Refactor HypreInterface 2025-09-05 16:16:00 +02:00
Bård Skaflestad bfe03b0a72 Fix RFT State Collection for Distributed Wells
Commit 6295bd08c (PR #6238) restricted RFT data reporting to only
those wells that are owned by the current rank.  In so doing,
however, we failed to properly account for distributed wells.  Such
wells will typically have RFT contributions from multiple MPI ranks
in a parallel run and we did not allow for this situation.
Moreover, as the simulator by default will distribute "inactive"
wells--wells that are never opened, but which exist primarily to
collect RFT-style data--the problem becomes more pronounced for
these wells.

We solve the problem by splitting the RFTContainer's "wellQuery_"
into two responsibilities.  One for determining if a particular
named well is owned by the current rank and another for determining
if the well is intersected on the current rank.  The latter will be
true for all ranks that have local well connections for the named
well.  This, in turn, means that the constructor now takes two
predicate functions instead of the one we originally used.
Furthermore, member function RFTContainer::allocate() will create
internal data structures for all potential connections on all ranks
that share a well, but RFTContainer::addToWells() will still collect
the RFT data only on the rank that owns the well.

Finally, we implement the owning vs. intersecting distinction for
the black-oil output module through a new member function

    bool BlackoilWellModelGeneric<>::hasLocalCells(name) const

while the compositional output module retains the original
owning-is-intersecting behaviour.  We do not support distributed
wells in compositional runs at the time of writing.
2025-09-05 14:45:26 +02:00
Tor Harald Sandve 1b54832d2f Merge pull request #6378 from daavid00/newtmxn
Support for NEWTMX and NEWTMN in TUNING
2025-09-05 14:26:39 +02:00
Håkon Hægland 922e0c0522 Copy host dir files to container to avoid conflict.
Copy host directory files from opm-simulators/python and
opm-common/python to container to avoid conflict with
opm-simulators/python/opm/ and opm-common/python/opm/ folders when
running "python -m unittest discover" from the python directories.
An alternative would be to rename the opm directories in the host.
2025-09-04 17:15:11 +02:00
Håkon Hægland 9167a35ae4 Add option to use opm python tests folders from host
This will help avoid rebuilding the test containers each time
the host data changes.
2025-09-04 13:25:57 +02:00
Bård Skaflestad 12b5b16270 Merge pull request #6446 from akva2/fix_inactive_phase_idx
Fix inactive phase idx handling
2025-09-04 12:52:21 +02:00
Bård Skaflestad 6812cbc6fe Merge pull request #6448 from atgeirr/add-back-omp-forloop
Make for-loop for properties use OMP also in the new implementation.
2025-09-04 12:49:47 +02:00
Håkon Hægland ec56668d8b Fix path lookup for python_versions.json file 2025-09-04 11:58:17 +02:00
Atgeirr Flø Rasmussen c98be69c76 Make for-loop for properties use OMP also in the new implementation. 2025-09-04 11:51:21 +02:00
Håkon Hægland 4bc25047c2 Trim white space at EOL 2025-09-04 11:24:05 +02:00
Bård Skaflestad 684dbb4a00 Merge pull request #6367 from atgeirr/compiletime-threephaseswitch
Compiletime threephaseswitch
2025-09-04 11:11:47 +02:00
Håkon Hægland 4d107ba1eb Fix test case failures 2025-09-04 09:57:16 +02:00
Arne Morten Kvarving 1c68718f17 fixed: do not grab phase index for inactive phases
the convention of using phaseIndex -1 for inactive phases is
(now) internal to this class
2025-09-04 08:51:04 +02:00
Arne Morten Kvarving e5f7b3e7dd fixed: do not grab phase index unless phase is active 2025-09-04 08:51:04 +02:00
Kai Bao 4671801308 Merge pull request #6358 from totto82/nupcol_gr_switching
For oscillation detection we only count gr switching after nupcol.
2025-09-03 15:01:07 +02:00
David Landa Marban e0ab676007 Support for NEWTMX and NEWTMN in TUNING 2025-09-03 13:18:14 +02:00
Tor Harald Sandve 5bb9dd4bc1 Only count gr switching after nupcol for oscillation detection 2025-09-03 12:46:36 +02:00
Bård Skaflestad 0eec9a95c8 Merge pull request #6404 from GitPaean/removing_phase_usage_restart_2
Removing phase usage
2025-09-03 11:45:46 +02:00
Tor Harald Sandve c91097ded4 Merge pull request #6338 from totto82/avoidOsc
Reduce osscilations between stop and open
2025-09-03 08:38:43 +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
Atgeirr Flø Rasmussen b39a07960d Separate the runtime-to-template dispatches.
With one function for each, it is more readable and also clearer how to extend it.
2025-09-02 17:12:22 +02:00
Atgeirr Flø Rasmussen 043f286381 Remove unneeded ElementContext-based overloads. 2025-09-02 17:12:22 +02:00
Atgeirr Flø Rasmussen 3fa77ced96 Add compile time dispatch on tabular (non-LET) saturation funcs. 2025-09-02 17:12:22 +02:00
Atgeirr Flø Rasmussen 42f397c4e3 Perform the run-to-compile time mapping for 3p models. 2025-09-02 17:12:22 +02:00
Atgeirr Flø Rasmussen 655d6fdf56 Made no-elementcontext code only used for flow_blackoil.
This fixes compilation of all simulator variants again.
2025-09-02 17:12:22 +02:00
Atgeirr Flø Rasmussen 2ecf0bfc81 Works for flow_blackoil, need to pick non-optimized version for others. 2025-09-02 17:12:22 +02:00
Atgeirr Flø Rasmussen dd23bfbc3f Use templates to choose threephase approach. 2025-09-02 17:12:22 +02:00
jakobtorben c9d4d77d48 Add support for non-owned gaps in data without tmp copies 2025-09-02 16:32:19 +02:00
Bård Skaflestad 5d0d73ebcf Merge pull request #6442 from erikhide/time-stepping-fix-indexing-in-control-error-filtering
Fixed indexing in control-error filtering
2025-09-02 12:29:25 +02:00
Erik Hide Saeternes 903485ab44 Fixed indexing in control-error filtering 2025-09-02 10:49:29 +02:00
Kai Bao c8d0939d12 some cleaning up
mostly to add the end-of-file newline character back.
2025-09-02 10:19:36 +02:00
Kai Bao f057203842 removing the latter call this->initFluidSystem_() in FlowProblemBlackoil
adapting to the interface change of the PhaseUsageInfo
2025-09-02 10:19:36 +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