Commit Graph
24610 Commits
Author SHA1 Message Date
Arne Morten Kvarving f76738b708 BlackOilPolymerModule: only include where needed 2026-06-05 09:57:55 +02:00
Håkon Hægland 2ac3e7baad Merge pull request #7129 from totto82/fix_rsc
Guard FLD/NONE injection group constraint path
2026-06-05 09:36:37 +02:00
Håkon Hægland 8bce7e2b8e Merge pull request #7138 from totto82/fix_rsc2
Reuse producer control mode for guide-rate setup
2026-06-05 09:35:58 +02:00
Atgeirr Flø Rasmussen 44b8b5aca7 Merge pull request #7042 from multitalentloes/add_gpu_thermalgaswaterassembly2
GPU assembly support on AMD and CUDA
2026-06-05 09:17:33 +02:00
Tor Harald Sandve dabb2bfd4a Merge pull request #7137 from hakonhagland/pot_units
Fix master-group potential double conversion
2026-06-05 08:39:21 +02:00
Tor Harald Sandve 6df850cbc1 Reuse producer control mode for guide-rate setup 2026-06-05 08:27:40 +02:00
Håkon Hægland 9e1cd565ca Fix master-group potential double conversion
A reservoir-coupling master group takes its production potential from
the corresponding slave group, which reports it in display units (e.g.
SM3/DAY for METRIC): the slave applies from_si before storing the value
in its GroupState and sending it to the master. The guide-rate handler
then applied from_si a second time to that value, inflating a master
group's potential by the seconds-per-day factor (86400 in METRIC).

This does not change the physical solution when every producing group
under a parent is a master group, because the GUIDERAT denominator is
built from rate ratios, so a uniform scaling of all potentials cancels
in the guide-rate fractions. But it corrupts the reported group
production guide rates (GOPGR/GVPGR) and would distort the split in a
mixed hierarchy of master and ordinary producing groups.

