Commit Graph

11867 Commits

Author SHA1 Message Date
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
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
Markus Blatt
d83ae17e5b Always accumulates data in AMG to 1 process on coarse levels.
In OPM the matrix graph might be unsymmetric as we do not store
the full sparsity pattern for copy rows but only the diagonal.
Unfortunately, DUNE assumes that matrices from finite elements and
finite volumes have a symmetric sparsity pattern for copy rows to
and uses this assumption to create the graphs for PTScotch/ParMETIS
more easily. But PTScotch/ParMetis assume a symmetric graph.
2020-11-03 22:13:27 +01:00
Joakim Hove
a2148446e0
Merge pull request #2897 from alfbr/sched-restart
Switch default for restarting to read historic schedule
2020-11-03 21:10:31 +01:00
Alf Birger Rustad
590da4b0ae Switch default for restarting to read historic schedule 2020-11-03 17:56:24 +01:00
Håkon Hægland
648bab7108 Implements access to the porosity from Python.
Implements access (read/write) to the porosity from Python.
2020-11-03 17:18:14 +01:00
Håkon Hægland
53cbe0c57e Initialize boolean variables in-class.
Initialize the boolean variables hasRunInit_ and hasRunCleanup_ in
the class instead of in the constructor.
2020-11-03 16:17:52 +01:00
Håkon Hægland
0403d4e6e7 Implements a Python step_cleanup() method.
Continues the work in #2735 on implementing Python bindings for the flow
simulator.
2020-11-03 16:12:12 +01:00
Markus Blatt
4f1bed2890
Merge pull request #2895 from akva2/janitoring
fix typo
2020-11-03 15:22:04 +01:00
Arne Morten Kvarving
4121e0a3c4 fix typo 2020-11-03 13:48:09 +01:00
Joakim Hove
9fe6595a36
Merge pull request #2887 from joakim-hove/well-matcher
Add wellmatcher argument when evaluating UDQ expressions
2020-11-03 11:22:18 +01:00
Joakim Hove
082fed2d78 Add wellmatcher argument when evaluating UDQ expressions 2020-10-30 23:34:07 +01:00
Bård Skaflestad
0102287de0
Merge pull request #2885 from akva2/packaging_scotch_metis
add scotch(par)metis to debian packaging
2020-10-30 16:52:07 +01:00
Arne Morten Kvarving
237869772b add scotch(par)metis to debian packaging 2020-10-30 15:56:52 +01:00
Bård Skaflestad
5b601461d8
Merge pull request #2881 from goncalvesmachadoc/patch-2
Delete WEIR and WEIT
2020-10-28 21:09:37 +01:00
Cintia Goncalves Machado
27a00b3c59
Delete WEIR and WEIT 2020-10-28 19:17:53 +01:00
Bård Skaflestad
6f032e8efe
Merge pull request #2876 from akva2/equil_to_boost_test
Use boost::test in test_equil
2020-10-28 13:02:13 +01:00
Arne Morten Kvarving
4edb27bd37 fixed: drop some shadowing typedefs 2020-10-28 12:11:52 +01:00
Arne Morten Kvarving
1064c62e10 test_equil: change to boost::test 2020-10-28 12:11:52 +01:00
Bård Skaflestad
fb962da061
Merge pull request #2877 from akva2/ecl_output_to_boost_test
Use boost::test in test_ecl_output
2020-10-28 11:41:21 +01:00
Joakim Hove
67ae9c6cb8
Merge pull request #2870 from joakim-hove/add-reperf-test
Add integration test for reporforated norne model
2020-10-27 17:13:00 +01:00
Arne Morten Kvarving
939a132af7 test_ecl_output: change to boost::test 2020-10-27 12:59:58 +01:00
Arne Morten Kvarving
cf15d07a94 changed: measure reltol as percentage in macro
this to make it similar to how BOOST_CHECK_CLOSE works.
2020-10-27 12:55:08 +01:00
Arne Morten Kvarving
3c1c3ba1f6 changed: measure relative error in a more standard way (knuth)
|(value-expected)/expected| < tol or |(value-expected)/value| < tol
instead of
|(value-expected)/(value+expected)|

this is how boost::test defines its check
2020-10-27 12:55:08 +01:00
Arne Morten Kvarving
1006991795 changed: measure reltol as percentage in macro
this to make it similar to how BOOST_CHECK_CLOSE works.
2020-10-27 12:09:44 +01:00
Arne Morten Kvarving
6d1f8c75d6 changed: measure relative error in a more standard way (knuth)
|(value-expected)/expected| < tol or |(value-expected)/value| < tol
instead of
|(value-expected)/(value+expected)|

this is how boost::test defines its check
2020-10-27 12:09:44 +01:00
Atgeirr Flø Rasmussen
778f486bcc
Merge pull request #2871 from akva2/flow_object_libs
changed: compile each flow simulator as a object library
2020-10-27 11:54:13 +01:00
Joakim Hove
f46e7d998f Add integration test for reporforated norne model 2020-10-27 11:53:52 +01:00
Joakim Hove
ea43f8fb0a
Merge pull request #2873 from joakim-hove/udq-test-M3
Udq test m3
2020-10-27 11:52:00 +01:00
Bård Skaflestad
5dd56b99cc
Merge pull request #2862 from bska/fix-conn-rates
Extract Correct Connection-Level Rates
2020-10-26 14:38:06 +01:00
Joakim Hove
ba25f35c57 Add regression testing for model UDQ_M3 2020-10-26 11:21:47 +01:00
Bård Skaflestad
3058047d3c Extract Correct Connection-Level Rates
The Polymer, Brine, and Solvent quantities would be extracted from
elements 0..#perf-1 of their pertinent container rather than from
the elements associated to the particular well.
2020-10-23 22:24:00 +02:00
Joakim Hove
887b13705d
Merge pull request #2743 from joakim-hove/udq-test-M2
Add udq test UDQ_M2
2020-10-23 20:32:00 +02:00