Commit Graph

14756 Commits

Author SHA1 Message Date
Markus Blatt
0a916c4b73 Rename LinearTimeSteppingBreakdown to TimeSteppingBreakdown
Indeed that is more intuitive. I guess the previous name was due to
copy & paste and forgetting to change things afterwards.
2023-07-25 14:56:47 +02:00
Tor Harald Sandve
79137ae882
Merge pull request #3604 from blattms/fix-ptflash
[bugfix] Use numComponents when accessing K_/moleFractions_ in PTFlash.
2023-07-25 12:24:58 +02:00
Markus Blatt
e5c44baf38 Also detect keywords after operate key words in wrong section.
This will find keywords in statements like
MULTIPLY
  'TRANX' 2.0 /
  'TRANY' 2.0 /
 /
2023-07-24 15:59:01 +02:00
Bård Skaflestad
ebd2ab4e59
Merge pull request #3573 from goncalvesmachadoc/collectCarfin
Store Multiple Lgrs
2023-07-21 09:34:48 +02:00
goncalvesmachadoc
946462e377 delete carfin from string 2023-07-20 11:15:23 +02:00
Markus Blatt
016dfa9ea7 Prevent std::exit(1) in tests due to ErrorGuard's destructor.
If ErrorGuard's lists have not been cleared, then it's destructor
will call std::exit(1). As that is quite unfortunate in a test, we
clear it's message stack at the end of the tests.
2023-07-20 10:36:05 +02:00
Markus Blatt
e56e2f4d26 Register errors concerning section topology in ErrorGuard.
That will make those (e.g. EDITNNC in the GRiD section) fatal.
2023-07-19 17:44:59 +02:00
goncalvesmachadoc
d23b045905 delete prefix for testing 2023-07-19 11:18:15 +02:00
goncalvesmachadoc
1c780e78f4 towards serialization 2023-07-18 16:42:11 +02:00
goncalvesmachadoc
5df7a148e9 get lgr by index 2023-07-18 12:02:09 +02:00
goncalvesmachadoc
0c897eb51d update for loops 2023-07-18 11:15:23 +02:00
goncalvesmachadoc
fb2290a07a extra line 2023-07-18 10:32:54 +02:00
goncalvesmachadoc
c0404e798e update tests 2023-07-18 10:32:53 +02:00
goncalvesmachadoc
c5f664650e collectLGRinEclState 2023-07-18 10:32:53 +02:00
goncalvesmachadoc
ca6f232486 expand methods 2023-07-18 10:32:52 +02:00
goncalvesmachadoc
0aa2941150 start for unit tests 2023-07-18 10:32:52 +02:00
goncalvesmachadoc
94e9900d39 small fix class 2023-07-18 10:32:51 +02:00
goncalvesmachadoc
4e7fde0c64 simplify collection 2023-07-18 10:32:51 +02:00
goncalvesmachadoc
22c5965fb5 add carfin collection 2023-07-18 10:32:50 +02:00
Bård Skaflestad
ee44c0fbe5
Merge pull request #3602 from blattms/gcc-13-missing-include
Added missing include of cstdint for GCC-13
2023-07-18 10:21:46 +02:00
Markus Blatt
e694e465e0 Use int type from std namespace. 2023-07-17 12:40:27 +02:00
Bård Skaflestad
d7f1b6bd27
Merge pull request #3601 from plgbrts/gconprod
Enable items, 11, 12 and 13 of GCONPROD
2023-07-14 21:23:23 +02:00
Paul
babf4c590d fix for test GroupTests 2023-07-14 13:18:13 +02:00
Paul
2470cf2ed7 Use bitwise or 2023-07-14 11:26:03 +02:00
Paul
c422724422 Struct for collecting group limit actions 2023-07-14 11:16:29 +02:00
Markus Blatt
063b1f284a [bugfix] Use numComponents when accessing K_/moleFractions_ in PTFlash.
Previously we did read and write out of bounds as num_equations might
be bigger than numComponents. For GCC-13 this even caused endless loops.
2023-07-14 10:18:07 +02:00
Markus Blatt
f284a7e7fb Added missing include of cstdint for GCC13
Without the include compilation fails with
```
/opm/io/eclipse/EclFile.hpp:92:17: error: ‘uint64_t’ was not declared in this scope
   92 |     std::vector<uint64_t> ifStreamPos;
      |                 ^~~~~~~~
In file included from src/opm/io/eclipse/EclOutput.cpp:20:
opm/io/eclipse/EclUtil.hpp:56:5: error: 'uint64_t' does not name a type
   56 |     uint64_t sizeOnDiskBinary(int64_t num, Opm::EclIO::eclArrType arrType, int elementSize);
      |     ^~~~~~~~

```
2023-07-14 08:37:56 +02:00
Paul
f8dac94ac9 some formatting 2023-07-13 13:17:45 +02:00
Markus Blatt
bb94b09c79
Merge pull request #3600 from bska/record-actionx-well-structure-change
Add Facility for Recording ACTIONX Well Structure Changes
2023-07-13 10:27:37 +02:00
Paul
7d6391b1fa added serializer items 2023-07-12 22:12:39 +02:00
Paul
e86f7f2d2d Enable items, 11, 12 and 13 of GCONPROD 2023-07-12 20:45:09 +02:00
Bård Skaflestad
5f0941677a Add Facility for Recording ACTIONX Well Structure Changes
This commit adds a new member, well_structure_change, to the
SimulatorUpdate structure.  The member defaults to 'false', but
will be set to 'true' if an ACTIONX block contains at least one of
a select group of keywords that affect the model's well topology.

