Joakim Hove
0b8adcbee3
Merge pull request #555 from joakim-hove/minor
...
Minor
2018-11-08 12:25:17 +01:00
Arne Morten Kvarving
ff8ab1c1dc
changed: mark constructor explicit
2018-11-07 09:43:14 +01:00
Joakim Hove
9d45632628
Make Eclipse month indices available for use outside TimeMap
2018-11-07 09:25:02 +01:00
Joakim Hove
089b58f101
Merge pull request #547 from totto82/productivity_index
...
Add support for output of well productivity index
2018-11-06 09:38:55 +01:00
Tor Harald Sandve
95179f393c
Fix vappars and dr[sv]dt logic
...
The simulator should either use VAPPERS or dr[sv]dt, both the
combination drsdt and drvdt is allowed.
2018-11-05 13:38:42 +01:00
Tor Harald Sandve
2d5d0953ee
Add support for output of well productivity index
2018-11-02 15:57:21 +01:00
Bård Skaflestad
9df3bea857
Simulation Config: Add Predicate for Thermal Simulations
...
This commit introduces a new predicate,
bool SimulationConfig::isThermal() const
that determines whether or not either of the keywords
TEMP or THERMAL
are specified in the RUNSPEC section of a simulation run.
2018-11-02 13:45:50 +01:00
Joakim Hove
68e6926355
Add Actions container and ActionContext for eval
2018-11-02 10:55:29 +01:00
Joakim Hove
b8c5d8c129
Add whitelist of keywords allowed in ACTIONX block
2018-10-27 15:59:32 +02:00
Joakim Hove
e7660b0613
White space change
2018-10-27 15:59:32 +02:00
Joakim Hove
7ebadbb055
Merge pull request #535 from blattms/support-editnnc
...
Added support for honoring keyword EDITNNC during deck parsing.
2018-10-25 15:49:06 +02:00
Bård Skaflestad
8fbb93497a
Summary: Include <map> in Public Interface
...
Needed to honour requirements of class Summary in isolation. While
here, also move <unordered_map> to implementation file.
2018-10-25 09:09:32 +02:00
Bård Skaflestad
47141dfabf
data::Wells: Remove a few blank lines
...
Suggested by: [at]joakim-hove
2018-10-25 09:09:31 +02:00
Jostein Alvestad
fe060c7f48
Changes to contribute to write segment data to summary file
2018-10-25 09:09:31 +02:00
Bård Skaflestad
80154e8f5f
Serialization: Add Initial Support for Segment Information
...
This commit extends Opm::data::Wells to include a set of output
vectors for well segment information. At present we define output
structures for segment rates and segment pressures. The immediate
use case is properly assigning restart vector items RSEG[8 .. 11],
but these same values are also usable for outputting the summary
vectors SPR, SOFR, SGFR, and SWFR. Future expansion is likely.
2018-10-25 09:09:31 +02:00
Joakim Hove
ae0cb3e5ad
Merge pull request #528 from totto82/minpvv
...
Add support for minpvv
2018-10-25 09:04:32 +02:00
Joakim Hove
133f89198f
Merge pull request #507 from WesselDeZeeuw/aquifet
...
Aquifet parser implementation
2018-10-25 09:01:29 +02:00
Joakim Hove
e356a16ab2
Merge pull request #462 from joakim-hove/tranx-modifier
...
Add deckAssigned() method to GridProperty + default construct TRAN
2018-10-24 10:36:19 +02:00
Markus Blatt
5f620f7451
Added support for honoring keyword EDITNNC during deck parsing.
...
If the keyword is present then the transimissibilities of the corresponding NNC
entries will be scalled with the factor specified via EDITNNC. Multiple entries
for the same cell pairs are allowed and will result in multiple scalings.
Cell pairs specified in EDITNNC that are not present in NNC are silently ignored.
2018-10-18 15:26:31 +02:00
Joakim Hove
c76ee877aa
Update GDFILE handling to account for out-of-cwd
...
Make sure path to GDFILE is correct
2018-10-18 10:47:38 +02:00
Joakim Hove
fd36bf88fb
Add function Deck::makeDeckPath()
2018-10-18 10:47:37 +02:00
Joakim Hove
24bd410313
Merge pull request #521 from joakim-hove/input-sim
...
Add skeleton for input simulator
2018-10-17 17:28:25 +02:00
Joakim Hove
984a308e24
Add skeleton for mock simulator
2018-10-17 17:21:11 +02:00
Joakim Hove
6ea7a1796d
Merge pull request #530 from joakim-hove/GDFILE
...
Gdfile
2018-10-17 15:01:57 +02:00
Joakim Hove
ee0d256a12
Add method seconds() to Schedule and TimeMap
2018-10-17 12:09:45 +02:00
Joakim Hove
42d7587e1b
Add size() method to the Schedule class
2018-10-17 06:47:57 +02:00
Joakim Hove
1190260d7d
Add support for GDFILE keyword
2018-10-16 00:21:35 +02:00
Joakim Hove
5b8882d6f0
Add methods save() and addNNC() to EclipseGrid
2018-10-16 00:20:09 +02:00
Joakim Hove
f8e711246f
GridDims class can initialize from binary file
2018-10-16 00:14:33 +02:00
Joakim Hove
5283611695
Add static method for conversion between unit system enums
2018-10-16 00:12:53 +02:00
Tor Harald Sandve
ca8e2f279b
Add support for minpvv
2018-10-15 13:35:04 +02:00
Joakim Hove
7279fd5ea8
Add deckAssigned() method to GridProperty + default construct TRAN
...
The deckAssigned() query method is added to the GridProperty class to enable the
simulator to check whether a property has been explicitly assigned in the deck
or autocreated through the use of some EDIT operators like MULTIPLY.
2018-10-15 10:29:01 +02:00
WesselZ
7b1595d0b2
Modification of the Aquifetp header and class files for the handling the default value of p0.
...
Small Changes to unit test of Aquifetp
2018-10-15 09:28:39 +02:00
Joakim Hove
72b39e513a
Merge pull request #515 from joakim-hove/parsecontext-ignore-kw
...
Ability to ignore named keywords in ParseContext
2018-10-09 17:06:33 +02:00
WesselZ
04a9e710d5
Added Improved Header Files and Class files, without the ecl dependency.
...
Added Testfile for fetkovich implementation
2018-10-09 16:42:39 +02:00
Joakim Hove
c938765224
Ability to ignore named keywords in ParseContext
2018-10-08 18:07:21 +02:00
Atgeirr Flø Rasmussen
a37625b2cf
Use non-const string type in map.
...
Using const string as key type instead of plain string fails with libc++,
the standard library implementation used by clang. The libc++ implementation
assumes that map keys can be copied, and the standard requires map keys to be
copyable.
Using const string as a value also fails with clang, I am not 100% sure why.
It does severely restrict how you can interact with the container, and seems to
make it noncopyable. The error is reported from DynamicState<GroupTree>::update(),
the std::fill() call.
2018-10-08 11:02:22 +02:00
Bård Skaflestad
58a5a4e371
WellConnections: Initialise Head in Copy Constructor
...
This commit ensures that the data members 'headI' and 'headJ' are
properly initialised in the constructor
WellConnections(const WellConnections&, const EclipseGrid&)
which powers the implementation of
Well::getActiveConnections()
2018-10-02 15:59:04 +02:00
Jostein Alvestad
3f94b580a2
Added changes to improve treatment of multi segment wells in Eclipse Restart
...
Added flowing well bottom hole pressure to item[8] and [39] plus adjusted item[9]
2018-09-28 09:48:03 +02:00
Kai Bao
8721385104
not converting the unit of ALQ value in VFPPROD
...
since the ALQ value in WCON* keywords are not converted based on the
unit of ALQ in the VFPPROD keyword. Easiest fix is not to convert either
of them.
2018-09-26 13:01:29 +02:00
Jostein Alvestad
ef6e0b084d
Corrected merge conflicts with upstream master
...
Write cumulative production / injection only in eclipse compatible mode
2018-09-19 16:02:17 +02:00
Bård Skaflestad
980f55271f
Connection Data: Write Flow Rates to XCON
...
This commit adds a simple facility for outputting surface rates of
the oil, gas, and water components for each well connection, as well
as total reservoir voidage rate per well connection if available in
the data::Connection object.
2018-09-19 16:02:16 +02:00
Bård Skaflestad
335b070564
Aggregate Connection Data: Use Named Indices
...
This commit introduces a new set of named indices pertaining to the
*CON vectors (ICON, SCON, XCON). Use these where appropriate in
ICON and SCON.
2018-09-19 16:02:15 +02:00
Jostein Alvestad
9d32793796
Added improvements to connection data ICON (account for inactive cells) etc.
2018-09-19 16:02:12 +02:00
Jostein Alvestad
409a497396
Added corrections to code to generate Eclipse compatible Restart file: i) two changes to intehead, [49] and [50] -> 1 (based on tests), ii) corrections to ISEG mainly for multisegmented wells and iii) change to ICON to allow for default saturation table implying ICON[6] and [9] = 0
2018-09-19 16:02:09 +02:00
Jostein Alvestad
4f9f952e77
Added corrections to SWEL and ISEG plus InteHead[179] to 146
2018-09-19 16:02:08 +02:00
Jostein Alvestad
6ea83724d6
corrected code for write of unformatted restart
2018-09-19 16:02:07 +02:00
Jostein Alvestad
0a96fc012e
Corrected code for differences in buffer size for read from restart files
2018-09-19 16:02:06 +02:00
Jostein Alvestad
17966d098b
Added unit conversion for MSW data pluss correctin for complum
2018-09-19 16:02:05 +02:00
Jostein Alvestad
9d0604ad99
additions to handle segmented wells for ICON and SCON
2018-09-19 16:02:05 +02:00