Commit Graph

923 Commits

Author SHA1 Message Date
Magne Sjaastad
a2cd4b0bfb Improved simulation well visualization
* Move members to private in RigWellResultPoint
* Create simulation well path geometry using well topology
* Add separate MSW well pipe centerline computations
* Review comments

---------

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2023-03-16 07:16:11 +01:00
Jon Jenssen
f085bc90e5 Enable filter when picking is done. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
5315c423f8 Add missing include 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
ef1dfd4a47 Summary calculation data sources fixes
* File Summary Case: set up multiple readers correctly for multithreaded configuration.
* Summary Data Sources: fix sorting of vectors.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
42b901ec28 clang-format: Set column width to 140
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-03-16 07:16:11 +01:00
Magne Sjaastad
2bf3a511fe #9671 summary calculations for summary items
* Summary Calculation: use shorter name in title
* Sort summary addresses to group calculated results last.
* Summary Calculation: add option to distribute calculation to other items.
* Add support for summary calculation for RimGridSummaryCase.
* Use short name for calculations in plot titles.
* Update ensembles in Data Sources when calculation is added.
* Summary Calculation: allow drag-and-drop of ensembles
* Summary Plot: fix axis range aggregation for calculated ensemble addresses.

---------

Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2023-03-16 07:16:11 +01:00
Kristian Bendiksen
62038c0fc9 Simplify RifSummaryReaderInterface timeSteps. 2023-03-16 07:16:11 +01:00
Jørgen Herje
ed3539a418 Realization in Ensemble RFT-plot hover info + refactoring of point tracker functionality
* Add realization number to mouse over text for Ensemble RFT

* Refactor Curve Info Text Provider functionality

- Refactor provider implementation, to separate RiuWellLogTrack from the point tracker and text provider.
- Move creating of point tracker outside of RiuWellLogTrack.
- Makes it possible to override/write new CurveInfoTextProvider implementation when needed.

