Commit Graph
100 Commits
Author SHA1 Message Date
Kristian Bendiksen 26f13012b4 #10128 Reveal Summary: add ensemble import. 2023-04-25 09:42:18 +02:00
Kristian Bendiksen 9949e84420 #10129 StimPlan Summary Ensemble: Simplify paths 2023-04-24 14:37:22 +02:00
Kristian Bendiksen 350db4d6a9 #10130 Reveal summary import: convert to Eclipse units. 2023-04-24 13:02:57 +02:00
Kristian BendiksenandMagne Sjaastad ff209ad7c2 Refactor ensemble import dialog
* #9773 Refactor ensemble import dialog.
* #9773 Add support for ensemble import of StimPlan/Reveal summary data.
* #9773 Add method for finding min and max time steps.
* #9773 Add option for resampling to hour intervals.
* #9773 Add option for resampling to minute intervals.
* #9773 Ensemble statistics: determine sub-sampling period dynamically.
* Use RiaWeightedMeanCalculator for curve resampling.
* Add HOUR and MINUTE to date time app enum.
* #9773 Generate better ensembles for StimPlan summaries.
* #9773 Fix parameters.txt lookup for StimPlan summaries
* Refactor: Improve interface of RicImportSummaryCasesFreature::createSummaryCasesFromFiles

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2023-04-20 10:16:43 +02:00
Kristian Bendiksen d11f51fcae Refactor: extract Allan diagram computation. 2023-04-19 15:00:56 +02:00
Kristian Bendiksen 9b78826f03 Refactor: extract cell volume computation. 2023-04-19 15:00:56 +02:00
Kristian Bendiksen 6a37c5a5d0 Refactor: extract oil volume computation. 2023-04-19 15:00:56 +02:00
Kristian Bendiksen 07eb1e9f4e Refactor: extract I/J/K index computation. 2023-04-19 15:00:56 +02:00
Kristian Bendiksen 89dca9eec9 Refactor: extract mobile pore volume computation. 2023-04-19 15:00:56 +02:00
Kristian Bendiksen be12016128 Refactor: extract fault distance computation 2023-04-19 15:00:56 +02:00
Kristian Bendiksen 5a64e90103 Refactor: extract Soil computation. 2023-04-19 15:00:56 +02:00
Kristian Bendiksen cc0691f48c Use correct OpenMP directive for INDEX_I/J/K results. 2023-04-19 15:00:56 +02:00
Kristian Bendiksen eb88cca7e8 #9858 Compute distance to closest fault for each cell (FAULTDIST). 2023-04-19 15:00:56 +02:00
Kristian Bendiksen b541acdcb1 #9773 Import data from Reveal and StimPlan as summary case. 2023-03-20 08:58:42 +01:00
Kristian Bendiksen 2d54b45231 Janitor: Remove unused includes. 2023-03-20 08:58:42 +01:00
Kristian Bendiksen 245d483036 Summary observed data
* #9966 Summary calculations: add support for imported vectors.
* #9966 Summary Calculation: add support for imported and observed data.
* Summary Address: avoid extra level in tree for imported data.
* #9966 Update observed data when calculation is updated.
2023-03-15 13:39:57 +01:00
Kristian Bendiksen 8a2d9ec83e #9887 Roff: fix freeze due combining omp and progress info. 2023-03-02 07:29:48 +01:00
Kristian Bendiksen 42c4e4a0c4 Summary calculation data sources fixes
* File Summary Case: set up multiple readers correctly for multithreaded configuration.
* Summary Data Sources: fix sorting of vectors.
2023-02-27 11:17:45 +01:00
Kristian Bendiksen 69a668df50 Simplify RifSummaryReaderInterface timeSteps. 2023-02-24 10:03:16 +01:00
Kristian Bendiksen 8386166d17 Thermal Fracture: Fix occasional mesh flipping. 2023-02-17 15:26:01 +01:00
Kristian Bendiksen 53a80cd86a Fracture: show perforation length field in fracture for azimuth + user-defined perf length. 2023-01-20 13:31:51 +01:00
Kristian Bendiksen eedda3fa40 Recompute completion type results when input values change. 2023-01-20 13:31:51 +01:00
Kristian Bendiksen 68db4c7fa5 #9652 Thermal Fractures: fix transmissibilities for long perforation intervals.
Filter out invalid fracture cells (conductivity == positive infinity) when
calculating fracture to well transmissibilities.

