Commit Graph

6386 Commits

Author SHA1 Message Date
Arne Morten Kvarving
4f5c86d72c
Merge pull request #5816 from akva2/fix_wcycle_glob
Allow query for efficiency scaling factor in off-process wells where required
2024-12-19 13:53:30 +01:00
Bård Skaflestad
53bed60917
Merge pull request #5742 from akva2/more_code_generic_well_model
More some more code to generic well model
2024-12-19 13:50:31 +01:00
Bård Skaflestad
9ddc32a637
Merge pull request #5815 from atgeirr/hypre-fix-bigint-usage
Necessary to compile with my Hypre install.
2024-12-19 13:35:17 +01:00
Vegard Kippe
60d738bc1c Allow query for efficiency scaling factor in off-process wells where required 2024-12-19 13:31:52 +01:00
Arne Morten Kvarving
822fc11a3d cosmetics 2024-12-19 13:10:46 +01:00
Arne Morten Kvarving
44c8b6086b computeWellBlockAveragePressures: move to BlackoilWellModelGeneric 2024-12-19 13:10:46 +01:00
Arne Morten Kvarving
4d998545eb initializeWBPCalculationService: move to BlackoilWellModelGeneric 2024-12-19 13:10:46 +01:00
Arne Morten Kvarving
a67e8c44b4 registerOpenWellsForWbpCalculation: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
7ab8d1938f wbpCalcMap_: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
3d10b549e7 setPrimaryVarsDomain: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
a36d40957b getPrimaryVarsDomain: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
5217e63309 logPrimaryVars: move to BlackoilWellModelGeneric 2024-12-19 12:58:50 +01:00
Arne Morten Kvarving
5897805e5b well_domain_: move to BlackoilWellModelGeneric 2024-12-19 12:58:49 +01:00
Arne Morten Kvarving
58ac8f2553 setPrimaryVarsDomain: take domain index as parameter 2024-12-19 12:58:29 +01:00
Arne Morten Kvarving
75dc66d4d2 getPrimaryVarsDomain: take domain index as parameter 2024-12-19 12:58:29 +01:00
Arne Morten Kvarving
b0bb6473c9 connectionDensity: move to WellInterfaceGeneric 2024-12-19 12:58:29 +01:00
Arne Morten Kvarving
32dc2f990c setPrimaryVars: move to WellInterfaceGeneric 2024-12-19 12:58:29 +01:00
Arne Morten Kvarving
a36b44dbdf getPrimaryVars: move to WellInterfaceGeneric 2024-12-19 12:58:29 +01:00
Atgeirr Flø Rasmussen
86436cdd5c Necessary to compile with my Hypre install.
HYPRE_Bigint are 64 bit integers on some platforms by default, and
can be configured as such in any case. The HYPRE API asks for
HYPRE_BigInt* so it is better to use that type rather than int.
2024-12-19 12:56:14 +01:00
Bård Skaflestad
172ae7ee76
Merge pull request #5744 from akva2/add_ratio_calc
Add dedicated class for some ratio calculation in StandardWell
2024-12-19 11:22:16 +01:00
Arne Morten Kvarving
15dcc39bcd
Merge pull request #5814 from akva2/fix_wcycle_parallel
Fix WCYCLE in parallel
2024-12-19 11:02:13 +01:00
Arne Morten Kvarving
644a7f2616 fixed: need to sync adjusted timestep across processes in parallel 2024-12-19 10:01:49 +01:00
Tor Harald Sandve
b6999cfbc0
Merge pull request #5785 from svenn-t/rockopts_store
Use initial pressure if ROCKOPTS item 2 is STORE
2024-12-19 09:23:04 +01:00
Markus Blatt
a77668a55e
Merge pull request #5813 from aritorto/fixSeqLGR
Do not write initial FIP for CpGrid with LGRs for now
2024-12-19 08:49:21 +01:00
Antonella Ritorto
9624eb7185 Do not write initial FIP for CpGrid with LGRs for now 2024-12-18 17:05:40 +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