Bård Skaflestad
1179532cbb
Merge pull request #3509 from akva2/drop_ununsed_using
...
drop unused using statements
2021-09-06 16:34:51 +02:00
Bård Skaflestad
a8e8739feb
Merge pull request #3499 from blattms/fix-segfault-unknown-keyword-parallel
...
[bugfix] Prevent segmentation fault for unkown keywords in parallel.
2021-09-02 11:31:10 +02:00
Bård Skaflestad
98b74c7b12
Merge pull request #3497 from joakim-hove/improve-error-msg
...
Improve error message for invalid phase id
2021-09-01 21:21:21 +02:00
Bård Skaflestad
fcdb4c33ea
Merge pull request #3496 from goncalvesmachadoc/radial
...
add radial case to regression test
2021-09-01 12:14:22 +02:00
Bård Skaflestad
aba95a8263
Merge pull request #3493 from goncalvesmachadoc/fsip
...
output FSIP
2021-08-27 22:44:50 +02:00
Bård Skaflestad
21750a9eac
Merge pull request #3398 from goncalvesmachadoc/outputVolume
...
Add FIPRESV
2021-08-26 10:21:31 +02:00
Bård Skaflestad
36201c8871
Merge pull request #3489 from akva2/janitoring
...
avoid unused variable warning
2021-08-25 09:04:35 +02:00
Bård Skaflestad
725800cec7
Merge pull request #3488 from totto82/fixOnePhase
...
guards for one-phase flow
2021-08-24 12:20:52 +02:00
Bård Skaflestad
076c274352
Merge pull request #3485 from joakim-hove/single-well-state3
...
Single well state3
2021-08-23 13:47:35 +02:00
Bård Skaflestad
ec6f2a0723
Merge pull request #3475 from bska/activate-aquifer-restart-tests
...
Activate Sequential and Parallel Restart Tests With Aquifers
2021-08-22 14:12:42 +02:00
Bård Skaflestad
c1927b16a1
Activate Sequential and Parallel Restart Tests With Aquifers
...
We add one sequential and one parallel restart test for each aquifer
test model currently in the repository.
2021-08-20 09:10:14 +02:00
Bård Skaflestad
db963a4158
Merge pull request #3474 from bska/restart-load-aquifer
...
Load Analytic Aquifers From Restart File
2021-08-19 22:45:05 +02:00
Bård Skaflestad
ec264159b1
Load Analytical Aquifers from Restart File
...
This commit activates the restart support for analytical aquifers.
Analytic aquifer keywords do not exist in the input file for
restarted runs since the 'SOLUTION' section is empty apart from from
the 'RESTART' specification.
We use the 'RestartIO::Aquifer' class to load the information from
the restart file and then assign this information to the
AquiferConfig object hosted by the EclipseState. Loading Schedule
information from the restart file is still contingent on the
'--sched-restart=false' command line setting.
2021-08-19 21:07:05 +02:00
Bård Skaflestad
bbb0c7f263
Add Restart Support for Numerical Aquifers
...
We assign cumulative production only on the process that connects to
the reservoir model. As a tiny optimisation, we return 0.0 early
as the aquifer flux on processes that do not connect to the
reservoir.
2021-08-19 21:07:05 +02:00
Bård Skaflestad
a0af111bd8
Reduce Restarted Cumulative Volume if Aquifer Split
...
If, in a restarted run, a single analytical aquifer object happens
to connect to the reservoir model from multiple separate MPI
processes we must not attribute the full historic cumulative water
production from the aquifer to each process.
This commit makes a rough estimate based on the connection areas of
how much of the total cumulative production is attributable to each
process and reduces the restart value using that fraction. This is,
at best, a hack but it is currently the best we can do with the
information available in the restart files. Complete fidelity will
entail tracking cumulative production at the connection level.
2021-08-19 21:07:05 +02:00
Bård Skaflestad
913033b78f
Add Restart Support to Carter-Tracy Analytical Aquifer
2021-08-19 21:07:05 +02:00
Bård Skaflestad
fde505562d
Fetkovich: Load Water Density From Restart Source
...
Needed to get proper gravity contributions in restarted runs.
2021-08-19 21:07:05 +02:00
Bård Skaflestad
ed3ea9fa49
Don't Assign Restart Rs/Rv Unless O/G Both Active
...
This enables running two-phase oil/water restart cases.
2021-08-19 21:07:05 +02:00
Bård Skaflestad
fdf3ae83ac
Merge pull request #3482 from joakim-hove/store-action-result
...
Store the action result - when evaluated to true
2021-08-19 20:59:35 +02:00
Bård Skaflestad
bee8ee1c00
Merge pull request #3461 from GitPaean/RateConverter_singlewater_phase
...
consindering the situation of single water phase for RateConverter
Closes #3463 .
2021-08-19 10:52:01 +02:00
Bård Skaflestad
f11639fd57
Merge pull request #3467 from bska/report-siunits-guiderates
...
Report Guiderate Values in Strict SI Units
2021-08-17 17:34:55 +02:00
Bård Skaflestad
517db198f8
Report Guiderate Values in Strict SI Units
...
The output layer expects its input values to be strictly SI, but we
know that the GuideRate container's values are in output units.
2021-08-17 16:07:45 +02:00
Bård Skaflestad
6da47344a3
Record New Supported Keywords
...
We recently added support for
* RPTONLY
* RPTONLYO
* SUMTHIN
2021-08-17 10:29:36 +02:00
Bård Skaflestad
61d8ff3261
Merge pull request #3468 from akva2/improve_parallel_build
...
Improve parallel build
2021-08-16 14:31:04 +02:00
Bård Skaflestad
3d3e9cca1b
Merge pull request #3453 from tskille/write_lodsmry
...
Adding command line argument for writing esmry file
2021-08-12 21:45:07 +02:00
Bård Skaflestad
76b16d2699
Merge pull request #3455 from akva2/no_unused_macro
...
changed: get rid of OPM_UNUSED macro usages
2021-08-02 20:38:06 +02:00
Bård Skaflestad
48e1af8bbe
Address Static Code Analysis Warnings
...
In particular, don't print uninitialized memory (Reorder.cpp:left)
and don't capture objects ('prm') that aren't actually used. While
here, refactor the initialization of the MT19937 random number
generator. Constructing this object is too expensive to do for each
try, especially when we can just run the generator in place.
2021-07-13 11:37:57 +02:00
Bård Skaflestad
bf3216ed1e
Merge pull request #3441 from atgeirr/fix-bug-and-warning
...
Fix bug and warning
2021-07-08 18:26:30 +02:00
Bård Skaflestad
d637f5983e
Add Serialization Test for WriteRestartFileEvents
2021-07-07 14:30:46 +02:00
Bård Skaflestad
4c870373c9
Merge pull request #3438 from bska/remove-unsed-argument
...
Don't Pass 'log' Argument to 'Schedule::rst_file'
2021-07-07 14:29:45 +02:00
Bård Skaflestad
cec3098c3a
Don't Pass 'log' Argument to 'Schedule::rst_file'
...
The function does not use that argument.
2021-07-07 14:06:38 +02:00
Bård Skaflestad
2627a05c1e
Merge pull request #3433 from osae/tracerDefaultTrue
...
Default activation of tracer model.
2021-07-07 11:54:28 +02:00
Bård Skaflestad
e64574dfcf
Merge pull request #3430 from osae/tracerCrossFlow
...
Some regularisation of tracer rate reporting.
2021-07-07 00:32:53 +02:00
Bård Skaflestad
24db9d43e2
Merge pull request #3432 from akva2/code_to_data
...
changed: replace code with data in restart output
2021-07-06 20:34:12 +02:00
Bård Skaflestad
bbd8beb822
Merge pull request #3423 from joakim-hove/set-udq-state
...
Assemble UDQState external to the vanguard
2021-07-02 23:53:11 +02:00
Bård Skaflestad
71594c1311
Merge pull request #3411 from joakim-hove/restart-summary-only
...
Restart summary only
2021-07-02 23:48:18 +02:00
Bård Skaflestad
d5658e39db
Merge pull request #3422 from bska/glift-2p
...
Don't Access Phase Rates Unless Active
2021-06-30 19:31:51 +02:00
Bård Skaflestad
4392cc8713
Don't Access Phase Rates Unless Active
...
Fixes two-phase Oil/Water runs. Probably needs more refinement
later.
2021-06-30 17:21:52 +02:00
Bård Skaflestad
5ddac2e8d5
Merge pull request #3406 from GitPaean/new_fixing_guide_rate_update_together
...
[new attempt] updating the guide rates for all the wells and groups at the same time
2021-06-30 12:40:45 +02:00
Bård Skaflestad
92f636773e
Merge pull request #3407 from totto82/fixGaslift
...
Potentially reduce gaslift when under well is under group control
2021-06-30 12:12:22 +02:00
Bård Skaflestad
b79b08e86f
Merge pull request #3414 from OPMUSER/RUNSPEC-GRID
...
Add GRAVITY keyword to UnsupportedFlowKeywords
2021-06-28 13:26:43 +02:00
Bård Skaflestad
3fe922b27f
Merge pull request #3404 from OPMUSER/RUNSPEC-GRID
...
PartiallySupportedKeywords for RUNSPEC and GRID Sections
2021-06-27 17:04:20 +02:00
Bård Skaflestad
0ba2c9fa99
Merge pull request #3391 from Tongdongq/handle-exception-cusparse-test
...
Added exception handling to cusparse test
2021-06-25 21:52:17 +02:00
Bård Skaflestad
71de144399
Merge pull request #3239 from osae/tracer
...
Tracer summary curves, collect well rates.
2021-06-25 17:48:40 +02:00
Bård Skaflestad
5e883e562c
Chase Type Specific Aquifer Data API Change
...
This commit switches to using the new 'typeData' interface for
representing type-specific aquifer data items. In particular we use
the new 'typeData.is<>()' and 'typeData.get<>()' member functions to
query and access the data that is specific to each aquifer type
(e.g., Carter-Tracy or numerical).
While here, also expand the reported data items for numerical
aquifers to one initial pressure value for each aquifer cell. This
is needed for restart purposes.
2021-06-25 09:58:27 +02:00
Bård Skaflestad
704c33f08f
Chase Restart Loading API Change
2021-06-25 09:11:09 +02:00
Bård Skaflestad
c101ed10f4
Merge pull request #3389 from totto82/scaleGuideRates
...
scale guiderates from si
2021-06-23 16:53:12 +02:00
Bård Skaflestad
256f4a3291
Merge pull request #3337 from bska/protect-against-noconnection-wells
...
Don't Create Well Instance for Wells With No Connections
2021-06-22 23:31:24 +02:00
Bård Skaflestad
9394a93c68
Don't Create Well Instance for Wells With No Connections
...
This commit protects against Opm::Well instances for which the sets
of connections are empty. In those cases, do not put entries in the
well container as there is no influence on the systems of non-linear
equations.
2021-06-22 20:43:21 +02:00
Bård Skaflestad
801a34b88c
Merge pull request #3254 from bska/chase-aquifer-redefinition
...
Use Aquifer's Notion of Water Properties
2021-06-22 20:39:42 +02:00
Bård Skaflestad
e4dd8a91e8
Use Aquifer's Notion of Water Properties
...
This commit switches to using the analytic aquifer's intrinsic water
properties (i.e., the mass density and the viscosity), and to get
the time constant from the *_data structure instead of calculating
this value with separate logic. Note that this switches to using a
single density value for the aquifer instead of separate density
values for each aquifer connection.
If the aquifer's initial pressure is defaulted we still compute an
equilibrated initial pressure value. We then use the *_data
structure's 'finishInitialisation()' member function to derive the
aforementioned PVT properties.
Finally, report these values in the aquifer type-specific sub
structures of data::AquiferData for restart output purposes.
2021-06-22 14:47:56 +02:00
Bård Skaflestad
6d3da3d2e0
Report Pressure Dependent Pore Volume in PRT File
...
This commit distinguishes the reference condition pore volume from
the dynamic, pressure (and/or temperature) dependent pore volume
value. Previously we would report the latter as the 'PORV' value in
the "Field Totals" and "FIPNUM region" reports, but this commit
switches to reporting the former instead-mostly for compatibility.
We still report the dynamic pore volume value, but now we report
this on a line of its own, before the table, using one of the forms
Field total pressure dependent pore volume = 12345 RM3
FIPNUM report region 1 pressure dependent pore volume = 123 RM3
2021-06-22 12:00:56 +02:00
Bård Skaflestad
6f227f8177
Merge pull request #3400 from hakonhagland/glift_config
...
Add missing header file to GasLiftGroupInfo.cpp
2021-06-22 11:55:07 +02:00
Bård Skaflestad
57aa8d0384
Merge pull request #3393 from akva2/fix_dune2.7_warnings
...
quell dune2.7+ warning
2021-06-20 11:54:45 +02:00
Bård Skaflestad
441558726b
Merge pull request #3392 from bska/restart-test-dir-support
...
Add Support for 'DIR' Parameter in Restart Test Macro
2021-06-19 00:33:11 +02:00
Bård Skaflestad
5ecc6b8166
Add Support for 'DIR' Parameter in Restart Test Macro
...
This commit adds support for setting a non-default case directory
in the
add_test_compare_restarted_simulation
add_test_compare_parallel_restarted_simulation
wrapper functions. This, in turn, is helpful when creating
restarted cases for the aquifer models.
2021-06-18 21:19:57 +02:00
Bård Skaflestad
7a9c9bedea
Merge pull request #3390 from akva2/janitoring
...
fixed: do not assert conditions guaranteed by unsigned
2021-06-18 16:52:47 +02:00
Bård Skaflestad
d9f89b4c89
Merge pull request #3366 from totto82/scaleWellRatesAfterGroupSwitching
...
Scale well rates after group switching
2021-06-18 10:05:00 +02:00
Bård Skaflestad
dc7a6018f6
Merge pull request #3381 from akva2/boost_version_include
...
fixed: add missing include for boost version
2021-06-14 13:29:14 +02:00
Bård Skaflestad
faba44dd2e
Merge pull request #3368 from joakim-hove/del-timemap
...
Remove unused #include <TimeMap>
2021-06-10 17:12:17 +02:00
Bård Skaflestad
ed131190eb
Merge pull request #3353 from akva2/msw_eval
...
add MultisegmentWellEval
2021-06-10 00:10:31 +02:00
Bård Skaflestad
72bd3368e7
Merge pull request #3360 from akva2/stdwell_eval
...
add StandardWellEval
2021-06-09 11:02:52 +02:00
Bård Skaflestad
7add6b33de
Merge pull request #3363 from totto82/fixRESV2
...
removed dissolved gas and vapporized oil from RESV injection rates
2021-06-09 09:29:19 +02:00
Bård Skaflestad
bb050683f1
Merge pull request #3355 from joakim-hove/remove-first-perf
...
Remove first perf member from Well classes
2021-06-08 20:47:09 +02:00
Bård Skaflestad
aa12201ee2
Merge pull request #3362 from akva2/date_time_prune
...
Avoid boost/date_time in simulator objects
2021-06-08 17:46:34 +02:00
Bård Skaflestad
8ad44d046d
Merge pull request #3351 from akva2/msw_generic
...
Add MultisegmentWellGeneric
2021-06-08 13:06:01 +02:00
Bård Skaflestad
fdd51ecd8b
Merge pull request #3348 from akva2/stdwell_generic
...
Add StandardWellGeneric
2021-06-08 10:41:06 +02:00
Bård Skaflestad
6c1ca7450f
Merge pull request #3282 from akva2/blackoilwellmodel_generic_split
...
split out typetag independent code from BlackoilWellModel
2021-06-07 22:13:36 +02:00
Bård Skaflestad
4767311f76
Merge pull request #3334 from akva2/wellif_further_split
...
Further splitting in WellInterface
2021-06-07 21:41:12 +02:00
Bård Skaflestad
a3ce4a11e0
Merge pull request #3349 from totto82/fixRESVgconinje
...
Scale target with resv conversion factor
2021-06-07 09:39:52 +02:00
Bård Skaflestad
87599af8b8
Restore Debug Build
...
Commit 6a21371b5 (PR #3344 ) removed 'num_perf_this_well' but did not
make all requisite changes. Fix an accompanying 'assert' to restore
builds that do not define 'NDEBUG'.
2021-06-06 16:58:42 +02:00
Bård Skaflestad
c40c5d37e1
Merge pull request #3354 from akva2/janitoring
...
MSW: drop unused method
2021-06-06 00:24:58 +02:00
Bård Skaflestad
36cd1f51e9
Merge pull request #3305 from akva2/gasliftstage2_cleanups
...
GasLiftStage2: some cleanups
2021-06-04 17:52:47 +02:00
Bård Skaflestad
a03d7589b2
Merge pull request #3341 from joakim-hove/explicitly-clear-well-potentials
...
Explicitly zero well potentials at the start of report step
2021-06-02 18:14:41 +02:00
Bård Skaflestad
1bb14c7dd0
Merge pull request #3342 from akva2/janitoring
...
remove unused prototype
2021-06-02 16:27:47 +02:00
Bård Skaflestad
d8cec87f8b
Merge pull request #3340 from akva2/more_tests
...
More tests
2021-06-02 14:56:09 +02:00
Bård Skaflestad
d974f6bd03
Merge pull request #3333 from totto82/fixTEMPrestart
...
Pass the temperature to the restart machinary if enableTemperature is true
2021-06-02 13:09:41 +02:00
Bård Skaflestad
fc47eb8b4f
Merge pull request #3332 from akva2/fix_trans_writer_par
...
eclwriter: fix regression in parallel
2021-06-01 10:32:20 +02:00
Bård Skaflestad
279b1f125e
Merge pull request #3319 from akva2/vfphelpers_prune
...
changed: remove unused functions from VFPHelpers
2021-05-31 13:25:49 +02:00
Bård Skaflestad
5793f91ae0
Merge pull request #3313 from totto82/fix_ginj_reduction
...
fix reduction rate for injection groups
2021-05-29 17:17:27 +02:00
Bård Skaflestad
bd9b9a7118
Prepare to Save/Restore Richer Set of Aquifer Values
...
This commit adds logic to communicate more dynamic aquifer values
between the simulation and I/O layers. In particular, we ensure
that we allocate the 'aquFet' and 'aquCT' substructures of the
dynamic aquifer data as appropriate and that we collect this
information on the I/O rank as part of the restart output process.
We furthermore make the 'ParallelRestart' facility aware of dynamic
aquifer data in preparation of loading these values from the restart
file.
2021-05-28 14:47:17 +02:00
Bård Skaflestad
d3437d77b1
Merge pull request #3317 from joakim-hove/fix-unused
...
Remove unused variable
2021-05-28 14:14:27 +02:00
Bård Skaflestad
e695c356c5
Merge pull request #3310 from joakim-hove/disable-color-coding
...
Check that stdout is connected to tty before applying color coding
2021-05-28 13:09:08 +02:00
Bård Skaflestad
f7b0d599c8
Merge pull request #3314 from akva2/eclproblem_typetag_split
...
eclproblem: split in typetag and typetag independent parts
2021-05-28 11:47:37 +02:00
Bård Skaflestad
ca455ba4b6
Merge pull request #3304 from akva2/gasliftstage2_drop_typetag
...
GasLiftStage2: drop typetag dependence
2021-05-28 09:56:33 +02:00
Bård Skaflestad
8332909498
Merge pull request #3303 from akva2/gasliftstage2_drop_simulator_param
...
GasLiftStage2: drop simulator param
2021-05-28 00:48:39 +02:00
Bård Skaflestad
b16eaf72f1
Merge pull request #3240 from akva2/wellinterface_fluidsystem_split
...
Split out FluidSystem dependent code from WellInterface
2021-05-27 21:09:07 +02:00
Bård Skaflestad
21899ab3bb
Merge pull request #3315 from akva2/eclpeacemanwell_cleanups
...
eclpeacemanwell: small cleanups
2021-05-27 20:40:41 +02:00
Bård Skaflestad
57cf8c2c98
Merge pull request #3311 from joakim-hove/segpress-fix
...
Bug in wellstate handling for pressure drop in MSW wells?
2021-05-27 20:11:00 +02:00
Bård Skaflestad
66443c63fb
Merge pull request #3299 from akva2/gasliftstage2_break_circular
...
GasLiftStage2: drop circular dependency for BlackoilWellModel
2021-05-27 18:31:44 +02:00
Bård Skaflestad
d94cc2cc30
Merge pull request #3040 from totto82/fixZeroRateVFP
...
Avoid division by small rate in divisor in VFP table fraction WFR/GFR.
2021-05-27 00:44:07 +02:00
Bård Skaflestad
f32a08124d
Merge pull request #3307 from akva2/eclproblem_cleanups
...
Various small cleanups in eclproblem
2021-05-26 22:02:23 +02:00
Bård Skaflestad
4c3013e2a1
Merge pull request #3308 from akva2/fix_wells_at_end
...
fixed: do not take reference to a temporary
2021-05-26 18:41:59 +02:00
Bård Skaflestad
2ea1fa2e74
Merge pull request #3291 from atgeirr/fix-protected
...
Make constants used in subclasses protected.
2021-05-24 12:16:10 +02:00
Bård Skaflestad
cfe6502c9b
Merge pull request #3264 from akva2/eclwriter_typetag_split
...
eclwriter: split in typetag dependent and typetag-independent parts
2021-05-22 16:09:24 +02:00
Bård Skaflestad
3299baf5e8
Merge pull request #3262 from akva2/ecltransmissibility_bool_params
...
remove template parameters for enableEnergy/Diffusion in transmissibility
2021-05-21 13:01:27 +02:00
Bård Skaflestad
3ef04a3335
Merge pull request #3286 from akva2/gasliftsinglewell_typetag_split
...
GasLiftSingleWell: split typetag independent code to separate class
2021-05-21 12:26:54 +02:00
Bård Skaflestad
e4f4670e95
Merge pull request #3267 from akva2/ecloutputblackoilmodule_typetag_split
...
ecloutputblackoilmodule: split in typetag dependent / independent classes.
2021-05-20 21:42:07 +02:00
Bård Skaflestad
3dbab3b7d6
Merge pull request #3284 from akva2/gasliftsinglewell_cleanup
...
Some small cleanups in GasLiftWellState
2021-05-20 17:26:56 +02:00
Bård Skaflestad
b9f916080a
Merge pull request #3278 from totto82/testRESVpred
...
Add SPE9_CP_GROUP_RESV to the test suite
2021-05-20 10:28:19 +02:00