Commit Graph

13127 Commits

Author SHA1 Message Date
Joakim Hove
a39fcc9708 Set WellState::thp when loading restart file 2021-07-26 13:07:12 +02:00
Joakim Hove
057db0ec0e Add method WellState::name() 2021-07-26 13:07:12 +02:00
Markus Blatt
bb9f941f2f Merge pull request #3443 from bska/address-static-analysis-warnings
Address Static Code Analysis Warnings
2021-07-15 08:58:30 +02:00
Bård Skaflestad
48e1af8bbe Address Static Code Analysis Warnings
In particular, don't print uninitialized memory (Reorder.cpp:left)
and don't capture objects ('prm') that aren't actually used.  While
here, refactor the initialization of the MT19937 random number
generator.  Constructing this object is too expensive to do for each
try, especially when we can just run the generator in place.
2021-07-13 11:37:57 +02:00
Joakim Hove
847288ea68 Merge pull request #3440 from OPMUSER/ValidationKeywords
Partially Supported Keywords Validation
2021-07-10 18:10:24 +02:00
OPMUSER
272ae1c8f8 Minor updates
Delete time stamp
update WCONPROD, TRACER and TRACERS
2021-07-10 14:05:33 +08:00
OPMUSER
22a2720e5a Partially Supported Keywords Validation
All keywords that can be checked with the existing validation frame work. All failures will continue, even if the message says "will STOP". The only exception is GUIDERAT(2) as parser check results in the STOP; however, this going to change so the STOP will happen with this code.

Comments and agreement between continue and STOP actions appreciated-
2021-07-10 14:05:33 +08:00
OPMUSER
741fddc2f7 Update UnsupportedFlowKeywords with Some Output Comments
Just minor changes to the output strings for better clarity.
2021-07-10 14:05:33 +08:00
OPMUSER
82834c0a3b Unsupported Keywords: Fix RVCONST add ROCKOPTS
Added ROCKOPTS to unsupported keyword list, as there are no opm-test examples, is this correct?

