Commit Graph

12002 Commits

Author SHA1 Message Date
Ove Sævareid
63c97d54d0 Rebase issue. 2020-11-17 14:50:57 +01:00
Arne Morten Kvarving
cff02ee105 remove unused variable 2020-11-17 13:22:35 +01:00
Markus Blatt
41843f2667 Use consistent pvt region index for groups in parallel.
In serial we use the first cell of the first well to determine the
pvt region index for a group. Previously, we used the first cell of
the first local well in a parallel run. Unfortunately that may lead
to different pvt region indices being used for the same goup on
different processes.

We fix this by using the same approach in parallel as we already use
in serial. For this we use Well::seqIndex() to determine the needed
ordering.
2020-11-17 12:54:45 +01:00
Atgeirr Flø Rasmussen
d69dbf598e Response to review comments. 2020-11-17 12:53:04 +01:00
Ove Sævareid
b132df610f Missing template argument. 2020-11-17 12:39:21 +01:00
Ove Sævareid
98b2ed5bd4 Cleaning up various issues. 2020-11-17 12:39:21 +01:00
Arne Morten Kvarving
9819183949 add python3-numpy to debian packaging
required after newly introduced test
2020-11-17 12:38:30 +01:00
Ove Sævareid
0f7e66e151 Alternative solvent extension for the black oil model. 2020-11-17 12:33:19 +01:00
Markus Blatt
09a4a04c22
Merge pull request #2896 from atgeirr/refactor-well-calc
Refactor well calculations
2020-11-17 09:40:19 +01:00
Markus Blatt
64fa5a2b30
Merge pull request #2858 from Tongdongq/ilu-reorder-strategy
Added cmdline parameter --ilu-reorder-strategy
2020-11-17 09:35:12 +01:00
Joakim Hove
20f7503d67
Merge pull request #2913 from joakim-hove/add-parallel-test-pavg
Add packing test for class PAvg
2020-11-17 08:19:28 +01:00
Markus Blatt
0dcfc60363
Merge pull request #2912 from totto82/polyhedrealgrid
Make a flow version that uses the polyhedreal grid
2020-11-16 17:04:38 +01:00
Atgeirr Flø Rasmussen
82ecb1e7cd Implement addWellContributions() for MultisegmentWell. 2020-11-16 11:42:29 +01:00
Atgeirr Flø Rasmussen
963a8b640a Add the invertWithUMFPack() utility. 2020-11-16 11:37:44 +01:00
Atgeirr Flø Rasmussen
db7cd1053f Add the multMatrixImpl() utility. 2020-11-16 11:37:44 +01:00
Atgeirr Flø Rasmussen
cb928f90f0 Refactor per-perforation code into separate function.
Also make some methods const.
2020-11-16 11:19:03 +01:00
Joakim Hove
2d137e706f
Merge pull request #2918 from joakim-hove/summary-RRPV
Change output name of Region Pore Volume
2020-11-16 10:37:37 +01:00
Atgeirr Flø Rasmussen
6f7e83a2ce
Merge pull request #2916 from blattms/stdwell-comm-backport
Parts of the distributed well work backported to original approach.
2020-11-13 08:43:00 +01:00
Joakim Hove
582980627d
Merge pull request #2907 from joakim-hove/nnc-error-message
Improve error message for problematic NNCEDIT
2020-11-13 08:27:07 +01:00
Joakim Hove
cddc8044b3 Change output name of Region Pore Volume 2020-11-13 08:21:22 +01:00
Markus Blatt
d6e2e87efc WellInterface::initComletions: stop relying on open connections being local.
Instead use the perforation data to add the correct indices.
2020-11-12 17:22:36 +01:00
Markus Blatt
049aaad326 Adds original ECL index of well connection to PerforationData
and use it in the WellInterface instead of creating a vector
with these indices there. The original approach recreates
information in another path of the well and assumes that all
connections are in a process's local partition. That assumption
does not hold any more for distributed wells.
2020-11-12 17:21:37 +01:00
Markus Blatt
010ff83f26 Use functor iterating container when communicating group rates.
Makes the code more compact.
2020-11-12 16:28:36 +01:00
Tor Harald Sandve
e58e3425a8
Merge pull request #2909 from alfbr/time-stepping
Switched time step control and changed damping factor for it
2020-11-11 20:55:26 +01:00
Joakim Hove
f4deebeb77 Add packing test for class PAvg 2020-11-11 15:17:34 +01:00
Alf Birger Rustad
7996857604 Using the coarse parallel tolearance 2020-11-10 22:08:36 +01:00
Alf Birger Rustad
9e6d8849cd Remove test arguments to parallel spe1_foam test 2020-11-10 20:50:04 +01:00
Joakim Hove
da2bc2affd Refactor application of NNC / EDITNNC
- The edit manipulations from EDITNNC have already been applied to the NNC data
  from opm-common

