Commit Graph

12870 Commits

Author SHA1 Message Date
Arne Morten Kvarving
644a7f2616 fixed: need to sync adjusted timestep across processes in parallel 2024-12-19 10:01:49 +01:00
Bård Skaflestad
8f42288d71 Chase WBP Source Requirement Change
The revised depth correction algorithm requires per-cell depth
information (in SourceDataSpan::Item::Depth) for the reservoir
contributions so honour this requirement.

This is potentially a somewhat wasteful approach since the cell
centre depth is constant throughout a simulation, but it's a simple
strategy that does not require large API and synchronisation
changes, so we nevertheless stick to this as a first implementation.
We will reduce the amount of communication if this becomes a
bottleneck.
2024-12-18 16:35:13 +01:00
Atgeirr Flø Rasmussen
369332ef3d
Merge pull request #5808 from jakobtorben/AMGX_integration
Amgx integration
2024-12-18 16:27:02 +01:00
jakobtorben
ac5b6b53c5 Select AMGX mode based on template scalar type 2024-12-18 13:30:02 +01:00
jakobtorben
0290fd0e9f Add support for partial resetup with AMGX 2024-12-18 13:30:02 +01:00
jakobtorben
5dd70eb8bb Add AMGX preconditioner 2024-12-18 13:30:02 +01:00
Bård Skaflestad
be4466ea5d
Merge pull request #5792 from akva2/wcycle
added: support WCYCLE
2024-12-17 09:47:55 +01:00
Bård Skaflestad
79d2747cfa
Merge pull request #5802 from lisajulia/feature/ms-wells-fix-restart
Feature/ms wells fix restart file error
2024-12-17 09:47:00 +01:00
Arne Morten Kvarving
0470502027 added: support WCYCLE 2024-12-17 08:41:25 +01:00
Arne Morten Kvarving
82a9698d27 added: support a scaling factor for well efficiency 2024-12-17 08:41:25 +01:00
Lisa Julia Nebel
b748bb8c8a Fix error in restart files 2024-12-16 18:00:55 +01:00
Arne Morten Kvarving
410e19e807 remove unused fipnum argument
also allows to drop the default value for the tuningUpdater callback
2024-12-16 14:49:08 +01:00
Atgeirr Flø Rasmussen
1c8724b601 Do not serialize time_point via time_t.
Avoids losing resolution (ms to s).
2024-12-13 09:33:53 +01:00
Bård Skaflestad
340855a41d Chase API Update
The WBP result type is now top-level.
2024-12-11 15:34:36 +01:00
Arne Morten Kvarving
61b7b0c113
Merge pull request #5762 from jakobtorben/hypre_integration
Add Hypre BoomerAMG Support
2024-12-11 10:52:55 +01:00
Bård Skaflestad
67fb9e7b59
Merge pull request #5777 from atgeirr/faster-openmp-props
Use regular OpenMP for loop, then iterate over chunks inside.
2024-12-11 10:40:54 +01:00
Atgeirr Flø Rasmussen
6d43c1b715 Use regular OpenMP for loop, then iterate over chunks inside.
Avoiding the mutex-based ThreadedEntityIterator gives a good speedup,
the overhead from the single extra loop over the grid for initialization
should be small in comparison.
2024-12-11 10:24:41 +01:00
jakobtorben
1536de038b Document the HyprePreconditioner class 2024-12-10 17:08:18 +01:00
jakobtorben
d663f16bea Add tests for Hypre Preconditioner 2024-12-10 17:08:18 +01:00
jakobtorben
e60aa7da13 Propagate need for recreating solver properly for two level methods 2024-12-10 17:08:18 +01:00
Arne Morten Kvarving
3b67d6dc54 Small fixes for hypre integration (#1)
* use appropriate hypre init function

* properly handle hypre without device support

* don't add hypre preconditioner to factory if scalar type does not match
2024-12-10 17:08:18 +01:00
jakobtorben
6fa9c25ba5 Move Hypre initialization and finalization out to Main 2024-12-10 17:08:18 +01:00
jakobtorben
56897e6d11 Guard Hypre preconditioner creation with HAVE_HYPRE macro 2024-12-10 17:08:18 +01:00
jakobtorben
1af2556385 Add support for GPU with Hypre 2024-12-10 17:08:18 +01:00
jakobtorben
032a7f5ad8 Create coarse matrix with contiguous memory layout 2024-12-10 17:08:18 +01:00
Tor Harald Sandve
b7d3a57b0b
Merge pull request #2970 from totto82/remove16day
remove 16 days restriction for timestep in predicition mode
2024-12-10 11:43:38 +01:00
Tor Harald Sandve
1180ad2652 Allow for the third group switch 2024-12-10 09:41:21 +01:00
Tor Harald Sandve
efe0192cca
Merge pull request #5789 from vkip/tracer_xflow_inj_report
Ensure tracer flow for cross-flowing injector connections is included
2024-12-09 14:24:55 +01:00
Tor Harald Sandve
96da980897
Merge pull request #5753 from totto82/maxGroupChange
Alternative way of avoiding group control oscillations
2024-12-09 11:24:21 +01:00
Vegard Kippe
2b59222abc Ensure tracer flow for cross-flowing injector connections is included 2024-12-06 15:26:19 +01:00
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
Markus Blatt
0e22cc1552
Merge pull request #5746 from lisajulia/feature/ms-wells-solving
Feature/ms wells - part 2: Solving, straightforward option
2024-12-06 09:16:20 +01:00
Atgeirr Flø Rasmussen
848e4718b1
Merge pull request #5786 from jakobtorben/expose_finesmoother_parameters_in_CPR_setup
Expose finesmoother pre/post smooth parameters in CPR setup
2024-12-05 15:36:07 +01:00
Bård Skaflestad
ed5f93dcba
Merge pull request #5784 from akva2/always_initial_fip
fixed: always calculate initial FIP
2024-12-05 14:58:10 +01:00
Arne Morten Kvarving
d8a7875f9b fixed: always calculate initial FIP
this can be used by various Schedule keywords even if FIP is not in RPTSOL
2024-12-05 14:18:01 +01:00
jakobtorben
27caf3cca7 Expose finesmoother pre/post smooth parameters in CPR setup 2024-12-05 13:05:32 +01:00
Markus Blatt
e24d355e66
Merge pull request #5749 from michal-toth/feature/graph-of-grid
Zoltan partitioner with all perforated cells of a well merged to one vertex
2024-12-05 12:05:16 +01:00
Markus Blatt
5d4f578319
Merge pull request #5731 from akva2/validation_cleanup
ValidationFunctions: some cleanup
2024-12-05 10:56:06 +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
Arne Morten Kvarving
73c45c7282 bump minimum dune version to 2.9 2024-12-03 13:59:53 +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
Michal Tóth
cab7636fc5 Setup parameters for Zoltan partitioner with GraphOfGrid (from opm-grid). 2024-12-02 11:30:40 +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