542 Commits

Author SHA1 Message Date
Arne Morten Kvarving
1c967f6d70 data::CarterTracyData: add serializer support 2022-09-05 15:15:06 +02:00
Arne Morten Kvarving
1a9e6b3810 data::FetkovichData: add serializer support 2022-09-05 15:08:46 +02:00
Arne Morten Kvarving
bc6d5e38ce data::GroupAndNetworkValues: add serializer support 2022-09-05 14:12:16 +02:00
Bård Skaflestad
231b71a29c Merge pull request #3123 from akva2/groupdata_serialize
data::GroupData: add serializer support
2022-09-05 14:09:21 +02:00
Arne Morten Kvarving
645b3b3eaa data::Well: add serializer support 2022-09-05 13:57:18 +02:00
Arne Morten Kvarving
d68e254811 fixed: missing dynamicStatus in comparison operator 2022-09-05 13:57:18 +02:00
Bård Skaflestad
fbff174cd8 Merge pull request #3131 from akva2/segment_serialize
data::Segment: add serializer support
2022-09-05 13:19:00 +02:00
Arne Morten Kvarving
cb5475d178 data::GroupData: add serializer support 2022-09-05 13:02:47 +02:00
Bård Skaflestad
b05cba5315 Merge pull request #3122 from akva2/groupguiderates_serialize
data::GroupGuideRates: add serializer support
2022-09-05 13:01:15 +02:00
Arne Morten Kvarving
3d36bbcb9c data::Segment: add serializer support 2022-09-05 12:59:17 +02:00
Bård Skaflestad
a90b202b87 Merge pull request #3132 from akva2/currentcontrol_serialize
data::CurrentControl: add serializer support
2022-09-05 12:59:09 +02:00
Arne Morten Kvarving
f4af5fd947 data::Connection: add serializer support 2022-09-05 12:22:25 +02:00
Arne Morten Kvarving
ea8f64cb87 data::GroupGuideRates: add serializer support 2022-09-05 12:17:50 +02:00
Bård Skaflestad
524752da63 Merge pull request #3130 from akva2/segmentpressures_serialize
data::SegmentPressures: add serializer support
2022-09-05 12:15:07 +02:00
Bård Skaflestad
6ac5c8127d Merge pull request #3128 from akva2/rates_serialize
data::Rates: add serializer support
2022-09-05 12:14:33 +02:00
Bård Skaflestad
848942317e Merge pull request #3127 from akva2/solution_serialize
data::Solution: add serializer support
2022-09-05 12:14:05 +02:00
Bård Skaflestad
87a736ef84 Merge pull request #3121 from akva2/guideratevalue_serialize
data::GuideRateValue: add serializer support
2022-09-05 12:13:34 +02:00
Arne Morten Kvarving
88d3d86dd6 data::CurrentControl: add serializer support 2022-09-05 11:47:20 +02:00
Bård Skaflestad
4faa9634a0 Merge pull request #3126 from akva2/restartkey_serialize
RestartKey: add serializer support
2022-09-05 11:11:35 +02:00
Arne Morten Kvarving
efe759676b data::SegmentPressures: add serializer support 2022-09-05 11:09:25 +02:00
Arne Morten Kvarving
e3a961df2b data::Rates: add serializer support 2022-09-05 10:35:51 +02:00
Arne Morten Kvarving
3abfddd088 data::Solution: add serializer support 2022-09-05 10:27:08 +02:00
Arne Morten Kvarving
7670a0c248 RestartKey: add serializer support 2022-09-05 10:19:26 +02:00
Arne Morten Kvarving
c95cae5c63 data::NodeData: add serializer support 2022-09-05 09:57:58 +02:00
Arne Morten Kvarving
883e701a13 data::GuideRateValue: add serializer support 2022-09-05 09:15:20 +02:00
Arne Morten Kvarving
d5830c0aa0 data::GroupConstraints: add serializer support 2022-09-02 18:12:09 +02:00
Arne Morten Kvarving
a21680cc96 data::CellData: add serializer support 2022-09-02 15:52:11 +02:00
Atgeirr Flø Rasmussen
2f7f360563 Bugfix: compare trans_factor in Connection::operator==(). 2022-08-24 14:50:39 +02:00
Atgeirr Flø Rasmussen
8754a59d38 Add friend declarations to enable writing out of class packing functions. 2022-08-24 14:50:39 +02:00
Atgeirr Flø Rasmussen
f96290e1df Add <cstddef> include for std::size_t. 2022-07-31 21:24:30 +02:00
Arne Morten Kvarving
ec57a4d10b changed: remove include of Schedule.hpp in header
and deal with the consequences
2022-07-27 17:13:45 +02:00
Markus Blatt
92ebef3bc9 Merge pull request #3084 from akva2/cleanup_stream_includes
clean up stream includes
2022-07-27 17:08:28 +02:00
Arne Morten Kvarving
068bff1ebc clean up stream includes 2022-07-27 16:05:01 +02:00
Arne Morten Kvarving
ef6d448077 changed: remove include of EclipseState.hpp in header
and deal with the consequences
2022-07-26 16:03:52 +02:00
Torbjørn Skille
d34910c27d Minimum time interval between update of ESMRY file
The ESMRY file need a complete rewrite every time this is being updated.
This will makes the file more available for reading by other processes.
2022-06-02 14:10:14 +02:00
Bård Skaflestad
8ff84920ed Increase Compatibility of NETBALAN Restart Output
The current Network::Balance class applies default values a little
too eagerly and this leads to problems for restarted simulation.  We
must take care to preserve the "did this item have a value" state
also in the restart file lest interactions with TUNING be lost
there.

