Commit Graph

4973 Commits

Author SHA1 Message Date
Joakim Hove
476bfa1046
Merge pull request #410 from joakim-hove/restart-THPRES
Ignore THPRES input for restart runs
2018-06-01 11:46:39 +02:00
Joakim Hove
24f28e8a5d Ignore THPRES input for restart runs 2018-05-31 17:15:34 +02:00
Kai Bao
59bb98d312 adding tests related to VFP table number 2018-05-30 15:15:02 +02:00
Kai Bao
f945032405 VFP table number related to history macthing mode
tests are failed.
2018-05-30 13:26:51 +02:00
Kai Bao
62c7706f30 VFP number is always read for WCONINJE
and a zero-value THP limit for WCONPROD will not be treated as a THP
limit.
2018-05-30 11:58:04 +02:00
Joakim Hove
a7ec8b1d53
Merge pull request #407 from joakim-hove/GNETINJE
Add keyword GNETINJE
2018-05-29 14:33:52 +02:00
Joakim Hove
d39ba17190 Add keyword GNETINJE 2018-05-29 11:00:21 +02:00
Arne Morten Kvarving
e654cba898
Merge pull request #409 from akva2/revert_pr_401
Revert #401
2018-05-29 09:33:09 +02:00
Arne Morten Kvarving
47d06c526f Revert "changed: manually merge pr's to work around slow updating merge refs on github"
This reverts commit b338e56730.

Causes too much problems to be worth the gains
2018-05-29 09:23:11 +02:00
Arne Morten Kvarving
61b7977406
Merge pull request #406 from akva2/revert_set_e
revert 'set -e' addition in jenkins script
2018-05-25 15:39:03 +02:00
Joakim Hove
0b4f830d28
Merge pull request #377 from nairr/aquctconversions
Handle conversion of constants in parser
2018-05-24 16:34:02 +02:00
Arne Morten Kvarving
f6c795bed0 revert 'set -e' addition in jenkins script
had some more consequences than expected, not all of them desired
2018-05-24 10:36:38 +02:00
Joakim Hove
ab365481a7
Merge pull request #403 from joakim-hove/summary_state
Add SummaryState class to hold on to summary state.
2018-05-23 19:32:55 +02:00
Joakim Hove
6883c8ae21
Merge pull request #401 from akva2/slow_updates
changed: manually merge pr's to work around slow updating merge refs
2018-05-23 09:11:42 +02:00
Arne Morten Kvarving
b338e56730 changed: manually merge pr's to work around slow updating merge refs on github 2018-05-23 09:00:00 +02:00
Joakim Hove
28b7781017
Merge pull request #404 from akva2/rh6_update
fix redhat 6 packaging
2018-05-23 08:31:06 +02:00
Arne Morten Kvarving
56da8cd8f9 fix redhat 6 packaging
cmake28 -> cmake3
2018-05-23 08:26:37 +02:00
Joakim Hove
6168a35512 Add SummaryState class to hold on to summary state. 2018-05-23 06:49:23 +02:00
Rohith Nair
9a17457e6f comment on C2 2018-05-22 16:02:38 +02:00
Rohith Nair
aecf3f6470 Handle conversion of constants in parser
Adds conversion factors for constants to SI units

edit

use p0_defaulted within aquiferCT

conversion based on unitsystem

edit
2018-05-22 14:28:34 +02:00
Joakim Hove
3b84678db5
Merge pull request #398 from joakim-hove/welltest-config
Add WTEST configuration
2018-05-18 09:10:00 +02:00
Joakim Hove
23ca927249
Merge pull request #391 from joakim-hove/use-restart-value
Save and load THPRES
2018-05-18 08:57:15 +02:00
Joakim Hove
7163807296 Change method names 2018-05-16 12:31:14 +02:00
Joakim Hove
5008501318 Add WellTestConfiguration to Schedule 2018-05-16 00:57:54 +02:00
Joakim Hove
3c18add696 Verify that the extra container has THPRES 2018-05-15 23:08:30 +02:00
Joakim Hove
b9d2a08930 Add WellTestConfig implementation to support WTEST keyword 2018-05-15 19:23:56 +02:00
Joakim Hove
eb001a1e67 Add runtime check that THPRES is saved 2018-05-14 16:12:52 +02:00
Joakim Hove
593af1c678 Pass dimension information for extra fields in restart 2018-05-14 16:12:52 +02:00
Joakim Hove
e6f318aa28 Add key string to RestartKey 2018-05-14 16:12:52 +02:00
Joakim Hove
d078a96eae Use RestartValue container for Eclipse output 2018-05-14 16:12:52 +02:00
Joakim Hove
fea57c5031
Merge pull request #387 from lars-petter-hauge/invalid_wells_context
Invalid wells context
2018-05-14 15:22:00 +02:00
Arne Morten Kvarving
fadab53590
Merge pull request #402 from akva2/master
update redhat packaging
2018-05-14 13:33:39 +02:00
Joakim Hove
b4ef14dfc0
Merge pull request #400 from atgeirr/serialize_SCON
Added implementation of serialize_SCON
2018-05-14 13:26:21 +02:00
Atgeirr Flø Rasmussen
b28527c0ec Update after review.
In particular:
 - correct path for test deck,
 - use unit system to convert output correctly,
 - handle and warn for the case where we do not have an explicit
   connection transmissibility factor from the deck.