Apply from_si only to non-master groups, whose potentials are
accumulated from sub-groups in SI; a master group's potential is
already in display units and must not be converted again.
2026-06-05 06:19:57 +02:00
Arne Morten Kvarving fd3a22c73d Merge pull request #7134 from akva2/foam_only_where_needed
BlackOilFoamModule: only include where needed
2026-06-04 19:12:54 +02:00
Arne Morten Kvarving e627bab73f BlackOilFoamModule: only include where needed 2026-06-04 16:32:27 +02:00
Arne Morten Kvarving ed92d2c295 fixed: return Scalar not double 2026-06-04 16:32:27 +02:00
Atgeirr Flø Rasmussen 79d112b46d Merge pull request #7123 from SoilRos/feature/cleanup-bcrsmatrix
Clean up BCRSMatrix utilities
2026-06-04 16:30:14 +02:00
Arne Morten Kvarving 6d921ea6c6 Merge pull request #7133 from akva2/extbo_only_where_needed
BlackOilExtboModule: only include where needed
2026-06-04 16:29:52 +02:00
Arne Morten Kvarving a5d903cea2 BlackOilExtboModule: only include where needed 2026-06-04 14:29:32 +02:00
Bård Skaflestad 48051c723d Merge pull request #7131 from akva2/dispersion_only_where_needed
BlackOilDispersionModule: only include where needed
2026-06-04 14:15:01 +02:00
Tobias Meyer Andersen b4ce4e51c4 make argument in macro anonymous to quell warning 2026-06-04 13:57:25 +02:00
Tobias Meyer Andersen 5900098f87 rebasing and adjusting false blackoilmodule instantiation 2026-06-04 13:43:31 +02:00
Bård Skaflestad 67cd98fecd Merge pull request #7130 from akva2/python_sims_use_actual_typetag
fixed: use actual typetag when parsing parameters in python simulators
2026-06-04 13:39:11 +02:00
Bård Skaflestad 9790d8c222 Merge pull request #7116 from atgeirr/add-network-pressure-test
Improve network pressure facilities and add test
2026-06-04 13:02:46 +02:00
Bård Skaflestad b02ecd7c21 Merge pull request #7125 from atgeirr/silence-lambda-unused-warnings
Use a tiny utility function to silence unused variable warnings.
2026-06-04 12:47:01 +02:00
Atgeirr Flø Rasmussen d22b7f64fa Fix includes. 2026-06-04 11:46:17 +02:00
Atgeirr Flø Rasmussen 7ab96961ba Add group name to exception messages. 2026-06-04 11:42:03 +02:00
Arne Morten Kvarving 8cb0882458 BlackOilDispersionModule: only include where needed 2026-06-04 11:38:20 +02:00
Arne Morten Kvarving 8fb77d81e1 fixed: use actual typetag when parsing parameters in python simulators
no preflight to detect deck settings is required here
2026-06-04 11:35:58 +02:00
Bård Skaflestad dfd6a35420 Merge pull request #7128 from akva2/diffusion_only_where_needed
BlackOilDiffusionModel: only include where needed
2026-06-04 11:29:25 +02:00
Atgeirr Flø Rasmussen 3610ff24fd Use a tiny utility function to silence unused variable warnings. 2026-06-04 11:28:30 +02:00
Tor Harald Sandve 8f00abbfd3 Guard FLD/NONE injection group constraint path 2026-06-04 11:23:55 +02:00
Arne Morten Kvarving a22d0f84c7 BlackOilDiffusionModule: only include where needed 2026-06-04 10:06:54 +02:00
Arne Morten Kvarving 1fa491144c test_equil: disable diffusion 2026-06-04 06:11:36 +02:00
Arne Morten Kvarving 45d90516f6 test_chopstep: disable diffusion 2026-06-04 06:11:36 +02:00
Arne Morten Kvarving 65f4c33ff8 TestTypeTag: disable diffusion 2026-06-04 06:11:36 +02:00
Arne Morten Kvarving 733f52e332 FlowEarlyBird: disable diffusion 2026-06-04 06:11:36 +02:00
Arne Morten Kvarving 76a0854fd2 tpsa tests: disable diffusion 2026-06-04 06:11:36 +02:00
Arne Morten Kvarving e3bdcd559b test_wellmodel: disable diffusion 2026-06-04 06:11:36 +02:00
Arne Morten Kvarving 9fa2f37461 TracerModel: add missing include 2026-06-04 06:11:36 +02:00
Bård Skaflestad e994a3acdb Merge pull request #7126 from bska/fix-hipify-build
Support HIP Configuration in Convective Mixing
2026-06-03 18:23:24 +02:00
Bård Skaflestad 51d4f08803 Support HIP Configuration in Convective Mixing
Accidentally omitted in commit c1461845e (PR #7122).
2026-06-03 17:37:13 +02:00
Bård Skaflestad 611b4f8b3e Merge pull request #7122 from akva2/convective_mixing_only_where_needed
blackoilconvectivemixingmodule.hh: only include where needed
2026-06-03 16:53:34 +02:00
Santiago Ospina De Los Ríos 070cc44605 Reimplement reverse matrix algorithms in term of the standard library
Replaces custom `beforeBegin`/`beforeEnd` iterators with `std::make_reverse_iterator` for consistent and robust reverse traversal of matrix rows and columns. Introduces an `rindex` helper to correctly extract indices from reverse iterators. The reasoning is that the implementation of `beforeBegin`/`beforeEnd` usually relies on undefined behavior: an address one past the end of an array is allowed, but one before is prohibited by the standard.
2026-06-03 12:01:59 +02:00
Santiago Ospina De Los Ríos 3bdde0d041 Set matrix build mode before setting its size
This is so that the new dune matrix work as expected: it requires to set the build mode each time a matrix is built and the sizes must be specified after setting the build mode. This is compatible with the current BCRSMatrix.
2026-06-03 12:01:59 +02:00
Santiago Ospina De Los Ríos 524e37a534 Cleanup sparse matrix iteration patterns
Improves readability and consistency of sparse matrix element access. This is as a preparation work for a new matrix from dune-istl.
* Use begin and end creator iterators accounting that they may be different types.
* Use iterator arithmetic instead of row implementation details.
* Use sparseRange idiom to loop over the row sparsity pattern.
* Avoid taking mutable references of rows, given that a matrix may return proxy objects.
* Do not assign an non-zero numeric value to the jacobian during its pattern creation.
* Include missing header for block vectors
2026-06-03 12:01:59 +02:00
Arne Morten Kvarving af4a6fecdb BlackOilConvectiveMixingModule: only include where needed 2026-06-03 09:52:34 +02:00
Arne Morten Kvarving 6924fb41e0 test_primaryvarswithdifferentvector: use TestTypeTag 2026-06-03 09:52:34 +02:00
Arne Morten Kvarving a088d9e261 test_wellmodel: disable convective mixing 2026-06-03 09:52:34 +02:00
Arne Morten Kvarving 6e6d527942 tpsa tests: disable convective mixing 2026-06-03 09:52:34 +02:00
Arne Morten Kvarving f7c03a9091 test_equil: disable convective mixing 2026-06-03 09:52:34 +02:00
Arne Morten Kvarving 6f2bb42f6f test_chopstep: disable convective mixing 2026-06-03 09:52:34 +02:00
Arne Morten Kvarving 96b15d2d2d TestTypeTag: disable convective mixing 2026-06-03 09:21:34 +02:00
Arne Morten Kvarving 10523d1a04 FlowEarlyBird: disable convective mixing
no parameters associated with this, so no reason to
have it in enabled in the parameter registration typetag
2026-06-03 09:21:34 +02:00
Arne Morten Kvarving c1461845ec move BlackOilConvectiveMixingParam to separate header 2026-06-03 09:21:34 +02:00
Bård Skaflestad 1eecc8eea6 Merge pull request #7121 from bska/fix-newtonmethod-missing-header
Include Missing Valgrind Header
2026-06-03 09:04:53 +02:00