* Add guards for nullptr
2023-03-16 07:16:11 +01:00
Jørgen Herje
52b60d8be5 Prevent update of show statistics selection in source stepping
- Refactor code into two functions
- Do not update selection when performing source stepping
2023-03-16 07:16:11 +01:00
Jørgen Herje
e1d7eea5df Fix grouping of properties for date tickmarks 2023-03-16 07:16:11 +01:00
Jørgen Herje
ad43c27550 Add custom tickmark configuration for Summary Plot (#9867)
- Added custom tickmark configuration in time axis properties for `Time Mode = Date` 
- Refactor code to separate handling of time axis properties and regular axis properties in RimSummaryPlot
- Add method for setting major ticks by use of list for RiuPlotWidget interface.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
1654fe8c9c Minor issues related to release
* Add shortcut for Plot Editor, and modify how command features are triggered
Use Ctrl-E to launch the Plot Editor.

* Add optional use of NOECHO and ECHO keywords in GRDECL files
* Add ECHO keywords to sector model export
* Add Help button to Preferences
2023-03-16 07:16:11 +01:00
Magne Sjaastad
314a62f902 #9859 PLT plot: Fix missing LAS data for regression test 2023-03-16 07:16:11 +01:00
Magne Sjaastad
648d56261e Fix regression test issues
* Fix eternal loop causing the application to hang
* Revert changes related to file well path introduced in 70bb22
* Use some iterations to find representative cells for computation of cell sizes
2023-03-16 07:16:11 +01:00
Magne Sjaastad
ae3af4ec80 Export Completion: Fix missing segments and connections for LGR grids
* Compute characteristic cell size based on active cells
* Compute cell face normal based on a suitable active cells
Using all cells as basis for face normal is fragile. Some models have highly distorted/twisted cells, but all active cells should be geometrically more stable.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
48469f33f6 Janitor issues
* Remove obsolete code
* Fix path modification of a relative folder
Replace start token '.' with file path to the project file to make sure that the path './wells/a-1h.dev' can be imported correctly.
* Add more logging when keywords are missing from import
2023-03-16 07:16:11 +01:00
Jørgen Herje
07d1a3c669 Improve Grid Statistics Plot UI (#9831)
- Set default frequency enum to relative frequency [%]
- Set current view selected in filter by 3D view visibility by default
- Add labels for statistics data
- Add UI to change number of bins in histogram
- Add control of font size of axis values and axis titles
2023-03-16 07:16:11 +01:00
Magne Sjaastad
2f6b2e57f5 Add support for radial grids
* Update radial grid operations in submodule
* Optionally display cell center and cell corners when clicking on cell
* Add support for import of radial grids
* Modify node coordinates to match host cell
2023-03-16 07:16:11 +01:00
Jon Jenssen
e7c81929d2 Make sure we refresh tree when adding a curve. Add new curve to summary plot context menu, too. 2023-03-16 07:16:11 +01:00
Jon Jenssen
718577e203 Rearrange order of source stepping options 2023-03-16 07:16:11 +01:00
Magne Sjaastad
8c91d81854 Well measurement improvements
* Update 3D view and plot when measurement data is added
* #8625 Make visibility of measurement follow well path visibility
2023-03-16 07:16:11 +01:00
Magne Sjaastad
c4993b6869 GitHub Actions: Add apt mirror to make package download more robust
- Download of Ubuntu packages from Azure is unstable. Add mirror sites to improve reliability.
- Improve use of clang-format and include source code changes
2023-03-16 07:16:11 +01:00
Jørgen Herje
043397b378 Change to point to point for Accumulated Flow Volume Percentage 2023-03-16 07:16:11 +01:00
Magne Sjaastad
cc722c1cfd #9147 Fix wrong curve name for summary group curves 2023-03-16 07:16:11 +01:00
Magne Sjaastad
38a093456f #9780: Compare axis unit text case insensitive 2023-03-16 07:16:11 +01:00
Magne Sjaastad
79820edcc8 #9771: Guard nullpointer access 2023-03-16 07:16:11 +01:00
jonjenssen
0c70a92f16 Avoid progress window staying behind on Linux when loading summary data (#9774)
Adjust progress info usage in summary file loading
2023-03-16 07:16:11 +01:00
Magne Sjaastad
5118ed36e5 Remove unused variable 2023-03-16 07:16:11 +01:00
Magne Sjaastad
b8eb00b7e4 Improve RftPlt data source objects (#9769)
Move AppEnum init to RifDataSourceForRftPlt
Simplify constructors for RifDataSourceForRftPlt
Rename enum names in RifDataSourceForRftPlt::SourceType
Add missing pressureDepthData in RimDataSourceForRftPlt
2023-03-16 07:16:11 +01:00
Bård Skaflestad
5826c97f84 Look Up Time Step Object Exactly Once
Using .contains() followed by .at() with the same argument will
perform the same map lookup twice.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
93fe8d7a85 RFT improvements
* Avoid accessing nullptr
* remove unused function
* Allow RFT data from single summary case to be used in RFT plots
* #9736 Support horizontal plotting of LAS curves
2023-03-16 07:16:11 +01:00
Jørgen Herje
4159e599f3 Invert default isCurveHighlightSupported flag for RimPlot
- Make default flag = false, thus highlighting must be activated
- To prevent unwanted logic for new RimPlot objects
- Activate highlighting for RimSummaryPlot, RimVfpPlot and RimCorrelationMatrixPlot
2023-03-16 07:16:11 +01:00
Jørgen Herje
6f34a730a0 Well Allocation over time adjustements (#9738)
- Add font size settings
- Move legend to right side of plot
- Set default selected time steps to time step count = 10
- When excluding time steps, duplicates rates from next valid time step onto excluded time steps
- Allow time step selection "Show all time steps" or "Time step count" for subset of time steps
- Allow excluding on the active set, i.e. all or subset, of time steps
2023-03-16 07:16:11 +01:00
Jon Jenssen
c70ad2f9a8 Fix geomech reload issues 2023-03-16 07:16:11 +01:00
jonjenssen
09248011ef Support loading only last geomech frame (#9727)
Support option for loading only the last frame for each geomech timestep. Turn it default on for old projects.
2023-03-16 07:16:11 +01:00
Jørgen Herje
3e8c85a202 Move Reference Well functionality to WellLogExtractionCurve
* Remove reference well feature from plot objects
* Move Reference Well functionality to WellLogExtractionCurve
* Reset reference well selection if new selected well path equals ref
2023-03-16 07:16:11 +01:00
Jørgen Herje
d634fcd4b4 Create depth adjusted LAS files
* Add support for creating depth adjustment LAS files
* Add RiaDefine for LAS file depth property names
* Remove incorrect check in K-index Calculator

Co-authored-by: jorgenherje <jorgenherje@users.noreply.github.com>
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2023-03-16 07:16:11 +01:00
Magne Sjaastad
264fbbfadc Fix issues related to well bore stability plots
* Check if data is present
* Move plot update to geomech case
* Return empty vector if no data is present
2023-03-16 07:16:11 +01:00
jonjenssen
82fc42cc19 Improve range filter slider gui 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
ea4a4df580 Fracture: show perforation length field in fracture for azimuth + user-defined perf length. 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
5f9b6e08fa Recompute completion type results when input values change. 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
b0d01a988f #9620 Pressure/depth data: add user interface. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
eb1413e2b3 System: Enable and use c++20
Enable c++20 in top level cmake. Keep c++17 for GrpcInterface, as the protoc tool does not work with c++20.
Several code adjustments to fix compiler issues.
2023-03-16 07:16:11 +01:00
jonjenssen
dc5d53ad20 Geomech frames support (#9678)
Support for showing frames in geomech data.
2023-03-16 07:16:11 +01:00
Jørgen Herje
05bf744197 Well allocation over time plot (#9655)
- Plot for showing well allocation over time. 
- Select time range
- Option to exclude time steps in selected range
- Possible value types: Flow rate, flow rate percentage, flow volume, accumulated flow volume, accumulated flow volume percentage
- Group small contributors into group "Others"
2023-03-16 07:16:11 +01:00
jonjenssen
796160960d Add toolbar toggle button for showing displacements (#9677)
* Add toolbar toggle button for showing displacements
2023-03-16 07:16:11 +01:00
Magne Sjaastad
a2e73d7cee Move prepareForDelete() to Rim3dView 2023-01-11 12:30:06 +01:00
Magne Sjaastad
8e161a5c89 Stabilization fixes related to regression testing
* Added fmtlib to LicenseInformation.txt
* Add license info for roffcpp
* Regression Tests: Guard use of invalid bounding box
* Regression Test: Check if file is present before opening
2023-01-10 11:45:37 +01:00
Kristian Bendiksen
6b631b3d5a #9591 Janitor: remove unused parameter in RiuPlotWigdet::createPlotCurve. 2023-01-09 15:39:42 +01:00
Magne Sjaastad
fe181ed60e Guard use of pointers 2023-01-06 13:30:56 +01:00