- The NNC data structures are guaranteed to be ordered, both with cell1 <= cell2
  and the NNCs are in ascending order

- The NNC output to EGRID / INIT files is based on std::vector<NNCdata>
2020-11-10 16:59:30 +01:00
Tor Harald Sandve
fbccdbf68e Make a flow version that uses the polyhedreal grid
Currently the simulator creats the polyhedreal grid from an eclGrid from opm-common

TODO
 - make it possible to create the grid directly from DGF or MRST format
 - fix issue on norne.
2020-11-10 15:49:59 +01:00
Joakim Hove
9e08e1324c
Merge pull request #2900 from joakim-hove/ref-test-cmpl
Add regression test for summary + completion variables
2020-11-10 08:33:41 +01:00
Joakim Hove
b46a98e6dc Add regression test for summary + completion variables 2020-11-09 16:06:58 +01:00
Alf Birger Rustad
25b12428be Less aggressive growth dampoing factor 2020-11-09 11:45:13 +01:00
Alf Birger Rustad
553a408b13 Set number directly instead of fraction and update comments 2020-11-09 09:13:20 +01:00
Alf Birger Rustad
2fc9b03af4 Switched time step control and changed damping factor for it 2020-11-09 08:40:31 +01:00
Bård Skaflestad
fc3ce85be2
Merge pull request #2906 from goncalvesmachadoc/patch-3
Delete some radial keywords from Missing Features
2020-11-06 16:35:57 +01:00
Tor Harald Sandve
73b384f8cd
Merge pull request #2902 from totto82/fixWlift
Fixes to the wlift implementation
2020-11-06 15:58:24 +01:00
Tor Harald Sandve
2795d1713f avoid oscilating between decreasing and increasing when rates are limited 2020-11-06 15:19:21 +01:00
Cintia Goncalves Machado
9695de9e8c
Delete some radial keywords from Missing Features
They are implemented in the SpyderWeb grid.
2020-11-06 14:26:59 +01:00
Tor Harald Sandve
c259b15497
Merge pull request #2903 from plgbrts/patch-2
Two fixes in StandardWell_impl.hpp
2020-11-06 13:25:32 +01:00
Bård Skaflestad
4396bab828
Merge pull request #2904 from akva2/bump_version
bump version to 2021.04-pre
2020-11-06 09:19:31 +01:00
Arne Morten Kvarving
fc29da428b bump version to 2021.04-pre 2020-11-06 08:59:27 +01:00
Paul Egberts
7ef854f32f
Two fixes
1) Corrected phaseIsActive with PhaseIdx argument instead of CompIdx argument in "subtraction of dissolved gas from oil phase and vapporized oil from gas phase".
2) Fix for well accumulation calculation in case oil is absent.
2020-11-05 17:09:25 +01:00
Atgeirr Flø Rasmussen
adfb8ef771
Merge pull request #2898 from blattms/always-accu-to-one-proc-as-default
Always accumulates data in AMG to 1 process on coarse levels.
2020-11-05 15:41:57 +01:00
Tor Harald Sandve
bd370c6470 fixes to the wlift implementation 2020-11-05 13:05:01 +01:00
Joakim Hove
e2909958c8
Merge pull request #2844 from hakonhagland/poro2
Implements access to the porosity from Python.
2020-11-05 11:15:12 +01:00
Håkon Hægland
b680d96198 The data directory is relative to the parent.
The test data directory is relative to the parent directory, not the
current directory.
2020-11-05 09:48:39 +01:00
Håkon Hægland
eee2a92e39
Merge pull request #3 from joakim-hove/python-fixup
Use python pushd
2020-11-05 09:37:09 +01:00
Joakim Hove
a28bd3ab90
Merge pull request #2830 from hakonhagland/step_cleanup
Implements a Python step_cleanup() method.
2020-11-04 14:27:38 +01:00
Joakim Hove
68e8c4a900 Use python pushd 2020-11-04 14:24:39 +01:00
Håkon Hægland
7011a6c0b7 Restore cwd after each unittest.
Restores the original cwd after each unittest in test_basic.py. Also
simplifies add_test() in python/simulators/CMakeLists.txt such that the
Bash script wrapper run-python-tests.sh is no longer needed to run the
tests.
2020-11-04 13:51:36 +01:00