To this end, make the minimum timestep size for network balancing be
an std::optional<> and use std::nullopt to represent "no value set"
in the input file.  While here, also preserve negative balancing
intervals exactly instead of replacing these values by zero.
2022-05-27 17:09:23 +02:00
Bård Skaflestad
b4cebad6a9 Address Review Comments
In particular, add more unit testing and give names to a number of
index constants.

Thanks to [at]blattms for reviewing the initial version of this
patch.
2022-05-24 18:21:41 +02:00
Bård Skaflestad
b36f415a96 Identify Additional IWEL and SWEL Items
In particular, add entries from WECON, WGRUPCON and, WVFPEXP and fix
an incorrect item attribution for the WTEST 'reason' parameter.

Thanks to [at]tskille for invaluable assistance in identify these
items.
2022-05-24 12:06:57 +02:00
Paul Egberts
7956c2d7da added vaporized_water rate type 2022-04-08 21:07:45 +02:00
Bård Skaflestad
920382179e Always Output All Well Flow Rates to XWEL
Additionally, items 36..38 appear to be copies of items 1..3, so
preserve this behaviour for increased compatibility.
2022-03-24 16:10:21 +01:00
Bård Skaflestad
819571a8db Make Summary Evaluation API Aware of Inter-Region Flows
This commit adds a new parameter, interreg_flows, to the eval()
member function of class Opm::Summary.  This is in preparation of
adding summary file output of inter-region flow rates and
cumulatives-e.g., the ROFT summary vectors.
2022-02-16 23:28:46 +01:00
Bård Skaflestad
68975be966 Add Accumulating Mapping Structure for Inter-Region Flows
This commit introduces a new helper facility,

    data::InterRegFlowMap

that knows how to interpret region IDs.  It is a simple wrapper
around a common CSR representation of (source, destination) region
ID pairs with the additional feature that the element type of the
connection is a linear sequence values of arithmetic type.  We've
initially elected to make this sequence out of 'float' in order to
conserve memory since we expect to do little arithmetic to the
sequence itself outside of compression and parallel communication.

Client code will be of two primary categories

  1. Producing side which inserts flow rates from individual
     connections, compresses the result when done, and communicates
     the results to one or more parallel I/O ranks

  2. Consuming side, typically on an I/O rank, which merges the
     contributions from multiple source ranks and extracts values
     pertaining inter-region flows for purpose of outputting time
     series data to a summary file.

The first case will create and populate 'FlowRates' and add these
into the container using the 'addConnection' function and finally
call 'compress' when complete.  Consumers will then use member
function 'getInterRegFlows' to extract a signed view of flow rate
values associated to a particular region ID pair (nullopt if no such
pair is registered).
2022-02-16 23:28:46 +01:00
Bård Skaflestad
7ef3d6c0b3 Add Protocol to Linearise Connection Flow Rates Into Subrange
This commit introduces a wrapper for a linear subrange of
consecutive elements of an arithmetic type that imposes an ordering
of the elements when treated as directional component surface flow
rates.  The wrapper distinguishes negative from positive flow rate
contributions and tracks those separately.  This is a building block
for accounting for the inter-region flows in a parallel context.
2022-02-16 23:28:46 +01:00
Bård Skaflestad
8a72cfce36 Save and Reload Free/Solution Gas/Oil Cumulatives in Restart
This commit ensures that the field, group, and well level cumulative
production curves of solution/free oil and gas are continuous in a
restarted simulation run.

Thanks to Torbjørn Skille for identifying the appropriate locations
in XGRP/XWEL for outputting these items.
2022-01-10 20:57:59 +01:00
Joakim Hove
0a59bd8f61 Filesystem rename EclipseState/Schedule/ Schedule/ 2022-01-02 14:32:14 +01:00
Joakim Hove
aede532b9a Filesystem rename parser/eclipse/ input/eclipse 2022-01-02 14:32:14 +01:00
Joakim Hove
ad420a2b02 Save guiderate injection settings for group injection 2021-12-20 09:19:49 +01:00
Bård Skaflestad
64e8ec3cfd Remove 'Execute' Permission From Source Files
These files just need to have read/write permissions on Linux/Unix.
2021-12-08 15:09:23 +01:00
Jostein Alvestad
556c21a254 changes to correct output of restart data for networks
corrections to intehead for netbalan data plus improvements createdoubhead

simplification of code due to changes in master

correction to default value for NETBALAN PRESSURE_CONVERGENCE_LIMIT
2021-11-24 13:27:18 +01:00
Joakim Hove
f5cc0da3ee Publish function numRSegElem 2021-11-23 07:53:14 +01:00