Markus Blatt
f3a4408172
Added test whether parser throws for ms well without COMPSEGS keyword.
2022-12-20 11:11:24 +01:00
Markus Blatt
fd600582f5
Added missig COMPSEGS keywords for multisegment well tests.
...
No that we are stricter this is needed as otherwise the tests may
fail.
Due to my laziness I descreased the number of connection for the wells.
2022-12-20 10:55:49 +01:00
Bård Skaflestad
4326b8c78e
Add XY Coordinates to Segment's Node
...
These are not used in the simulation, but needed/useful for the SEG
option of the WRFTPLT keyword.
2022-10-04 17:42:38 +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
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
Daniel
b0f757eb50
Replace Deck::getKeyword(std::string) with operator[std::string]
2021-11-23 14:00:38 +01:00
Daniel
45dd77938b
Removed constructor from ScheduleGrid, added perm prop to tests
...
Changed (BASE_SIM.DATA, BASE_SIM_THPRES.DATA, RESTART_SIM.DATA), testblackoilstate3.DATA and testrft.DATA since they affect the tests in test_Restart.cpp, test_restartwellinfo.cpp and test_RFT.cpp respectively.
2021-11-04 11:29:12 +01:00
Williham Williham Totland
4134b98701
Introduce class SchduleGrid to be used as grid by Schedule class
2021-10-22 08:35:17 +02:00
Joakim Hove
597c7017e1
Allow for multiple WELSEGS keywords for the same well
2021-08-03 18:26:07 +02:00
Arne Morten Kvarving
c407618375
Schedule: forward types to avoid includes
...
move constructor definition to compile unit
to avoid symbol usage in header
2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
72ede7df50
changed: remove unnecessary boost includes
2021-04-23 11:27:38 +02:00
Joakim Hove
b38d5166ce
Use std::optional<double> for ICD maximum flow rate and scaling
2021-03-04 19:28:48 +01:00
Tor Harald Sandve
434b791442
Adding connection length and effective radius to the connection
2021-01-25 14:10:06 +01:00
Håvard Berland
c07bf30bcf
Use consistent names in WSEG* keywords
...
WSEGAICD and WSEGSICD used SEG1 and SEG2, while all
other WSEG* keywords use SEGMENT1 and SEGMENT2 for the same
item.
2021-01-05 15:00:50 +01:00
Joakim Hove
0ab50fbc95
Merge pull request #1977 from wito/test-warning-noise-fix
...
Test Compilation Warning Noise Fix
2020-10-02 07:56:14 +02:00
Joakim Hove
0512ab88b4
ParseContext will throw OpmInputError
2020-09-29 15:37:14 +02:00
Williham Williham Totland
6d2f8cca5c
Adds type information to integer literals.
2020-09-29 13:54:21 +02:00
Arne Morten Kvarving
d7bdb448f5
add some trivial checks to avoid unused variable warnings
2020-06-19 09:43:48 +02:00
Joakim Hove
224911bd10
Add implementation for autonomous ICD: AutoICD
2020-06-11 11:38:29 +02:00
Joakim Hove
afd5c3153a
Use value based semantics for Segment -> valve
2020-06-10 06:35:03 +02:00
Joakim Hove
b1250c2f7a
Use std::variant<> to hold ICD alternatives
2020-06-10 06:35:03 +02:00
Joakim Hove
6b468787c8
Refactor COMPSEGS handling
...
When handling the COMPSEGS keyword the connections are updated with segment
number and the segments are updated with total perforated length. The new
Compsegs::processCOMPSEGS() function will create new updated copies of both
WellSegments and WellConnections.
2020-06-04 16:57:40 +02:00
Joakim Hove
7df0577a58
Rename SpiralICD -> SICD
2020-05-28 11:03:24 +02:00
Joakim Hove
8b70e42e0f
Connection - Segment interaction implemented with optional pair
2020-04-30 14:54:21 +02:00
Joakim Hove
e7f750da83
Add method WellSegments::branches()
2020-04-22 17:03:03 +02:00
Joakim Hove
48969b8b77
Add method WellSegments::branchSegments()
2020-04-22 12:07:26 +02:00
Joakim Hove
dd0041f8ee
Add method WellSegments::segmentDepthChange()
2020-04-22 10:21:51 +02:00
Joakim Hove
f87369713b
Add global_index to Connections
2020-03-19 22:14:06 +01:00
Joakim Hove
96d2cd59b3
Move Connection::Order member from Well to WellConnections
2020-03-18 14:28:53 +01:00
Joakim Hove
aed8c78af5
Move RestartConfig from EclipseState to Schedule
2020-02-19 12:35:07 +01:00
Joakim Hove
bd688edfde
Wellsegments are created with constructor
2020-02-13 11:03:14 +01:00
Joakim Hove
9bed25f035
Use common ICDStatus class for both Valve and SpiralICD
2020-02-12 15:09:26 +01:00
Bård Skaflestad
ebfa768fd2
Segment: Make Type Predicates Free Functions
...
That way, we won't have to pollute the Segment API when adding new
segment types. While here, also reduce header file coupling by
forward-declaring SpiralICD and Valve in Segment.hpp.
2019-12-17 09:14:17 +01:00
Bård Skaflestad
50181c279d
Add Means of Tracking Origin of Connection's CTF
...
This commit adds a new type (Connection::CTFKind), and new data
member of this type (Connection::m_ctfkin, initialised in the
constructor) that tracks the source of the connection's
transmissibility factor (Connection::m_CF). The primary user of
this information is the restart file writing code which needs to
know if the connection transmissbility factor is assigned from the
input file (e.g., directly from the COMPDAT keyword) or if the value
is calculated from other information.
Add a convenience predicate function,
Connection::ctfAssignedFromInput
that returns true if the connection transmissibility factor source
indeed is a direct assignment in the COMPDAT keyword.
Update Connection constructor callers accordingly.
2019-12-15 22:43:35 +01:00
Kai Bao
aff2baf9f2
adding test for WSEGVALV
2019-12-11 14:38:43 +01:00
Kai Bao
973fe9823b
adapting and fix the code after rebasing for WSEGSICD
2019-12-05 11:48:59 +01:00
Kai Bao
fea4c4c8fa
adding support for WSEGSICD
2019-12-05 11:48:59 +01:00
Bård Skaflestad
3b9ea5dcd8
Consume Owning Raw Pointers in Smart Pointers
...
This fixes several memory leaks identified by Address Sanitizer.
2019-10-26 18:17:19 -05:00
Joakim Hove
8553bbf326
Remove ScheduleEnum files
2019-09-04 14:49:12 +02:00
Joakim Hove
15e192876e
Move direction enum to Connection class
2019-09-04 14:46:58 +02:00
Joakim Hove
dcf4347aee
Moved connection state enum to Connection class
2019-09-04 14:46:58 +02:00
Kai Bao
01c0820d4c
addressing reviewing comments from PR#720
...
and adding more tests
2019-05-24 10:19:50 +02:00
Kai Bao
d11d26a2f1
adding test WrongDistanceCOMPSEGS
2019-05-24 10:19:50 +02:00
Kai Bao
584defebe0
ParseContext is used to handle the exceptions when parsing COMPSEGS
2019-05-24 10:19:50 +02:00
Joakim Hove
1c82a8ad39
Add alternative well implementation Well2
2019-05-09 09:20:23 +02:00
Joakim Hove
eb15695ed0
Removed well property total number of connections
...
For the output code the total number of connections entered in the input deck is
required, we therefor keep track of the number of connections filtered out due
to inactive cells - and return the total in WellConnection::inputSize()
2019-03-18 15:44:18 +01:00
Joakim Hove
04d42c2f4e
Move well and well related files to Well/ subfolder
2019-03-08 07:15:49 +01:00
Joakim Hove
2cd6fa2f49
Add overloads without ParseContext and ErrorGuard - update all tests
2019-01-04 13:59:28 +01:00
Tor Harald Sandve
2d5d0953ee
Add support for output of well productivity index
2018-11-02 15:57:21 +01:00