2018-05-14 11:30:51 +02:00
Lars Petter Øren Hauge
429c4e475c Remove deprecated comment
The handling of `time step - 1` was changed in
62b9548167
2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
fcbcc9cda4 Add INVALID_NAME to GCONPROD, GCONINJE & GEFAC 2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
675858f1e0 Handle wildcard in group keywords
Added function getGroups(pattern) to allow records with wildcard.

Included the functionality for GCONPROD, GCONINJE and GEFAC - currently
the only group keywords that should accept wildcards.
2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
427833b089 Add INVALID_WELLS to WECON & WEFAC 2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
ba573b5834 Add INVALID_WELLS to WELOPEN & WELTARG 2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
6a8e7a9a05 Add INVALID_WELL context to WPOLYMER & WSOLVENT 2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
580a64563f Add INVALID_WELL context to W(INJ)TEMP
Handle well template (e.g. W*) in the .DATA file for WTEMP and WINJTEMP
and add INVALID_WELL_CONTEXT
2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
e6b57fa422 Handle well template for COMPDAT
Allow well template (e.g 'W*') when defining completion records in the
.DATA file under COMPDAT
2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
ba107498a1 Add INVALID_WELL context for WCONINJ(E/H) 2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
183fd4eabb Add INVALID_WELL context for WCONPROD
Handle invalid wellpatterns for WCONPROD.

Given a deck with:

----
WELSPECS
  'PROD' 'G1'  10 10 8400 'OIL' /
/
COMPDAT
  'PROD' 10 10 3 3 'OPEN' 1* 1* 0.5 /
/
WCONPROD
  'SOMETHINGELSE' 'OPEN' 'ORAT' 20000 4* 1000 /
 /
----

OPM will now by default abort and inform the user that no well match
"SOMETHINGELSE".
2018-05-14 09:26:22 +02:00
Lars Petter Øren Hauge
f2cb5fe9de Add INVALID_WELL parse context
Handle invalid wellpatterns for COMPDAT.

Given a deck with:

----
WELSPECS
  'PROD' 'G1'  10 10 8400 'OIL' /
/
COMPDAT
  'SOMETHINGELSE' 10 10 3 3 'OPEN' 1* 1* 0.5 /
/
----

OPM will now by default abort and inform the user that no well match
"SOMETHINGELSE".
2018-05-14 09:26:21 +02:00
Lars Petter Øren Hauge
5dd34b1308 Removed dead code in from::COMPDAT
The "prev_compls" was initialized with preadded completions, such that
new records in COMPDAT would append in the correct order.

However the order is maintained without the need of including the check
in Completion::fromCOMPDAT.

Tests exist in ScheduleTests.cpp to verify completion order for both
TRACK and INPUT mode.

Completion order will affect the print in RFT data. A simple case which
will have changes for completion order was simulated and the output was
verified (with both INPUT and TRACK order).
2018-05-14 09:26:21 +02:00
Odd
8cfd477d3e Added implementation of serialize_SCON
The value 'Kh' (effective for connection) is not directly available from
the Connection interface.  For the time being, a dummy value is used.

Computing the correct value for 'Kh' involves using the connection
transmissibility factor (avaliable), the well diameter (available), as
well as information about grid geometry (not immediately available), well
angle through connection cell (not immediately available, as far as I
can tell), and possibly a conversion factor.
2018-05-14 09:26:03 +02:00
Atgeirr Flø Rasmussen
bfb6553828
Merge pull request #399 from atgeirr/Oddan-odd-devel
Added new implementation of serialize_ICON
2018-05-14 07:39:39 +02:00
Atgeirr Flø Rasmussen
49edd1e54d Minor fixes from review.
In particular:
 - replace tabs -> spaces,
 - use the term "lookup_step",
 - document interface better,
 - use correct path (no path...) for test deck.
2018-05-13 22:48:14 +02:00
Odd Andersen
6b78115229 Added new implementation of serialize_ICON
The new function has been added to the file WriteRestartHelpers, and
intended to take over for the local function 'serialize_ICON' in
`restartIO.cpp` when `restartIO::save()` is to be updated.  The purpose
of the new implementation is to be compatible with Eclipse.
2018-05-13 21:43:35 +02:00