Fixes #9652.
2023-01-20 13:31:51 +01:00
Kristian Bendiksen 1eac9f8a1f #9620 Pressure/depth data: add user interface. 2023-01-19 09:00:05 +01:00
Kristian Bendiksen 10187a934c #9620 Add reader for pressure depth text file. 2023-01-19 09:00:05 +01:00
Kristian Bendiksen 061e0d4688 RiaDateStringParser: add option for day-first parsing of ambiguous date strings. 2023-01-19 09:00:05 +01:00
Kristian Bendiksen 14e06ac4f9 #9656 ROFF: Avoid install of gtest when creating package for ResInsight 2023-01-12 10:07:55 +01:00
Kristian Bendiksen bfbe557c2d Roff: log less to message window. 2023-01-11 11:26:17 +01:00
Kristian Bendiksen 903dd34929 Roff: replace -999 values for inactive cells. 2023-01-11 11:26:17 +01:00
Kristian Bendiksen 1d4140e854 #9601 Roff: templatize method for converting to reservoir index order. 2023-01-11 10:10:51 +01:00
Kristian Bendiksen 7a79930ea6 Roff: add roff namespace. 2023-01-11 07:22:18 +01:00
Kristian Bendiksen 1bbe02614b Roff: move "Import Roff Case" menu item. 2023-01-09 15:40:04 +01:00
Kristian Bendiksen 6b631b3d5a #9591 Janitor: remove unused parameter in RiuPlotWigdet::createPlotCurve. 2023-01-09 15:39:42 +01:00
Kristian Bendiksen 7d3fbf1234 #9616 Roff: fix incorrect cell mapping leading to incorrect faults. 2023-01-09 15:38:48 +01:00
Kristian Bendiksen 8d92e3f6b7 Update roffcpp submodule to support binary string arrays. 2023-01-06 14:57:17 +01:00
Kristian Bendiksen 7215504b16 Python: add unit test for load_case for roff, roffasc and grdecl. 2023-01-06 14:57:17 +01:00
Kristian Bendiksen 142d8f0cc6 Janitor: Fix spelling of "synchronize". 2022-12-22 19:24:14 +01:00
Kristian Bendiksen cc537fc241 Property Import: provide better file patterns. 2022-12-22 19:24:14 +01:00
Kristian Bendiksen fc4294a6ad Roff: allow roff files in input property import 2022-12-22 19:24:14 +01:00
Kristian Bendiksen 264ad01e9e Roff: improve property handling: handle more data types and map ACTNUM. 2022-12-22 19:24:14 +01:00
Kristian Bendiksen ca5064e7da Roff: import properties from Roff grid files. 2022-12-22 19:24:14 +01:00
Kristian Bendiksen 492f2dc4f6 Roff: fix incorrect k direction for active data. 2022-12-22 19:24:14 +01:00
Kristian Bendiksen f92da6a98d Completion export: Export user-defined perforation length for azimuth. 2022-12-21 12:08:20 +01:00
Kristian Bendiksen 8f33caef74 Fracture: Make conductivity type scriptable from python. 2022-12-20 08:44:42 +01:00
Kristian BendiksenandMagne Sjaastad 8b51160ac4 Roff support with submodule
* Roff: Add initial roff support (with roffcpp as submodule).
* Roff: Create viewer when importing roff files.
* Roff: add timing for roff import.
* Roff: precompute active cell indexes.
* Roff: parallelize using OpenMP.
* Roff: Handle exceptions when importing.
* Roff: improvements from review.
* Invert ordering

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-12-19 15:28:26 +01:00
Kristian Bendiksen 42f3316619 Janitor: Clean up includes. 2022-12-19 15:20:40 +01:00
Kristian BendiksenandMagne Sjaastad 254c74be13 #9439 Fix unstable location of generated well target at sea level
NB! This fix will update the location of well target at sea level, and can potentially change the MD from sea level to first user defined well target. This will affect completions defined for the modelled well, as they are defined by MD.

