Commit Graph
100 Commits
Author SHA1 Message Date
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
Kristian Bendiksen 1f8cc7f477 #9233 Fix regression in correlation plot
Introduced in be236cb.
2022-09-15 08:19:41 +02:00
Kristian Bendiksen a09e17d14a #9104 Thermal Fracture: Handle offset and scaling. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 6b053b2023 Thermal Fracture: change polygon to match StimPlan fracture grid 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 8028cb63e0 #9209 Refactor RiuMultiPlotPage/RiuSummaryMultiPlotPage plot reinsertion. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen f9f49e9f58 #9202 Summary Multi Plot: add option for having the legend inside the plot 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 318f187635 #9202 Well Log Plot: add option for having the legend inside the plot 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 613ab6279d #9117 Summary/Well Log Plot: fix missing update on legend font size change. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 29cf555b59 Multiplot/WLP: fix missing update of title font size 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 34cdd1f0d7 Well Log Plot: avoid hard-coding depth/value axis 2022-09-15 08:19:41 +02:00
Kristian Bendiksen d9aa8bd6d2 #9092 WLP: show only axis for first and last track. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen e984e634e7 Well Log Plot: Avoid hard-coded axis (gave incorrect axis labeling). 2022-09-15 08:19:41 +02:00
Kristian Bendiksen e7ec4818fd #9131 Summary Plot: Show area fill also when line style is 'None'.
Fixes #9131.

Fixed by drawing the line with Qt::NoPen (invisible).
2022-09-15 08:19:41 +02:00
Kristian Bendiksen c10a5411b6 #9093 MultiPlot: improve axis alignment by resizing scales 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 97d1b7b36f #9161 QtCharts: Refactor to make QtCharts optional again. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 49bfc62ea7 #9102 Thermal Fracture: handle field units. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen d7346c077b janitor: Improve variable name. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 52a2d2d1fc Thermal Fracture Import: fix crash when import fails. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen a377449492 Thermal Fracture Import: Add test for loading non-existing file. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 803b8adc25 #9101 Thermal Fracture Import: detect and refuse inconsistent units.
All values in the file should be in either field or metric units, and mixing is
not allowed.
2022-09-15 08:19:41 +02:00
Kristian Bendiksen 3c835f7eb2 Thermal Fracture Import: handle csv with space between name and unit 2022-09-15 08:19:41 +02:00
Kristian Bendiksen b064599e28 Thermal Fracture: fix crash for none-existing results. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen a0f87e2ae9 Thermal Fracture: show mesh options for thermal fractures. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 72590d0565 Thermal Fracture: load and update on project reload. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 4e6e3ecd31 #9099 Thermal Fracture Import: include perimter nodes. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 089a02f6ce More tweaks to fix windows build 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 74efaa4385 #9098 Thermal Fracture: interpolate missing values inside convex hull of points. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 037de2829c Thermal Fracture: improve import and display of timestamps 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 2b17c9d9af Rotate fracture plane to align with x-y plane 2022-09-15 08:19:41 +02:00
Kristian Bendiksen c155fbcfe0 Thermal Fracture: Add visualization of results 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 74cc1e305d Thermal Fracture: Add action to import Reveal csv 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 51c4fb07a7 Thermal Fracture: add thermal fracture template 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 26c88ccee5 Refactor: Introduce MeshFractureTemplate, and convert StimPlanFractureTemplate to it. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 94124d4eac #9039: Thermal Fractures: add file reader 2022-09-15 08:19:41 +02:00
Kristian Bendiksen 52cee02ffe MultiPlot: Fix small empty legend when toggling legend position. 2022-09-14 16:01:39 +02:00
Kristian Bendiksen dfbdfaa726 #9293 MultiPlot: avoid removing non-legend overlays.
The plots can have other kinds of overlays that should not be removed.

Fixes #9293.
2022-09-14 16:01:39 +02:00
Kristian Bendiksen dc01594a95 #9281 Analysis Plot: fix ensemble data source selection.
Fixes #9281.
2022-09-09 15:21:35 +02:00
Kristian Bendiksen 921c90beea #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-09 13:57:47 +02:00
Kristian Bendiksen 49e298c0b8 Thermal Fracture: rotate and place fracture according to template data. 2022-09-05 15:40:31 +02:00
Kristian Bendiksen 96c4d48c9d #9100 Thermal Fracture: add action to place using template data 2022-09-05 15:40:31 +02:00
Kristian Bendiksen 2691f6dca9 Thermal Fracture: fix incorrect weighting when interpolating. 2022-09-05 15:40:31 +02:00
Kristian Bendiksen 7f54703642 #9233 Correction Report Plot: disable axes alignment for better spacing.
Regression introduced in 71d18b9e76.
2022-08-30 06:42:51 +02:00
Kristian Bendiksen 5ed12b17cd #9233 Fix regression in correlation plot
Introduced in be236cb.
2022-08-30 06:42:51 +02:00
Kristian Bendiksen f82c530966 #9104 Thermal Fracture: Handle offset and scaling. 2022-08-25 09:17:00 +02:00
Kristian Bendiksen 1093b844b0 Thermal Fracture: change polygon to match StimPlan fracture grid 2022-08-25 09:17:00 +02:00