Williham Williham Totland
c43600337b
Throws exception with nesting, and generalises tests to account for same.
2020-10-05 11:06:19 +02:00
Joakim Hove
5444eade2f
Use std::shared_ptr<Python> for Python argument in Schedule
2020-03-31 10:26:55 +02:00
Joakim Hove
50fb51d56e
Add Python arg to Schedule constructor
2020-03-27 12:43:18 +01:00
Joakim Hove
562136772a
Merge pull request #1638 from joakim-hove/remove-stale-boost-include
...
Remove stale boost includes
2020-03-27 10:49:52 +01:00
Joakim Hove
39eb327551
Remove stale boost includes
2020-03-25 18:18:25 +01:00
Williham Williham Totland
6970158f7f
Makes the return value of Opm::Group::flow_group/::control_group optional.
2020-03-20 14:08:03 +01:00
Williham Totland
13e838d171
Separates Opm::Group::parent() for the extended network model
...
In order to support the extended network model going forwards, the method Opm::Group::parent() is split in the API into two new methods, Opm::Group::control_group() and Opm::Group::flow_group(). These methods give the names of the parent node in the group control hierarchy and network structure, respectively.
While for the standard network model these two values will be the same (and the same as ::parent()), code that presently calls ::parent() should be revisited with an eye to the question of which parent group is desired.
2020-03-06 14:38:38 +01:00
Joakim Hove
0b2dbf7fc2
GroupInjection is a map over phases + implement topup_phase
2020-02-14 09:30:58 +01:00
Bård Skaflestad
19ecc3d30e
Consider Active Phases When Initializing Satfunc Endpoints
...
This commit passes the run's notion of its active phases, an object
of type Opm::Phases, through to the initialisation layer for the
saturation functions' scaling properties. In particular, this
allows us to discriminate between the phases and to not index into
tables or properties that would not be appropriate (e.g., maximum
gas saturation (SGU) in a simulation run without active gas).
Moreover, we now have enough information to know to look for SOF2 in
two-phase run using family II saturation function keywords. These
changes are necessary in order to extend Flow's support for the
FILLEPS output request to two-phase runs.
2020-01-29 16:34:15 +01:00
Joakim Hove
ecb5fce19b
Only active cells ( #1298 )
...
Use FieldProps implementation for 3D properties
2020-01-13 15:46:06 +01:00
Joakim Hove
b7cebb1907
Refactored the handling of BHP / THP
2020-01-06 15:28:04 +01:00
Joakim Hove
198b208258
Test use of FieldPropsManager in WellConnections
2019-11-29 16:42:29 +01:00
Tor Harald Sandve
5d28ff7d24
store well and group event in same map
2019-11-27 08:58:57 +01:00
Joakim Hove
613ec70dab
Rename Well2 -> Well and Group2 -> Group
2019-11-13 23:19:26 +01:00
Tor Harald Sandve
64f4919085
Add support for item 11 and 12 in GCONINJE
2019-11-01 13:15:52 +01:00
Joakim Hove
ff69737b99
Add start_time argument to SummaryState
2019-09-19 22:09:15 +02:00
Joakim Hove
8553bbf326
Remove ScheduleEnum files
2019-09-04 14:49:12 +02:00
Joakim Hove
7bdd294ec5
Refactor Well GuideRateTarget enum
2019-09-04 14:49:12 +02:00
Joakim Hove
e026660c80
Move / refactor Group production control enum
2019-09-04 14:49:12 +02:00
Joakim Hove
9d442d3d4f
Refactor Group injection enum
2019-09-04 14:49:12 +02:00
Joakim Hove
a449636dde
Enum refactor EconLimits
2019-09-04 14:49:12 +02:00
Joakim Hove
9e6f8bd1c1
Move well production control enum to Well2
2019-09-04 14:49:12 +02:00
Joakim Hove
dcf4347aee
Moved connection state enum to Connection class
2019-09-04 14:46:58 +02:00
Joakim Hove
82accba45b
Move injection control enum to Well2 class
2019-09-04 14:46:58 +02:00
Joakim Hove
a7c5483b0f
Move Well status enum to Well2 class
2019-09-04 14:46:58 +02:00
Atgeirr Flø Rasmussen
d20c58da07
Make two headers public again.
2019-08-13 11:56:17 +02:00
Joakim Hove
6016cd43b3
Evaluate UDA variuables for group rates
2019-08-08 06:52:48 +02:00
Joakim Hove
7c856f681d
Use new classes Group2 and GTNode
2019-08-06 22:59:16 +02:00
Joakim Hove
2d66d15d96
Refactor GroupTree - create on demand
2019-07-30 09:37:55 +02:00
Joakim Hove
88afb50d09
Merge pull request #881 from joakim-hove/group2
...
WIP: Group2
2019-07-06 07:30:25 +02:00
Atgeirr Flø Rasmussen
5f8d24c431
Add tests for WFOAM.
2019-07-03 12:39:35 +02:00
Joakim Hove
fe83324746
Moved Group related files to Group/ folder in filesystem
2019-07-03 11:15:51 +02:00
Joakim Hove
6eea66a332
Use UDAValue for rates and pressure limits in WCONPROD & WCONINJE
2019-06-24 12:54:07 +02:00
Joakim Hove
cbc7394d60
Use UDA for WCONPROD::RESV
2019-06-24 08:29:14 +02:00
Joakim Hove
01db100439
WellProductionProperties and WellInjectionProperties are private
2019-05-24 15:31:27 +02:00
Joakim Hove
94b160258e
Remove old well implementation
2019-05-22 21:44:50 +02:00
Joakim Hove
1c82a8ad39
Add alternative well implementation Well2
2019-05-09 09:20:23 +02:00
Joakim Hove
a9bb73559d
Use RFTConfig instead of per well RFT configuration
2019-04-03 19:46:08 +02:00
Joakim Hove
858e06044e
Move well specific event logging from Well to Schedule
2019-03-21 13:08:25 +01:00
Joakim Hove
1d402bdca3
Add PERM values to testdata
2019-03-20 15:10:08 +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
Kai Bao
b349b3b217
updating liquid rate for WCONHIST
2018-12-03 16:40:42 +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
Joakim Hove
4a5b71d8c1
Include Peaceman calculation in Connection class
...
- The calculation of well connection transmissibility CF and effective
permeability is calculated.
- The Connection objects are immutable; should never be updated.
- The properties of the Connection class are just plain properties, have
removed getter methods and the use of Value<double>.
2018-09-09 11:16:42 +02:00
Joakim Hove
9d16cc8ec4
New implementation of WELOPEN
2018-06-26 12:35:30 +02:00
Joakim Hove
dc318f731f
Rename ConnectionSet > WellConnections
2018-06-20 11:35:11 +02:00
Joakim Hove
3975db2ff3
Rename CompletionSet -> ConnectionSet
2018-06-11 14:03:32 +02:00
Kai Bao
e76df698c6
changing the counting of the schecule in SCHEDULE_WELLS2
...
basically, all the control keywords should be combined with the
TSTEP/DATES afterwards as a complete report step.
2018-02-14 09:09:27 +01:00
Kai Bao
3c8c65b65c
not turning of injector because of defaulted rates.
...
it must be a limit to turn it off. The old implementation make it
impossible to have a injector with only bhp control.
2018-02-12 12:27:44 +01:00