* #9439 Make MD more predictable when toggling sea level target.
* #9439 Avoid updating well path tangents when toggling sea level target
* Disable IO of well target at sea level


Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-12-19 13:24:04 +01:00
Kristian Bendiksen e7ec977c13 #9413 Perforation: avoid overwriting diameter set when appending perforation
Fixes #9413.
2022-12-02 14:29:54 +01:00
Kristian Bendiksen 21a2f2b2c9 #9438 Multiplot: Avoid overwriting font sizes. 2022-11-29 19:29:58 +01:00
Kristian Bendiksen 99553382f5 9437 fix missing summary sub plot update
Summary plot: fix missing sub plot title updates.
Janitor: improve RiuPlotWidget interface.
2022-11-29 19:28:57 +01:00
Kristian Bendiksen 7065d5eaf4 #7839 Python: fix crash when stopping process 2022-11-28 14:14:44 +01:00
Kristian Bendiksen 69ccce225c #9470 Fracture Template: make perforation length scriptable.
Also use it in example script.
2022-11-25 07:41:27 +01:00
Kristian Bendiksen 99e9944e6e #9493 grid calculator on active cells only
* Janitor: Improve getter for RigActiveCellInfo::gridActiveCellCounts.
* #9493 Grid Calculator: calculate on only active cells.
* #9493 Grid Calculator: filter with active cells.
* Fix calculation for input grid cases
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-11-24 10:44:03 +01:00
Kristian Bendiksen e8789f3d4b #9470 User defined perf length for azimuth fractures
Fractures: Add UI for user-defined perforation length for az fractures
Add user defined perforation length for azimuth fractures.
Janitor: remove duplication
2022-11-24 10:42:26 +01:00
Kristian Bendiksen 4345cb3a70 #9464 contour plot crash on legend levels change
The geometry was not properly cleared when on legend changed, and would lead to
crash when number of legend levels decreased.
Janitor: Fix two crashes when loading repro case
2022-11-24 10:39:46 +01:00
Kristian Bendiksen 5847547d81 #8981 GitHub Actions: Pin VM version used for daily builds 2022-11-24 07:26:56 +01:00
Kristian Bendiksen ffc3830110 #9473 Elliptic Fracture: wrong area for scale fractures
Fixes #9473.
2022-11-17 15:36:56 +01:00
Kristian Bendiksen 26dd61a604 Python: Add api and example to get fracture template scale factors. 2022-10-28 15:09:34 +02:00
Kristian Bendiksen 286855cce0 Thermal Fracture: fix occasional glitch in fracture orientation.
The normal has to always point downwards, and this was not the case.
2022-10-24 12:01:34 +02:00
Kristian Bendiksen 737eb9693a Thermal Fracture: add api for changing time step from python 2022-10-24 12:01:34 +02:00
Kristian Bendiksen 3a77d77689 #9363 StimPlan: Incorrect extraction size when changing extraction offsets from python 2022-10-24 07:47:09 +02:00
Kristian Bendiksen f7a2acc3cf StimPlanModel: avoid crashing on incomplete projects. 2022-10-24 07:47:09 +02:00
Kristian Bendiksen a695edc13a #9386 Fractures: add python api to scale fracture templates 2022-10-24 07:45:29 +02:00
Kristian BendiksenandMagne Sjaastad 806c9af82b 9172 Remove dependency on QtScript
* #9172 Update json encoding/decoding to avoid QtScript
* Janitor: remove unused debug code
* Janitor: minor cleanup
* Remove dependencies to Qt Script

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-10-18 10:07:16 +02:00
Kristian Bendiksen 1a5da47418 #9344 Horizontal plots: Support row span for tracks 2022-10-07 14:14:02 +02:00
Kristian Bendiksen 0eb0101390 Stim Plan Fracture: add assert for illegal std::vector access 2022-10-06 10:07:37 +02:00
Kristian Bendiksen accf5713ac #9323 Thermal Fracture: add python methods for importing fracture template.
Fixes #9323.
2022-10-06 10:07:37 +02:00
Kristian Bendiksen dc80f582bd #9328 StimPlan Fracture: Fix nullptr crash on failed import.
Fixes #9328.
2022-10-05 09:45:27 +02:00
Kristian Bendiksen 179e269fcc #9324 Thermal Fracture: optimize transmissibility calculation. 2022-10-04 14:26:46 +02:00
Kristian Bendiksen d0e9c454d3 #9325 Thermal Fracture: rename injectivity decline to injectivity factor. 2022-10-03 13:19:19 +02:00
Kristian Bendiksen 1d6f35a45f Thermal Fracture: make number of samples constant. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 1a9831db8c Thermal Fracture: Add option to skip filter cake pressure drop adjustment. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen dbd8dd4ff4 Thermal Fracture: Fix off-by-one in transmissibility calculation. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 3dad3c65cb Thermal Fracture: Improve handling of result names and units. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 8193f24a55 Thermal Fracture: guard for nullptrs for surface export. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 8ed349f859 Thermal Fracture: add relative and absolute filter-cake pressure drop calculation. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen da2b183d0e Thermal Fracture: Add option to choose filter cake pressure drop adjustment. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 7d774d733c Thermal Fracture: compute filter cake mobility. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen ce65d3738a Thermal Fracture: compute injectivity decline 2022-10-03 08:33:55 +02:00
Kristian Bendiksen a84801715d Thermal Fracture: detect when conductivity is already in correct unit. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 244ba773ec Thermal Fracture: Improve fracture rotation to align z depths. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen fc78b282b0 Thermal Fracture: decrease resolution to decrease computation time. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen d0b961871a Thermal Fracture: convert conductivity from darcy to milliDarcy. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 453fe2dcd6 Thermal Fracture: Remove some unnecessary complications with the result names. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 619807b81f Thermal Fracture: add python script for exporting template as surface. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 0e49d983a2 Thermal Fracture: make fracture completions export work. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 2fea355cd2 Thermal Fracture: Fix off-by-one in properties parsing.
Would leave out the last element from the file (i.e LeakoffPressureDrop).
2022-10-03 08:33:55 +02:00
Kristian Bendiksen 550110d8ab Allow different definitions of valid result for StimPlan and Thermal template. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen 15304991cf Fix python kill signal (#9320)
* Python: Fix incorrect call to os.kill.

Also make it work on platforms without unix signals.

* Python: Increase process file timeout to one minute.
2022-09-29 08:49:53 +02:00
Kristian Bendiksen d046e2692c Fix python kill signal (#9320)
* Python: Fix incorrect call to os.kill.

Also make it work on platforms without unix signals.

* Python: Increase process file timeout to one minute.
2022-09-29 07:37:31 +02:00
Kristian Bendiksen 9d0fa408e2 #9307 Python: avoid assigning same port number to multiple grpc sessions
* Python: avoid assigning same port number to multiple grpc sessions
* Add retry count when checking for port number file
* Use grpc to find and use port number
* Add test used to start several instances of resinsight at the same time
Testing up to 50 instances works well

* Python: allow launch_port == 0 to assign port by GRPC in Instance.launch().
Also allow longer wait before failing the port number file reading:
it can take some time to launch when launching lots of instances at
the same time.
2022-09-27 11:56:30 +02:00
Kristian Bendiksen c2b5ab8d2c #9307 Python: avoid assigning same port number to multiple grpc sessions
* Python: avoid assigning same port number to multiple grpc sessions
* Add retry count when checking for port number file
* Use grpc to find and use port number
* Add test used to start several instances of resinsight at the same time
Testing up to 50 instances works well

* Python: allow launch_port == 0 to assign port by GRPC in Instance.launch().
Also allow longer wait before failing the port number file reading:
it can take some time to launch when launching lots of instances at
the same time.
2022-09-26 14:19:21 +02:00
Kristian Bendiksen d7b29589a2 MultiPlot: Fix small empty legend when toggling legend position. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 711a9b83e7 #9293 MultiPlot: avoid removing non-legend overlays.
The plots can have other kinds of overlays that should not be removed.

Fixes #9293.
2022-09-15 08:19:41 +02:00
Kristian Bendiksen 2e5626941d #9281 Analysis Plot: fix ensemble data source selection.
Fixes #9281.
2022-09-15 08:19:41 +02:00
Kristian Bendiksen b0a959c591 #9280 Fix missing horizontal error bars
* #9280 Fix missing horizontal error bars.
The x axis was not assigned properly for the error bars in the plot curve.
* Propagate error bar visibility state
2022-09-15 08:19:41 +02:00
Kristian Bendiksen a8b3ddc757 Thermal Fracture: rotate and place fracture according to template data. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 78464b772f #9100 Thermal Fracture: add action to place using template data 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 803c9505b9 Thermal Fracture: fix incorrect weighting when interpolating. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen fe62fb76ff #9233 Correction Report Plot: disable axes alignment for better spacing.
Regression introduced in 71d18b9e76.
2022-09-15 08:19:41 +02:00