Commit Graph
3232 Commits
Author SHA1 Message Date
Magne Sjaastad 9a3b626155 Remove unused parameter 2025-11-14 13:06:32 +01:00
Magne Sjaastad b6f0164de7 #13176 Use guarded pointers for highlighted curves 2025-11-14 13:06:32 +01:00
JJ 7c8aadcd60 Update OPM Flow Job Preferences (#13172)
* Add job settings, with default settings in preferences.
* Move opm flow settings to separate preferences tab
* Add warning/error detection add display count next to progress
* Adjust size of preference window
2025-11-14 12:56:23 +01:00
magnesj 562ce12534 Fixes by clang-tidy 2025-11-14 05:52:13 +01:00
Magne Sjaastad ddbef1c7b8 Adds support for all planned MSW tables
* Add test models and projects used to verify experimental MSW export
* Fix text formatting of MSW tables
* Completes porting of all MSW tables

Supported keywords are `WELSEGS COMPSEGS WSEGVALV WSEGAICD`
2025-11-13 14:53:14 +01:00
Kristian Bendiksen ba92dfb825 BCPROP: add correct number of times to properties table.
Also improved defaults.
2025-11-12 08:39:20 +01:00
Kristian Bendiksen b7a4983009 #12950 Simulation Input: add boundary condition choice. 2025-11-12 08:39:20 +01:00
Kristian Bendiksen b1646d9a1f #12950 Generate BCCON/BCPROP for simulation input. 2025-11-12 08:39:20 +01:00
Kristian Bendiksen 4291ebd91c Refactor: use PROPS name from OPM common. 2025-11-12 08:39:20 +01:00
JJ 39c2282904 Handle active cells in files with thermal data (rockv) (#13159)
* Handle active cells in files with thermal data from intersect
2025-11-12 07:13:24 +01:00
Magne Sjaastad 6df569850d Remove unintended install files
* Exclude mdspan from INSTALL target
* Exclude zfp from INSTALL target
* Avoid install of googletest
2025-11-11 13:51:28 +01:00
Magne Sjaastad 5e7c3dd1f1 #13095 Avoid error message trying to read data not present in file 2025-11-10 13:19:47 +01:00
Magne Sjaastad be7a01d0cf #13147 Simplifies summary import options
Removes ensemble summary import mode as separate cases import is not supported.

Simplifies the UI by removing the ensemble import option, and updates the logic to handle summary import mode correctly by only supporting skip or unified imports. If separated cases is required for a single summary case, this can be activated by using the import dialog.

Adds logic to initialize after read to ensure that if SummaryImportMode is SEPARATE_CASES, it changes to NOT_IMPORT.
2025-11-10 13:07:21 +01:00
jonjenssen 5450ab292d Make sure we switch to the correct treeview when selecting an item. 2025-11-10 07:44:55 +01:00
Magne Sjaastad e785be6f97 #12999 Add spacing to system parameters
Add spacing to RicFishbonesSystemParameters
Use 12.5 as default, use 18.5 for drillingExtendedParameters
Remove duplicated code
2025-11-07 16:36:36 +01:00
jonjenssen a5d4e358ae Clean up keyword generators 2025-11-07 14:46:35 +01:00
JJ 6286a34297 Wellplanning: use updated MSW table data api (#13142)
* Update to use new table variable names aligned with opm common naming.
2025-11-07 10:05:53 +01:00
Magne Sjaastad 366f92b92f #13101 Fix update of ensemble calculation vectors 2025-11-07 07:10:55 +01:00
jonjenssen 7b05b18d8c Add nullptr guard in case no valid main grid in view. 2025-11-06 15:16:41 +01:00
Magne Sjaastad de6a2a7aa8 #13137 Make sure calculated vectors appears in tree view
When populating the addresses to be displayed in the tree view, the native file readers must be populated first. The calculated addresses depend on addresses available in native readers.
2025-11-06 11:40:03 +01:00
Magne Sjaastad d3cf618f0c Improve MSW variable names
Align MSW variable names with opm-common
2025-11-06 11:39:51 +01:00
Jon Jenssen fdc8608a29 Add more nullptr guards 2025-11-06 07:05:51 +01:00
JJ 3b24586c61 Speed up cell search tree building in case of large LGRs (#13134)
* Speed up cell search tree building for larger LGRs by pre-calculating information needed
2025-11-06 07:05:17 +01:00
Magne Sjaastad 47e79454b4 #13130 Plot curves are not displayed for default summary plot 2025-11-05 13:57:20 +01:00
Magne Sjaastad 7e7e7e0528 #13124 Show SWAT/SGAS instead of Saturation 2025-11-05 09:06:53 +01:00
Magne Sjaastad a693aa6d09 #13062 Make search for restart header file more robust
Refactors restart file name retrieval to use preferences for reader mode.

Simplifies logic by removing separate OPM-specific retrieval methods, and
instead uses a unified method that dynamically selects the appropriate
reader based on user preferences.

Adds fallback mechanism to read restart file paths from SMSPEC files when
the RESTART keyword is missing in ESMRY files generated by ResInsight.

Corrects path handling for restart files by adjusting paths relative to the
header file.
2025-11-05 06:38:37 +01:00
JJ 453562082d Summary case refresh update. (#13123)
Use improved opm-common reader with less throws.
Add reload selected cases button
Add timer for auto-reload of cases
Add include in auto update option for cases and ensembles
Do not enable auto reload option for cases in an ensemble
2025-11-03 18:41:55 +01:00
Magne Sjaastad 98fe652f5d Simplifies relative permeability plot axis title.
Updates the relative permeability plot's X-axis title to use shorter, more standard labels ("SWAT" and "SGAS") instead of the longer "Water" and "Gas" versions. This improves readability and consistency with common saturation representations.
2025-11-03 16:07:40 +01:00
Magne Sjaastad 186992ebb6 Improves relative permeability plot display
Enhances the relative permeability plot by:

- Adding support for SATNUM and IMBNUM result display in cell reference information.
- Disabling the imbibition curve selection by default and enabling it dynamically based on the IMBNUM value.
- Removing the `satnum` argument from `calculateRelPermCurves` as it's no longer needed.
2025-11-03 16:07:40 +01:00
Magne Sjaastad 597cfd4d30 Improves geometry tools robustness and accuracy
* Replace asserts with alternatives
* Refactors GeometryTools for improved robustness
2025-11-03 16:06:58 +01:00
Magne Sjaastad fd5bdc96d2 Enables experimental MSW export to new folder
Adds a feature keyword to enable an experimental MSW export
to a separate folder, facilitating testing of a new data
extraction approach.
2025-11-03 13:40:46 +01:00
Magne Sjaastad 88cf84a23a Assign branch number to main branches before completions 2025-11-03 13:40:46 +01:00
Kristian Bendiksen 92f2b887ad RifOpmFlowDeckFile: fix problem when replacing keyword in EDIT section. 2025-11-03 09:56:19 +01:00
Kristian Bendiksen 1cc1073af0 Remove MAPAXES keyword (for now). 2025-11-03 09:56:19 +01:00
Kristian Bendiksen 2e363e4d73 Update OPERNUM correctly. 2025-11-03 09:56:19 +01:00
Kristian Bendiksen 241cc34ed4 Find last created opernum. 2025-11-03 09:56:19 +01:00
Kristian Bendiksen 788e054734 Export sector model: Set opernum in regdims. 2025-11-03 09:56:19 +01:00
Kristian Bendiksen 1a09ac0560 OPERNUM: fix size of result vector. 2025-11-03 09:56:19 +01:00
Kristian Bendiksen 864c56866d Sector Export: fix well properties in deck file. 2025-11-03 09:56:19 +01:00
Kristian Bendiksen 2f3c0480fc Thermal Fracture Import: block fracture without time steps. 2025-10-31 15:52:23 +01:00
Kristian Bendiksen 107a4dfe95 Thermal Fracture Import: handle more date time formats. 2025-10-31 15:52:23 +01:00
Magne Sjaastad f9ef7a1413 Removes clang-tidy check
Removes the `readability-container-size-empty` check from clang-tidy
2025-10-31 13:21:19 +01:00
magnesj 64f2cd6c14 Fixes by clang-tidy 2025-10-31 08:15:21 +01:00
magnesj 11fc64871a Fixes by cmake-format 2025-10-31 08:11:19 +01:00
Magne Sjaastad ab1f053449 Rename and move Rig files 2025-10-31 08:11:19 +01:00
Magne Sjaastad a88fecdaa4 Adds MSW table data preparation tools
Introduces new classes and functions to prepare MSW table data for export.
2025-10-31 08:11:19 +01:00
Magne Sjaastad 8b9d6aa42c Adds support for MSW completion data
Introduces structures and classes to represent and manage data from MSW completion tables (WELSEGS, COMPSEGS, WSEGVALV, WSEGAICD).
2025-10-31 08:11:19 +01:00
Magne Sjaastad f384b5ef38 Adds helper functions to table formatter 2025-10-31 08:11:19 +01:00
jonjenssen 503de1ed81 Make sure we check for valid case data before trying to create well completion data 2025-10-31 00:13:55 +01:00
JJ 948d6d82a6 Well planning: prepare for improved MSW handling (#13096)
* Refactor MSW data handling in opm flow job
2025-10-30 11:57:22 +01:00