Commit Graph

2075 Commits

Author SHA1 Message Date
Kristian Bendiksen
d8b1e643e0 Fault Reactivation: Improve temperature data access.
New approach: find the top reservoir and compute gradient of temperature change
from sea bed. Values from Eclipse grid is used when in reservoir.
2024-02-14 15:16:47 +01:00
Kristian Bendiksen
85753568b6 WBS Plot: Improve initial placement of curve, and add better default colors. 2024-02-14 15:16:47 +01:00
Magne Sjaastad
8fe385adcf
Create binary artifacts for Linux
* Bundle Qt binaries and create artifacts on Linux 
* Add qt.conf for Linux
* Remove install target for unit test
2024-02-13 09:06:38 +01:00
jonjenssen
0fd4ec6d0d Add option to flip node order for both parts
Use data node coordinates to decide element sets
2024-02-13 02:29:29 +01:00
jonjenssen
336dc575db
Fault Reactivation: Update element sets (#11191)
* Update element sets based on active cells
* Bonus: Fix viewer crash
2024-02-12 14:52:15 +01:00
Magne Sjaastad
fa8d8e3d05
CMake adjustments after unit test refactoring
* TARGET_RUNTIME_DLLS requires CMake 3.21
* Hide compiiler warnings in Visual Studio
2024-02-12 14:33:46 +01:00
jonjenssen
5391179e16
Add separate target for unit tests for easier test access. Remove unit tests from ResInsight application. (#11184)
Clean up cmake configuration a bit, and pull down gtest when needed, no longer use a thirdparty subfolder
Add a ResInsight-tests target to run the unit tests
2024-02-11 20:04:04 +01:00
Kristian Bendiksen
5a3894b804 Fault reactivation: Improve POR-Bar extraction. 2024-02-09 12:39:43 +01:00
Kristian Bendiksen
5037473f5c Fault Reactivation: Use computed pore pressure for over and underburden. 2024-02-09 12:39:43 +01:00
Magne Sjaastad
4db04c76a2 Add missing include seen on VS 17.8.0 2024-02-07 10:07:18 +01:00
Magne Sjaastad
163d54fb24 Comparison View: Fix wrong horizontal location when dragging starts
Use localPos instead of windowPos
2024-02-07 10:07:18 +01:00
Magne Sjaastad
8e13d6c528 Use modern OpenGL Qt widget
Use cvfqt::OpenGLWidget and make required changes
- move code from paintEvent to paintGL to make grabFrambuffer work
- remove obsolete sharedWidget
- implement onWidgetOpenGLReady and initialize rendering in this function as OpenGL capabilities is required
- simplify snapshotImage to use grabFramebuffer

Fix missing include
2024-02-07 10:07:18 +01:00
Magne Sjaastad
6ce9af1148 Disconnect comparison view in destructor of RimEclipseResultCase
In debug build on Windows, a crash in the destructor of Rim3dView happens when the comparison view is set to null.
2024-02-07 10:07:18 +01:00
Magne Sjaastad
ce513be638 Remove all use of .uiCapability()->setUiTreeHidden( true ); 2024-02-05 10:15:36 +01:00
Magne Sjaastad
01a082f9fc #11161 Change default tree visibility state for childField and childArrayField 2024-02-05 10:15:36 +01:00
Magne Sjaastad
e33d18cd26 Hide scrollbar if the visible range covers the complete available range 2024-02-02 10:27:20 +01:00
Magne Sjaastad
66df2faa43 Make sure cumulative plot has some spacing to the right 2024-02-02 10:27:20 +01:00
Magne Sjaastad
4ee9af96c3 Well Allocation: Show legend below pie chart 2024-02-02 10:27:20 +01:00
Magne Sjaastad
883622c71d #11148: Set default name to Accumulated Flow Chart 2024-02-02 10:27:20 +01:00
Magne Sjaastad
4dd43a14a0 #11147: Initialize well allocation plot with better data
If plot is empty, initialize well allocation plot with case, first producer and last available time step
Make sure that all flow diagnostics plots are visible at all times.
2024-02-02 10:27:20 +01:00
Magne Sjaastad
e2e441c1a0 Add RigEclipseCaseDataTools 2024-02-02 10:27:20 +01:00
Magne Sjaastad
5c92cf1511 #11077 Create result values for formations only when required 2024-02-02 10:27:20 +01:00
Magne Sjaastad
57cb3c0a0b #11141 Improve curve and plot title for calculated summary curves
Remove obsolete special handling of calculated curves
2024-02-02 10:27:20 +01:00
Magne Sjaastad
06766b3650 Add option to Preferences to flush file loggers when a signal is triggered 2024-02-02 08:30:30 +01:00
Kristian Bendiksen
e8e376ddb9 Fault reactivation: use values from Eclipse grid for stress.
No longer snapping to the fake well path along the border between the parts.
2024-02-02 08:22:05 +01:00
Kristian Bendiksen
89f90ee9a9 Fault reactivation: use values from GeoMech grid for stress.
No longer snapping to the fake well path along the border between the parts.
2024-02-02 08:22:05 +01:00
Kristian Bendiksen
9fea0853fd Fault reactivation: Fix temperature extraction. 2024-02-02 08:22:05 +01:00
jonjenssen
4ce449e155 Fix fault reactivation grid generation crash 2024-02-02 01:27:11 +01:00
Magne Sjaastad
d661ed4758 Fix computation of bounding box main grid
Calculation of the bounding box for main grid used to be on demand. This was changed in a previous commit. The computation of bounding box is now done first.

The regression was introduced in 5151717743
2024-02-01 11:51:27 +01:00
Magne Sjaastad
661840f425 Always compute bounding box of main grid and use OpenMP 2024-01-31 14:10:15 +01:00
Magne Sjaastad
5151717743 #11088 Use non-optimized version for old projects to compute active cells BB
The performance to compute geometry BB for active cells has improved. The original code also set displayModelOffset based on the BB of active cells. To make sure that existing project files produce identically the the same, the non-optimized version is used in this case.
2024-01-31 12:43:55 +01:00
Magne Sjaastad
111eeb64b7 #11144 Make sure multi select of wells and a calculated curve works as expected 2024-01-30 17:13:16 +01:00
Magne Sjaastad
2e7afeb58b #11094 Make sure no window is maximized before tiling 2024-01-30 14:34:33 +01:00
Magne Sjaastad
d0b5c8d9cb #11134 Export completions: Call ensureReservoirCaseIsOpen before export
This change will enable export without any open views.
2024-01-30 14:34:33 +01:00
Magne Sjaastad
91fdd7efe1 #11132 Guard crash when accessing simulation well data 2024-01-30 14:34:33 +01:00
Kristian Bendiksen
a8c719b289 #10663 WBS Plot: Import well log from CSV file.
Also compute SH_MK_MIN/EXP/MAX and FG_MK_MIN/EXP results.
2024-01-29 15:05:08 +01:00
Magne Sjaastad
6805c95962 #10948 Make sure variants of GLIT is put in correct category
Add explicit handling of FGLIT, WGLIT and GGLIT
2024-01-29 08:57:29 +01:00
jonjenssen
2c0ebfdbfe Add node set for fault zone boundary nodes 2024-01-27 00:38:48 +01:00
jonjenssen
2864ac7466 Extend reservoir element set to active cells in under/overburden
Fix fault extension if both sides start or end at same depth
2024-01-27 00:38:48 +01:00
Magne Sjaastad
7d601ac067 #11109 Improve visualization of MSW with valve branches
Increase default segment threshold to 4
Add an optional setting to override the default value
Use this threshold to merge short branches into parent branch
2024-01-26 09:32:42 +01:00
Magne Sjaastad
85672f5ef5 #10136 Reset zoom by double-click in 3D view 2024-01-26 09:32:42 +01:00
Magne Sjaastad
6922ba22b0
Improve reload and replace of cases
* Move code to from features to helper classes
* Ask user if replace case should also happen for the associated grid or summary file
2024-01-25 10:41:57 +01:00
jonjenssen
cd0a56c924
Fault Reactivation: grid improvements (#11105)
Grid generator cleanup
2024-01-24 18:28:32 +01:00
jonjenssen
8831a8dcc7 Update stress source selection
Clean up UI a bit
2024-01-22 20:39:07 +01:00
Magne Sjaastad
8a3a3aef7e Fix crash when using grid case group 2024-01-22 17:37:15 +01:00
Magne Sjaastad
a090992f5a Refactor use of grid dimensions 2024-01-22 14:52:49 +01:00
Magne Sjaastad
833a0e8584 Performance: Cellcount functions are used in many loops, and must be as fast as possible
cellCountIJK was computed based on the value of griPointDimensions. These converstion turned up during profiling. Change implementation to have cellcount as a member variable instead of being computed every time.
2024-01-22 14:52:49 +01:00
Magne Sjaastad
663c3f31b9 Use the top and bottom layer of active cells to compute the geometry bounding box 2024-01-22 14:52:49 +01:00
Magne Sjaastad
80fdd1da74 Return pair of vectors and rename 2024-01-22 14:52:49 +01:00
jonjenssen
210f03752f Make INP reader a bit more generic, do not require steps defined in file and allow multiple element types (all types must be 8 nodes) 2024-01-22 14:45:55 +01:00