Commit Graph

20758 Commits

Author SHA1 Message Date
Lisa Julia Nebel
8860c598fe Throw an error if the status "well convergence" in iterateWellEqWithSwitching of MultisegmentWell is not the same across all processes 2024-11-21 16:10:55 +01:00
Lisa Julia Nebel
dd895654d7 Other communication measures taken from StandardWells 2024-11-21 16:10:55 +01:00
Lisa Julia Nebel
8a01b89ec9 Store all (global) perforations depths and differences in perforation_depth_diffs_ and well.perfDepth() 2024-11-21 16:10:55 +01:00
Lisa Julia Nebel
dadfe3a634 Use local_perf_index instead of perf index where applicable
The vectors that contain info about the perforations of a
multisegment well are *local* vectors, yet the way we access them
by looping over the perforations is global, so when accessing a value
we need to get the local perforation index (and with this also check
if the perforation actually resides on the own process)
2024-11-21 16:10:49 +01:00
Lisa Julia Nebel
cde38bc23f Rename cell_idx to perf, since it is the perforation index actually 2024-11-21 16:09:15 +01:00
Lisa Julia Nebel
449847da9e Give the parallel well info object to the MultisegmentWellEval class as well 2024-11-21 16:09:15 +01:00
Lisa Julia Nebel
655f4011c7 Calculate the segment rates of the well state correctly, i.e. sum when the well is distributed over multiple processes 2024-11-21 16:09:10 +01:00
Lisa Julia Nebel
9f4fdd09fa Throw an error if the status "lastStepFailed" in prepareStep of BlackoilModel is not the same across all processes 2024-11-21 15:01:46 +01:00
Lisa Julia Nebel
7573ce2e41 Add globalToLocal and localToGlobal functions to the ParallelWellInfo class 2024-11-21 15:01:43 +01:00
Atgeirr Flø Rasmussen
f11c511878
Merge pull request #5707 from blattms/fix/log-section-topology-error
Make sure all errors from parsing show up in the log files.
2024-11-21 12:05:32 +01:00
Bård Skaflestad
20a13eefcd
Merge pull request #5751 from vkip/dont_initsolve_inactive_msw
Do not try to compute initial solution for inactive multi-segment wells split across processors
2024-11-21 10:16:53 +01:00
Tor Harald Sandve
71614ea5b0 Add parameter --nupcol_group_rate_tolerance to be able to set the relative tolerance. Default is 0.001 2024-11-20 17:46:31 +01:00
Tor Harald Sandve
7639450ce1 Update VREP even for iter > nupcol if VREP changes significant 2024-11-20 17:46:31 +01:00
Vegard Kippe
673d541932 Earlier continue and rename vector 2024-11-20 16:25:38 +01:00
Vegard Kippe
e189d56167 Explicit check for inactive wells and throw if trying to initialize a distributed multi-segment well 2024-11-20 15:40:18 +01:00
Bård Skaflestad
b233ed0eae
Merge pull request #5750 from bska/activate-actionx-well-templ-reg-tests
Activate New Regression Tests for ACTIONX Name Matching
2024-11-20 15:39:12 +01:00
Vegard Kippe
c42f02e802 Do not try to compute initial solution for inactive multi-segment wells 2024-11-19 15:57:49 +01:00
Bård Skaflestad
3a2b143504 Activate New Regression Tests for ACTIONX Name Matching
Following PRs OPM/opm-common#4345 and OPM/opm-common#4350, this
commit puts all example models from OPM/opm-tests#1240 into the
simulator's suite of regression tests.
2024-11-19 14:57:27 +01:00
Stein Krogstad
9b54245d9a Only update target of group-controlled wells during updateAndCommunicate 2024-11-19 12:57:42 +01:00
Markus Blatt
c5a84b55dc d/patches: Use upper case for COMPONENTS of FindSuiteSparse
This is what DUNE uses since 2015 makes OPM modules usable as DUNE
modules in all cases.
2024-11-19 10:07:28 +01:00
Atgeirr Flø Rasmussen
5b002b2a77
Merge pull request #5740 from vkip/avoid_glift_segfault
Avoid potential segfault due to invalid vector.end() after erase()
2024-11-18 13:14:38 +01:00
Vegard Kippe
1c22d18771 Restore threshold pressures from restart 2024-11-18 12:59:48 +01:00
Vegard Kippe
7ece35defe Avoid potential segfault due to invalid vector.end() after erase() 2024-11-16 14:34:34 +01:00
Bård Skaflestad
3188ac713a
Merge pull request #5736 from bska/actionx-assign-pattern-match
Chase API Update of Action::Result
2024-11-13 16:09:21 +01:00
Bård Skaflestad
d199977d75 Chase API Update of Action::Result
The type no longer uses operator overloading and the matching entity
back-end has been revised to no longer expose a vector of strings
for the well names directly.
2024-11-13 12:23:52 +01:00
Arne Morten Kvarving
8197b6083a ValidationFunctions: some cleanup
- introduce a type alias for the std::function type
- make implementation of specialValidations() private
- make validateBRINE private
2024-11-12 16:20:32 +01:00
Bård Skaflestad
ac346b4c23
Merge pull request #5730 from akva2/fix_no_failures
fixed: don't fail build if there are no failures
2024-11-12 15:22:40 +01:00
Arne Morten Kvarving
d4d2fa9a17 fixed: don't fail build if there are no failures 2024-11-12 14:31:35 +01:00
Arne Morten Kvarving
e687a5759f
Merge pull request #5728 from kjetilly/remove_umfpack_ifdef
Remove #if HAVE_SUITESPARSE_UMFPACK in WellContributions.hpp
2024-11-12 10:36:52 +01:00
Kjetil Olsen Lye
4210adff57 Removed #if HAVE_SUITESPARSE_UMFPACK in WellContributions.hpp and MultisegmentWellContribution.hpp since Suitesparse is required without #if guards further down. 2024-11-12 10:10:33 +01:00
Arne Morten Kvarving
91aabf6a92
Merge pull request #5706 from BigDataAccelerate/rename-bda-to-gpu
Remove bda naming from project
2024-11-11 16:26:21 +01:00
Razvan Nane
23e24a8cca Rename ISTLSolverGpu to ISTLSolverGpuBridge 2024-11-11 15:02:01 +01:00
Bård Skaflestad
091786a4bc
Merge pull request #5727 from akva2/clang_janitoring
Janitoring
2024-11-11 14:02:54 +01:00
Bård Skaflestad
ec3d4c6a66
Merge pull request #5726 from akva2/fix_fmt11
fixed: fmt::join is in ranges.h using {{fmt11}}
2024-11-11 13:00:51 +01:00
Arne Morten Kvarving
c11e9dd10b remove unused variable 2024-11-11 12:13:43 +01:00
Arne Morten Kvarving
be93ce7163 fixed: add virtual dtor to class with virtual members 2024-11-11 12:13:43 +01:00
Arne Morten Kvarving
d1e416cfe6 fixed: fmt::join is in ranges.h using {{fmt11}} 2024-11-11 12:04:23 +01:00
Bård Skaflestad
8dd83de26c
Merge pull request #5725 from akva2/fix_restart_sched_param
fixed: RESTART_SCHED parameter never took effect
2024-11-11 11:32:17 +01:00
Arne Morten Kvarving
0d7bc99371 fixed: RESTART_SCHED parameter never took effect
in particular if(string_var) evaluates to false if it has value "false"
2024-11-11 10:57:07 +01:00
Atgeirr Flø Rasmussen
be2c078e71
Merge pull request #5636 from multitalentloes/gpu_support_co2gaspvt
Gpu support co2gaspvt
2024-11-08 15:39:53 +01:00
Alf Birger Rustad
ace35ca9b5
Merge pull request #5723 from blattms/bugfix/copyright-data-files
Correctly mark data files with ODBL and DBCL license
2024-11-08 15:12:20 +01:00
Bård Skaflestad
2908b4c8bb
Merge pull request #5720 from BigDataAccelerate/fix_convergence_sepwells
Fix index bug in gpubridge separate wells
2024-11-08 15:11:26 +01:00
Tobias Meyer Andersen
78e01ad06f Add tests for gpu pvt classes 2024-11-08 14:41:34 +01:00
Alf Birger Rustad
1b4cb316ff
Merge pull request #5721 from blattms/bugfix/copyright-aligned-alloc
Removed GPL copyright header from licensed under Boost license.
2024-11-08 13:14:17 +01:00
Markus Blatt
29d184131d Correctly mark data files with ODBL and DBCL license
tests/wells_no_perforation.data and tests/msw.data were falsely marked
as GPLv3, the rest was missing lincense marks.
2024-11-08 12:42:39 +01:00
Arne Morten Kvarving
1dd66769cd
Merge pull request #5722 from blattms/bugfix/pyhon-licensing
Added the missing plus in gplv3+ for the Python packages.
2024-11-08 12:30:56 +01:00
Markus Blatt
0629a83266 Added the missing plus in gplv3+ for the Python packages. 2024-11-08 12:25:17 +01:00
Markus Blatt
2c7806c6b5 Removed GPL copyright header from code licensed under Boost license.
One cannot just add another license when there are no substantial
creative changes and you are changing existing code only.

There is no need either as we can use code under Boost license next
to GPL.
2024-11-08 11:19:21 +01:00
Razvan Nane
3670479a93 Fix index bug in gpubridge separate wells 2024-11-08 11:08:45 +01:00
Kai Bao
7acd5c24f9
Merge pull request #5717 from vkip/fc_linrad
Add LINRAD (hybrid linear-radial) filter cake model
2024-11-07 15:01:05 +01:00