Commit Graph

1273 Commits

Author SHA1 Message Date
David Landa Marban
74d6ac18af Skip allocTrans when enableEclOutput is False and 2025-01-15 15:56:55 +01:00
Arne Morten Kvarving
dcd739fa09 BlackoilModel: add impl file 2025-01-15 11:51:39 +01:00
Bård Skaflestad
5df8c8b2a7
Merge pull request #5885 from akva2/simulatorfullyimplicitblackoil_param_tu
SimulatorFullyImplicitBlackoil: move parameter registration to TU
2025-01-15 10:46:39 +01:00
Bård Skaflestad
95aa6599a8
Merge pull request #5884 from akva2/damaris_param_tu
Damaris: move some more code to TU
2025-01-15 10:45:54 +01:00
Bård Skaflestad
3cb1f16e05
Merge pull request #5883 from akva2/flowproblem_param_generic
FlowProblem: move some more code to FlowGenericProblem
2025-01-15 10:44:48 +01:00
Arne Morten Kvarving
d1c9c040ce SimulatorFullyImplicitBlackoil: move parameter registration to TU 2025-01-15 09:58:54 +01:00
Arne Morten Kvarving
512263110c OutputBlackoilModule: move some more code to GenericOutputBlackoilModule
typetag less parameter system now allows us to initialize these variables
in class that holds them.
2025-01-15 09:18:33 +01:00
Arne Morten Kvarving
ef176d4b5c Damaris: move some more code to TU
possible with typetag less parameter system
2025-01-15 09:14:17 +01:00
Arne Morten Kvarving
f7cfa7a04b FlowProblem: move some more code to FlowGenericProblem
typetag less parameter system now allows us to initialize these variables
in class that holds them.
2025-01-15 08:40:48 +01:00
Bård Skaflestad
6438f120ed
Merge pull request #5871 from akva2/blackoilmodel_penalty_card
BlackoilModel: move to has-a instead of is-a modelling of penalty cards
2025-01-14 15:56:47 +01:00
Arne Morten Kvarving
cee75a152a FlowBaseVanguard: move some more code to FlowGenericVanguard
typetag less parameter system now allows us to initialize these variables
in class that holds them.
2025-01-14 13:44:44 +01:00
Arne Morten Kvarving
15cb87576c SimulatorConvergenceOutput: move to separate class
model using has-a in SimulatorFullyImplicitBlackoil
2025-01-14 10:24:53 +01:00
Arne Morten Kvarving
79f5a1a958 NonlinearSolver::Parameters: move to separate struct
and move some more code to the TU. small tidy up enabled
by typetag-less parameters system
2025-01-14 07:51:08 +01:00
Arne Morten Kvarving
653cdfc247 BlackoilModel: move to has-a instead of is-a modelling of penalty cards 2025-01-14 06:26:52 +01:00
Bård Skaflestad
b82616adcc
Merge pull request #5869 from akva2/was_switched
BlackoilModel: make wasSwitched_ private
2025-01-13 14:59:22 +01:00
Arne Morten Kvarving
7590f015bf BlackoilModel: make wasSwitched_ private 2025-01-13 14:20:16 +01:00
Markus Blatt
f59262d403
Merge pull request #5800 from blattms/feature/default-is-merge-well-cells-for-partioning
Switch default load balancer to Zoltan with vertex = all cells of a well
2025-01-13 13:40:12 +01:00
Arne Morten Kvarving
c909283288 BlackoilModel: move properties to separate header 2025-01-13 11:34:14 +01:00
Atgeirr Flø Rasmussen
6952d19a92
Merge pull request #5849 from akva2/rename_haswell
Fix BlackoilWellModel::hasWell mixups
2025-01-13 11:29:19 +01:00
Atgeirr Flø Rasmussen
cfedccb880
Merge pull request #5824 from vkip/fix_rft_inactive_and_shut_distributed_wells
Fix RFT output for shut distributed wells
2025-01-10 13:48:48 +01:00
Arne Morten Kvarving
8a1ccaca80 changed: rename BlackoilWellModelGeneric::hasWell to hasLocalWell 2025-01-09 15:33:44 +01:00
Markus Blatt
e667efe522
Merge pull request #5829 from aritorto/addGridArgument
Add grid argument to recycle code
2024-12-20 20:03:16 +01:00
Antonella Ritorto
950c5f0765 Add grid argument to recycle code 2024-12-20 19:32:36 +01:00
Atgeirr Flø Rasmussen
939f944b86 Remove unneded capture of 'this'. 2024-12-20 14:44:02 +01:00
Vegard Kippe
802e73fe28 Fix RFT output for shut distributed wells and permamently inactive wells split across processors (partition method 3 issue only). 2024-12-20 10:46:14 +01:00
Antonella Ritorto
423b6596fb Minor refactorization in LevelCartesianIndexMapper for AluGrid and PolyhedralGrid 2024-12-19 19:02:16 +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
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
Atgeirr Flø Rasmussen
369332ef3d
Merge pull request #5808 from jakobtorben/AMGX_integration
Amgx integration
2024-12-18 16:27:02 +01:00
jakobtorben
5dd70eb8bb Add AMGX preconditioner 2024-12-18 13:30:02 +01:00
Arne Morten Kvarving
0470502027 added: support WCYCLE 2024-12-17 08:41:25 +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
Markus Blatt
c9b34a2f68 Switch default load balancer to Zoltan with vertex = all cells of a well
The new loadbalancer approach will create a graph representing the grid
where all cells that a well perforates are represented by one
vertex. The weight of that cell will be the number of cells it
represents. Also the weights of the faces will be added up due to the
merging of cells. A cell that is not perforated by any well is still
represented by one vertex with weight one.

In the old default appoach the number of vertices in the grid was
equal to the number of cells. Vertex weights were not used. For each
well we added an edge between all its perforated cells for which we
did set a very edge weight to force the cells to the same process
during partitioning.

For realistic cases we have seen improvements across the board due to
this. E.g. this resolved convergence issues on hard cases. Because of
that this becomes the default with this.
2024-12-13 14:56:08 +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
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
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
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
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
Svenn Tveit
b79dee898a Use init. pres. with ROCK and ROCKTAB if ROCKOPTS item 2 = STORE.
OVERBURD keyword will be ignored if STORE is activated.
2024-12-05 12:58:13 +01:00