In particular, set this member to 'true' if the ACTIONX block has
at least one of the keywords

  - COMPDAT
  - WELOPEN
  - WELSPECS

This will enable adding simulator logic to open or create wells in
the middle of a report step.
2023-07-12 17:31:30 +02:00
Bård Skaflestad
684dbb21b4
Merge pull request #3599 from blattms/exception-time-stepper
Added exception to mark time step being cut too often.
2023-07-12 16:52:28 +02:00
Markus Blatt
7e3eeb34b0 Added exception to mark time step being cut too often.
This is needed for a more user friendly message in the simulator.
2023-07-12 14:17:56 +02:00
Bård Skaflestad
7c6af8584f
Merge pull request #3560 from bska/wbp-emit-values
Emit WBPn Summary Vectors to Summary Result File
2023-07-11 14:15:05 +02:00
Bård Skaflestad
dbaf600fcf Emit WBPn Summary Vectors to Summary Result File
This commit hooks the WBPn result vectors up to the summary file
writing process.
2023-07-11 13:15:43 +02:00
Bård Skaflestad
e549690df4
Merge pull request #3598 from goncalvesmachadoc/gconprod
Make only one json for GCONPROD
2023-07-11 13:09:26 +02:00
goncalvesmachadoc
29cd408d99 one json 2023-07-11 11:49:07 +02:00
Bård Skaflestad
35a99be016
Merge pull request #3597 from bska/use-algorithm-for-keyword-list
Use Algorithm Instead of Raw Loop
2023-07-10 16:06:26 +02:00
Bård Skaflestad
f0d0a87606 Use Algorithm Instead of Raw Loop
Mostly for maintainability.
2023-07-10 14:39:16 +02:00
Bård Skaflestad
264cd13138
Merge pull request #3594 from bska/smry-emit-phase-densities
Add Summary Output of Fluid Densities at Block and Segment Levels
2023-07-10 13:58:47 +02:00
Bård Skaflestad
7f80ae8e2a Add Summary Output of Segment Level Fluid Densities
In particular, recognize the summary vectors

  - SDENx -- Phase density of phase 'x' (segment conditions)
  - SDENM -- Fluid mixture density without flowing fraction exponents
  - SMDEN -- Fluid mixture density with flowing fraction exponents
2023-07-07 16:26:58 +02:00
Bård Skaflestad
6dae660cc9 Add Summary Output for Block Level Phase Densities
In particular, recognize block level summary vectors

    BxDEN, BDENx

for the phase densities of phase 'x' (O, G, W).
2023-07-07 16:26:58 +02:00
Bård Skaflestad
3e6a5cfc2d Push Block Level Unit Conversion to Summary Output
The 'BLOCK_VARIABLES' test was doing manual unit conversion and
there's no need for that.
2023-07-07 13:56:18 +02:00
Bård Skaflestad
2f164e84b2
Merge pull request #3596 from bska/fix-rseg-item-description
Revise Description of Item 7 in RSEG
2023-07-06 12:58:23 +02:00
Bård Skaflestad
6590ea2e78
Merge pull request #3595 from blattms/warn-operations-empty-regions
Issue warning for operations on empty regions.
2023-07-06 12:58:02 +02:00
Bård Skaflestad
8fc1389de0 Revise Description of Item 7 in RSEG
This item is the depth of the node segment, not the depth change
relative to the top segment.  Rename the associate variables
accordingly.
2023-07-06 12:02:45 +02:00
Markus Blatt
267e1b07bd Issue warning for operations on empty regions.
If the user did not set MULTNUM but has e.g.
```
MULTIREG
PORV    0.8     2 /
PORV    0.8     7 /
PORV    0.8   3 /
PORV    0.8   8 /
PORV    1   4 /
PORV    1   9 /
/
```

he at least gets a warning like
```
Warning: MULTNUM region 2 has no active cells when processing operation MULTIREG on keyword PORV.
Please check whether this is on purpose or you missed defining the region properly.
In file /path/to/model/porvmultsny.inc, line 1
```

This should aid him with detecting possible errors.
2023-07-05 17:32:36 +02:00
Markus Blatt
98fe4e4d29
Merge pull request #3524 from verveerpj/fix-table-error-msgs
Fix table-related error messages
2023-07-05 15:12:59 +02:00
Bård Skaflestad
13e4394b45
Merge pull request #3593 from bska/smry-phase-densities
Add Transport Protocol for Segment Level Phase Densities
2023-07-05 12:10:29 +02:00