Commit Graph

166 Commits

Author SHA1 Message Date
jonjenssen
41b63f9e14 Make sure NaN values are in Y data, too, to keep good plot performance. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
415a119f41 RFT segment plot adjustments (#9912)
* Delete RFT plot when associated case is deleted
* Rename
* Hide track/curves with no data
2023-03-16 07:16:11 +01:00
jonjenssen
98caeba776 Depth plot as docking widget (#9909)
* Add docked depth result plot for eclipse data
* Update dock layout defaults
2023-03-16 07:16:11 +01:00
Magne Sjaastad
d35147618e Add valve visualization to MSW wells
* Refactor geo generator
* Add valve visualization to segments that are connected to a valve
2023-03-16 07:16:11 +01:00
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
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
Kristian Bendiksen
e426d14550 Thermal Fracture: Fix occasional mesh flipping. 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
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
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
Magne Sjaastad
79820edcc8 #9771: Guard nullpointer access 2023-03-16 07:16:11 +01:00
Magne Sjaastad
565be8716a #9722 Grid Group Statistics: Guard accessing empty data structures 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
Kristian Bendiksen
b0d01a988f #9620 Pressure/depth data: add user interface. 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
641361557a #9620 Add reader for pressure depth text file. 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
Magne Sjaastad
5de5926950 #9622: Find a fairly regular cell and compute face normal direction
In some models, the grid cells can be very twisted, distorted, or zero(low) volume. Improve the logic to find a reasonably regular cell and use this cell to compute the direction of the face normals in this cell.
2023-01-09 15:47:08 +01:00
Magne Sjaastad
f731153c22 Revert OpenMP for detection of faults
The use of OpenMP is not stable, and produce wrong geometry in some cases.
2022-12-21 11:12:56 +01:00
Magne Sjaastad
de29b3b0ed OpenMP: Use default AABB tree construction for one cell per BB
Do not use buildCellSearchTreeOptimized() when when cellCountPerBB is 1, as the performance in this case is best using buildCellSearchTree()
2022-12-20 13:39:29 +01:00
Magne Sjaastad
38bfa9ef1f
#9588 Accumulate N cells for AABB tree 2022-12-19 15:24:53 +01:00
Magne Sjaastad
a423ecf95f
Several OpenMP improvements
Several optimizations based on profiling of 20M grid model. These fixes will improve the largest performance issues, but there are still more operations that can be refactored.

* OpenMP: Use in fault geometry generator
* OpenMP: Use when computing statistics for result values
* OpenMP: Use multithreading on fault detection
* Add RiaOpenMPTools
* VizFwk: Use openMP for texture generation
2022-12-19 13:49:03 +01:00
Magne Sjaastad
befab37588 Add debug output of AABB tree 2022-12-16 15:36:48 +01:00
Magne Sjaastad
529c9af9a4 Guard recursive updates if NNC data import is disabled
Import of NNC data can be turned off in Preferences. If this is off, loading of projects using NNC data can enter a recursive update loop.
2022-12-16 15:29:50 +01:00
Magne Sjaastad
d3a5355141
#9534 Make sure indexIJK values are computed only once (#9537) 2022-12-02 14:36:32 +01:00
Jørgen Herje
278828b08f
Add reference well to well log extraction curve eclipse case (#9516) 2022-11-30 23:13:39 +01:00
Magne Sjaastad
dfa1bc2cd0
Some fixes for new gcc/clang
Minor fixes for newer gcc/clang. These issues were seen when using ubuntu-latest (Ubuntu 22.04) on Github Actions.
2022-11-25 08:59:10 +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
Magne Sjaastad
a74b168e03
Improve property linking
* Allow linking of property filters across cases with same IJK size
* Recalculate when grid is replaced
Find dependencies between calculations and order them accordingly
2022-11-22 10:22:17 +01:00
Magne Sjaastad
6a859e0860
Fix update issues related to fracture calculations
* Make sure property filter is updated when completion type is cleared
* Clear geometry cache in views to make sure geometry is recreated
* Calculate required input parameters to completion type calculations
* Recompute values when depth changes
2022-11-18 12:50:04 +01:00
Magne Sjaastad
e7c864c6d8
Improve grid cell calculator
* Use full name for grid case view
* FIx signed / unsigned issue
* Support drag/drop of file names into Main Window
* Add function to check if two grid cases are of equal size
* Result Info: Show cell result text for all linked views
* Improve how to specify cells to be included in calculation

- move view filter to calculation
- improve how to assign values to non-visible cells
- avoid computation between grids of different size

Closes #9482
2022-11-17 15:51:01 +01: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
0eb0101390 Stim Plan Fracture: add assert for illegal std::vector access 2022-10-06 10:07:37 +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
8ed349f859 Thermal Fracture: add relative and absolute filter-cake pressure drop calculation. 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
0e49d983a2 Thermal Fracture: make fracture completions export work. 2022-10-03 08:33:55 +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
2691f6dca9 Thermal Fracture: fix incorrect weighting when interpolating. 2022-09-05 15:40:31 +02:00
Magne Sjaastad
30c3fe3a5c Scale length threshold based on average DZ 2022-09-02 10:27:11 +02:00
Magne Sjaastad
1a9fb26153 Improve error message when grid dimensions are not matching 2022-09-01 21:35:07 +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