If ROCKOPTS is supported what is supported?
2021-07-10 14:05:33 +08:00
Bård Skaflestad
bf3216ed1e Merge pull request #3441 from atgeirr/fix-bug-and-warning
Fix bug and warning
2021-07-08 18:26:30 +02:00
Atgeirr Flø Rasmussen
38d68fbae4 Do not use C99 variable-length arrays. 2021-07-08 17:55:28 +02:00
Atgeirr Flø Rasmussen
3253a79693 Instantiate pack etc. for new integer type.
The std::uint_fast64_t is used in WriteRestartFileEvents, from
opm-common.
2021-07-08 17:55:28 +02:00
Arne Morten Kvarving
4b8b63aa85 Merge pull request #3431 from bska/write-restart-file-events
Add Serialization Test for WriteRestartFileEvents
2021-07-08 10:49:08 +02:00
Bård Skaflestad
d637f5983e Add Serialization Test for WriteRestartFileEvents 2021-07-07 14:30:46 +02:00
Bård Skaflestad
4c870373c9 Merge pull request #3438 from bska/remove-unsed-argument
Don't Pass 'log' Argument to 'Schedule::rst_file'
2021-07-07 14:29:45 +02:00
Bård Skaflestad
cec3098c3a Don't Pass 'log' Argument to 'Schedule::rst_file'
The function does not use that argument.
2021-07-07 14:06:38 +02:00
Bård Skaflestad
2627a05c1e Merge pull request #3433 from osae/tracerDefaultTrue
Default activation of tracer model.
2021-07-07 11:54:28 +02:00
Joakim Hove
c121247524 Merge pull request #3427 from joakim-hove/rst-load-udq
Rst load udq
2021-07-07 07:20:51 +02:00
Bård Skaflestad
e64574dfcf Merge pull request #3430 from osae/tracerCrossFlow
Some regularisation of tracer rate reporting.
2021-07-07 00:32:53 +02:00
Bård Skaflestad
24db9d43e2 Merge pull request #3432 from akva2/code_to_data
changed: replace code with data in restart output
2021-07-06 20:34:12 +02:00
Ove Sævareid
738877fc1b Default activation of tracer model. 2021-07-06 17:06:10 +02:00
Arne Morten Kvarving
d13b413011 changed: replace code with data in restart output 2021-07-06 15:30:34 +02:00
Ove Sævareid
6db925189c Some regularisation of tracer rate reporting. 2021-07-06 12:54:16 +02:00
Joakim Hove
c62a9ba198 Set external UDQState for flow blackoil 2021-07-04 08:55:07 +02:00
Joakim Hove
2b680f27af Load udq state results from restart file 2021-07-03 10:08:25 +02:00
Bård Skaflestad
bbd8beb822 Merge pull request #3423 from joakim-hove/set-udq-state
Assemble UDQState external to the vanguard
2021-07-02 23:53:11 +02:00
Bård Skaflestad
71594c1311 Merge pull request #3411 from joakim-hove/restart-summary-only
Restart summary only
2021-07-02 23:48:18 +02:00
Markus Blatt
ef8bd1861f Merge pull request #3425 from akva2/nullopt
changed: use std::nullopt
2021-07-01 15:31:09 +02:00
Markus Blatt
8d0a254211 Merge pull request #3364 from blattms/flexible-solver-determine-pressure-idx-from-model
Determine index of pressure from model used to increase usability
2021-07-01 15:22:50 +02:00
Tor Harald Sandve
65f207836b Merge pull request #3421 from totto82/compPotNW
compute potentials for newly opened wells due to testing
2021-07-01 12:08:13 +02:00
Arne Morten Kvarving
b0a2fc8a67 changed: use std::nullopt
the alternative causes some compilers to emit uninitialized
use warnings
2021-07-01 09:00:56 +02:00
Joakim Hove
528078e8e1 Assemble UDQState external to the vanguard 2021-07-01 08:24:59 +02:00
Bård Skaflestad
d5658e39db Merge pull request #3422 from bska/glift-2p
Don't Access Phase Rates Unless Active
2021-06-30 19:31:51 +02:00
Bård Skaflestad
4392cc8713 Don't Access Phase Rates Unless Active
Fixes two-phase Oil/Water runs.  Probably needs more refinement
later.
2021-06-30 17:21:52 +02:00
Arne Morten Kvarving
60cd7faaeb Merge pull request #3419 from akva2/rh_boost
fix redhat packaging
2021-06-30 15:10:25 +02:00
Arne Morten Kvarving
2bd59b6c35 fix redhat packaging
- use system level boost now that RHEL6 is dead
2021-06-30 15:05:43 +02:00
Tor Harald Sandve
a00c42c673 compute potentials for newly opened wells due to testing 2021-06-30 13:13:56 +02:00
Bård Skaflestad
5ddac2e8d5 Merge pull request #3406 from GitPaean/new_fixing_guide_rate_update_together
[new attempt] updating the guide rates for all the wells and groups at the same time
2021-06-30 12:40:45 +02:00
Bård Skaflestad
92f636773e Merge pull request #3407 from totto82/fixGaslift
Potentially reduce gaslift when under well is under group control
2021-06-30 12:12:22 +02:00
Tor Harald Sandve
60f59cd6e6 Potentially reduce gaslift when under well is under group control
Current implemention only support ORAT and GRAT controlled groups
2021-06-30 09:59:09 +02:00
Kai Bao
12fa7a4ac8 putting all the guide rate update function in one single function
to make sure we only do once checking of the expiration of the guide
rates.
2021-06-29 11:41:26 +02:00
Tor Harald Sandve
42dd7ad56d Merge pull request #3413 from totto82/fixLocalFraction
make sure the newly switched well is included in the local fraction sum
2021-06-28 15:41:45 +02:00
Bård Skaflestad
b79b08e86f Merge pull request #3414 from OPMUSER/RUNSPEC-GRID
Add GRAVITY keyword to UnsupportedFlowKeywords
2021-06-28 13:26:43 +02:00
OPMUSER
5d9e3811af Add GRAVITY keyword to UnsupportedFlowKeywords
Add GRAVITY keyword to UnsupportedFlowKeywords with message to use DENSITY instead.
2021-06-28 18:11:49 +08:00
Tor Harald Sandve
4aaf86d5ef make sure the current well are included in the local fraction sum 2021-06-28 11:47:13 +02:00
Bård Skaflestad
3fe922b27f Merge pull request #3404 from OPMUSER/RUNSPEC-GRID
PartiallySupportedKeywords for RUNSPEC and GRID Sections
2021-06-27 17:04:20 +02:00
Joakim Hove
6986b685bf Add summary only spe1 restart test 2021-06-26 10:48:10 +02:00
Joakim Hove
5af0b73e44 Add possibility to override test name when adding restart test 2021-06-26 10:48:10 +02:00
Joakim Hove
a20da30d40 Add test driver for summary-only restart testing 2021-06-26 10:48:10 +02:00
Bård Skaflestad
0ba2c9fa99 Merge pull request #3391 from Tongdongq/handle-exception-cusparse-test
Added exception handling to cusparse test
2021-06-25 21:52:17 +02:00