Commit Graph
18481 Commits
Author SHA1 Message Date
Kristian Bendiksen afbcc13606 Simulation Input: Handle ADD keyword. 2025-12-08 15:27:51 +01:00
Kristian Bendiksen cfd5f3a310 Simulation Input: Handle COPY keyword. 2025-12-08 15:27:51 +01:00
Kristian Bendiksen 5e67dbd48f Simulation Input: Fix EQUALS keyword.
Ended up handling the same keyword twice.
2025-12-08 15:27:51 +01:00
Kristian Bendiksen 90ce34ac6c Simulation Input: handle BOX records. 2025-12-08 15:27:51 +01:00
Kristian Bendiksen d053d4b0a6 Simulation Input: Handle MULTIPLY keyword. 2025-12-08 15:27:51 +01:00
Magne Sjaastad c16a5de656 Add test and improve example
- improve test project so the first intersected cell is unique for all grids
- add test on intersection IJ for WELSEGS
- improve example
2025-12-08 15:22:00 +01:00
Magne Sjaastad 4f53c2692e #13295 Always use grid local IJ for WELSPECS/WELSPECL 2025-12-08 15:22:00 +01:00
Magne Sjaastad 2429778f25 Handles infinite and NaN values in slider
In debug build, an assert is triggered for inf or NaN double values.
2025-12-08 15:22:00 +01:00
Magne Sjaastad a2535e5eeb #13288 Fix segmentation fault in multi-plot overlay frame clearing
Fix iterator invalidation issue in RiuPlotWidget::clearOverlayFrames() that caused segmentation faults when accessing QPointer objects during collection modification. The method now safely collects matching frames first, then removes them in a separate loop with proper null pointer checks.
2025-12-08 08:33:54 +01:00
Magne Sjaastad 277524880c Guards against null summary case 2025-12-08 08:32:23 +01:00
JJ 13f7ee039a Clean up default name handling in Opm Flow jobs (#13291)
* Clean up default name handling
2025-12-07 03:43:48 +01:00
Magne Sjaastad 6043265686 Adds support for SWAT result calculation
Implements a result calculator for SWAT (Water Saturation) to handle cases where only the water phase is present.

This also introduces checkAndCreatePlaceholderEntry for grid cell calculators. This can be used for creation of result metadata. When using this, both creation of metadata and calculation is in the same class.
2025-12-06 13:20:40 +01:00
Magne Sjaastad 0d61530a72 #13277 Select default cell result based on available phases 2025-12-06 13:20:40 +01:00
Kristian Bendiksen 4f5d7b65a5 #13258 Add support for more surface file type in Import ensemble surface 2025-12-06 12:55:38 +01:00
Kristian Bendiksen 53bb11b7f3 Bump to 2025.09.4-dev.04 2025-12-05 14:18:45 +01:00
Kristian Bendiksen a6298b1b30 Allow 'm' as mapunits for opm-common 2025-12-05 14:18:45 +01:00
Kristian Bendiksen 37ee50cc9e #13281 Improve unit system handling for Eclipse files
- Add shared utility functions in RifEclipseOutputFileTools:
  - unitValueToEnum(): Convert int unit value to optional enum
  - determineUnitSystem(): Apply unit preference hierarchy and log warnings
- Implement correct unit preference hierarchy: egrid > init > unrst
  (previously was unrst > init > egrid)
- Add validation and warning when different unit systems are detected
  across files
- Enhance grid unit parsing with debug logging to explicitly document
  support for "m" as abbreviation for "METRES"
2025-12-05 14:18:45 +01:00
Kristian Bendiksen 1ed297e124 Simulation Input: remove excessive logging. 2025-12-05 13:06:29 +01:00
Kristian Bendiksen 51162df799 BCPROP: change fixed X/Y/Z data type to int for better UI. 2025-12-05 13:06:29 +01:00
Kristian Bendiksen 12b53d52c1 Simulation Input: Update total cells when changing range. 2025-12-05 13:06:29 +01:00
Kristian Bendiksen a3094e66d2 Simulation Input: better PORV multiplier default. 2025-12-05 13:06:29 +01:00
JJ 9f17dd81ff Add support for COMPLUMP keyword (#13273)
* Add support for COMPLUMP keyword, both in python interface, file export and opm flow jobs
* Add support for WPIMULT kw in opm flow jobs
* Always provide per connection dFactors in COMPDAT kw (negative value)
* Include LGR support in COMPLUMP file export
2025-12-04 19:25:41 +01:00
Magne Sjaastad 70f76aefb0 Add phases display field to Eclipse Result Case
Display available simulation phases (Oil, Gas, Water) in the Eclipse Result Case properties panel. The phases are read from the case data and displayed as a read-only field in the UI.
2025-12-04 14:51:07 +01:00
Magne Sjaastad c00da5e8e1 #13275 Import available phases from INIT and UNRST
This change centralizes the logic for determining available phases from
various file formats (ECL, OPM) and data structures (INTEHEAD keyword)
into a single, well-defined function.

The new `RiaOpmParserTools::phasesFromInteheadValue` function now handles the
conversion from an integer phase indicator to a set of `PhaseType` enums.
This function is used in both the ECL and OPM readers.

Updates the `RifEclipseUnifiedRestartFileAccess` and `RifReaderEclipseOutput`
to use `RifEclipseOutputFileTools::findAvailablePhases` to get the available phases
2025-12-04 14:51:07 +01:00
jonjenssen bcb930f36a Handle empty blocks in FileDeck iterator++ 2025-12-03 14:19:26 +01:00
Magne Sjaastad df293bed37 #13269 Add support for display of field units in VFP plots
Updates the VFP table display to support different unit systems, specifically metric and field units. Introduces unit system awareness to the display of pressure and flow rate values, ensuring values are shown in the correct units based on the configured unit system.
2025-12-03 09:52:38 +01:00
Magne Sjaastad 88b0094dc8 Add LGR support to MSW tables
Add grid_name to relevant tables
Add support for WPIMULT
2025-12-03 09:48:50 +01:00
Magne Sjaastad e47a52b3d4 Remove obsolete combination_mode 2025-12-03 09:48:50 +01:00
Magne Sjaastad a23599cb5d Completion export cleanup
Use MSW as postfix to base name
Drop "Unified" for individual well export
Remove export option Individually/Combined
Remove SPLIT_ON_WELL_AND_COMPLETION_TYPE
2025-12-02 16:03:56 +01:00
Magne Sjaastad b723845b0d #13253 Avoid exposing internal completion types
Only show ICD, ICV and AICD as options when adding valve template
2025-12-02 16:01:30 +01:00
jonjenssen 6cb4907180 Add more parameters to bcprop keyword 2025-12-01 18:27:30 +01:00
Magne Sjaastad 06af9e44af Include qt version in buildcache key 2025-12-01 17:38:01 +01:00
Kristian Bendiksen 1b8ffbc65a Bump to 2025.09.4-dev.03 2025-12-01 15:28:37 +01:00
Kristian Bendiksen e08ba63f01 Simulation input: Add refinement test. 2025-12-01 14:20:49 +01:00
Kristian Bendiksen 475e05da88 Update well dims keyword for refinement. 2025-12-01 14:20:49 +01:00
Kristian Bendiksen 6d1a4eb35c egrid import: Fix restart header parse for opm-common reader.
Step numbers does not always start at 0.
2025-12-01 14:20:49 +01:00
Kristian Bendiksen 67272708d5 Simulation Input: handle missing SPECGRID. 2025-12-01 14:20:49 +01:00
Magne Sjaastad f230998fff #13256 Framework: Make sure labels and buttons are deleted
Make sure standalone labels and buttons are deleted between multiple calls to defineUiOrdering.
2025-12-01 14:10:34 +01:00
Magne Sjaastad c035c31a0d Use deleteLater
Uses deleteLater to avoid issues when deleting radio buttons from signal handlers, resolving a crash observed during focus changes.
2025-11-30 10:35:30 +01:00
Magne Sjaastad e71172fa39 Fix more qt 6.10 bugs 2025-11-30 10:35:30 +01:00
jonjenssen 070b0fd46e Add code to reproduce crash from ResInsight 2025-11-30 10:35:30 +01:00
magnesj 1a60093473 Fixes by clang-tidy 2025-11-30 09:19:47 +01:00
JJ 6689000d85 New Sector Model Export user interface (#13247)
* Add sector model export wizard
* GUI cleanup
* Use job name as deck name for simulation runs
* Remove new things from old export GUI
* Use radio-buttons for enum dropdowns
2025-11-28 16:43:51 +01:00
Magne Sjaastad 760137730b #13243 Always recreate non-field labels and buttons 2025-11-28 15:49:31 +01:00
JJ 569d4dfc93 Fix build for Qt6.10.1 and add Windows build for Qt 6.10 2025-11-28 12:36:56 +01:00
Magne Sjaastad f2d41691a1 #13241 Avoid input focus change when grid cross plot regression curve is updated 2025-11-28 07:21:26 +01:00
Magne Sjaastad d7fe226114 Ensure correct update of required delta ensembles
When a summary ensemble is modified, update all dependent delta ensembles related to curve display and tree item display.
2025-11-28 07:20:42 +01:00
Magne Sjaastad 18b6420633 Fix out-of-bounds access
The number of m_cases and number of parameters can differ during updates of the ensemble. Guard access to avoid crash.
2025-11-28 07:20:42 +01:00
Magne Sjaastad 5a9cb13916 Fix filter and improve Analysis Plot
* Use button and label without field backing
* Use childFieldChangedByUi instead of signal
* Select ensemble instead of all realizations in an ensemble
2025-11-26 12:42:44 +01:00
Magne Sjaastad 47fd2e375c Add GroupBox around radio buttons 2025-11-26 11:34:59 +01:00