Commit Graph
15938 Commits
Author SHA1 Message Date
Arne Morten Kvarving 0406a033a2 introduce getMobility in WellInterface
we now share implementation between StandardWell and MultisegmentWell
2023-05-15 21:39:59 +02:00
Arne Morten Kvarving e406d2f0a1 StandardWell::getMobility: use if constexpr 2023-05-15 21:38:39 +02:00
Arne Morten Kvarving c0bc0abc73 StandardWell::getMobility: use Scalar relperms when possible 2023-05-15 21:38:39 +02:00
Arne Morten Kvarving 5126097d7b changed: unify MultisegmentWell::getMobility(Eval|Scalar) 2023-05-15 21:38:39 +02:00
Arne Morten Kvarving 35c56e4ce4 changed: unify StandardWell::getMobility(Eval|Scalar) 2023-05-15 21:38:37 +02:00
Kai Bao 6021388045 Merge pull request #4655 from akva2/fix_stdwell_mobilility_scalar
fixed: copy the mobility values into the temporary Eval vector
2023-05-15 15:34:29 +02:00
Arne Morten Kvarving 1b073185a1 fixed: copy the mobility values into the temporary Eval vector 2023-05-12 15:13:34 +02:00
Bård Skaflestad a145cdfcc8 Merge pull request #4651 from akva2/fix_restart_test_directory
fixed: need a separate directory for each restart test
2023-05-12 13:24:11 +02:00
Arne Morten Kvarving effec3544a fixed: need a separate directory for each restart test
if not parallel execution of tests fail
2023-05-12 12:12:57 +02:00
Tor Harald Sandve 56c6507664 Merge pull request #4623 from totto82/addDisgasw
Add disgasw to gas water saltprec vapwat simulator
2023-05-12 09:14:20 +02:00
Atgeirr Flø Rasmussen dc3316a103 Merge pull request #4648 from GitPaean/not_call_alq_value_for_injectors
we should not request alq_value for injectors
2023-05-11 17:15:42 +02:00
Kai Bao 49a327f372 we should not request alq_value for injectors
through the function { return well_.wellEcl().alq_value(); }.

It will throw a runtime_error which is not properly caught.
2023-05-11 15:23:25 +02:00
Bård Skaflestad ca0c650110 Merge pull request #4644 from tskille/wgrupcon
start regression testing of WGRUPCON tests
2023-05-10 21:44:07 +02:00
Torbjørn Skille d5100fac23 start regression testing of WGRUPCON tests 2023-05-10 20:52:50 +02:00
Bård Skaflestad c24f2b33b0 Merge pull request #4641 from akva2/no_sequential_parallel_tests
changed: use ctest mechanism for specifying number of processors required
2023-05-10 15:19:50 +02:00
Atgeirr Flø Rasmussen 238df46960 Merge pull request #4633 from kjetilly/cuistl_base_utils
Path to multiGPU: Basic utilities for cuISTL
2023-05-10 10:32:27 +02:00
Kjetil Olsen Lye 4600c4a126 Changed set_tests_properties to one call for cuistl. 2023-05-09 16:00:57 +02:00
Kjetil Olsen Lye 066e9ab39c Set gpu_cuda labels for CuISTL tests. 2023-05-09 15:49:00 +02:00
Kjetil Olsen Lye a6b0ffac70 Removed unused using statement. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye 4228daf670 Added cusparseWarnIfError and CUSPARSE_WARN_IF_ERROR. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye 81bc76384d Documentation fix. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye 863647f592 Added cudaWarnIfError/OPM_CUDA_WARN_IF_ERROR 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye cab0efeec5 Added cublasWarnIfError/CUBLAS_WARN_IF_ERROR. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye e4c0ce08dc Fixed documentation and formatting. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye b456fee209 Updated copyright headers. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye 062d692c83 Added handles for cusparse and cublas. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye 03a7fb6c9d Added error macros to check last CUDA error. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye a204708f37 Refactored CUDA error macros to call inline functions. 2023-05-09 15:20:34 +02:00
Kjetil Olsen Lye bf9dd4e1dd Added safe call macros for CUDA, CuBlas and CuSparse. 2023-05-09 15:20:34 +02:00
Arne Morten Kvarving 3164b19354 changed: use ctest mechanism for specifying number of processors required
rather than forcing parallel tests to run sequentially
2023-05-09 13:29:50 +02:00
Arne Morten Kvarving 1a576f9007 Merge pull request #4625 from akva2/singlewellstate_coalesce_reductions
changed: store rates in an array in SingleWellState
2023-05-09 13:03:44 +02:00
Arne Morten Kvarving 0196259537 Merge pull request #4637 from akva2/gpu_tests_add_labels
GPU tests: add a label and make missing device a failure
2023-05-09 12:47:10 +02:00
Arne Morten Kvarving 60079dc065 gputests: missing device is a test failure 2023-05-09 12:27:41 +02:00
Arne Morten Kvarving e28196f8af tag gpu tests with appropriate labels 2023-05-09 12:27:41 +02:00
Arne Morten Kvarving c18fb6a577 changed: store rates in an array in SingleWellState
introduce an enum for indexing into the array. this again
allows us to coalesce 4 parallel reductions into one.
2023-05-09 12:26:18 +02:00
Kai Bao a306efa7e6 Merge pull request #4598 from GitPaean/network_continue
various network improvements
2023-05-09 10:28:47 +02:00
Kai Bao c3f5d0c81c adding parallel tests and reference update for network modeling 2023-05-08 15:29:01 +02:00
Kai Bao d30e1f7a2a adding comment to address reviewing comments for PR#4598 2023-05-08 13:55:30 +02:00
Kai Bao 926228401a moving function needRebalanceNetwork to BlackoilWellModelGeneric 2023-05-08 13:26:23 +02:00
Kai Bao 05795c0bb1 adding regression test for network modeling 2023-05-08 10:43:49 +02:00
Kai Bao fa39f1f183 adding max_iter and relaxation_iter for updateWellControlsAndNetwork
to avoid getting stuck during the iteration.
2023-05-08 10:43:49 +02:00
Kai Bao b9348ee435 try to honor the network balance tolerance
without considering the iteration number. Because of the different
implementaion from other simulators, it is difficult to honour
procedure-dependent parameters.
2023-05-08 10:43:49 +02:00
Kai Bao 6148e97771 we dampen the nodal pressure update for each iteration
to improve the network update convergence. The current network update is
somehow explicit.
2023-05-08 10:43:49 +02:00
Kai Bao ee77fa122c updating the thp of the wells during the network update iteration 2023-05-08 10:43:49 +02:00
Kai Bao bb7ed4d78e making sure to update the pressure when needing network balance 2023-05-08 10:43:49 +02:00
Kai Bao 5536b24a84 fixing the comilation from the reverted commit
the interface has changed.
2023-05-08 10:43:49 +02:00
Kai Bao 2d67d819e7 Revert "removing unused function solveEqAndUpdateWellState"
This reverts commit 7931e6e00a.
2023-05-08 10:43:49 +02:00
Kai Bao 8644801ac8 adding function balanceNetwork
not compiling yet due to the change in the master branch
2023-05-08 10:43:49 +02:00
Kai Bao b3a6009b1b network pressure needs to be updated even without wells open
mostly to make the comparison plot against reference results easier for
the network nodal pressures.
2023-05-08 10:43:49 +02:00
Kai Bao 0f4da07aaf when a well is in a network node with nodal pressure
setting the dynamic thp limit with the the nodal pressure.
2023-05-08 10:43:49 +02:00