Commit Graph
18405 Commits
Author SHA1 Message Date
Kristian Bendiksen 3c2301c56b Simulation Input: Move boundary condition enum to RigSimulationInput. 2025-11-19 16:47:27 +01:00
Kristian Bendiksen eadfb4846d Simulation Input: set correct SPECGRID properties. 2025-11-19 16:47:27 +01:00
Kristian Bendiksen 59584b5681 Simulation Input: Remove unused argument. 2025-11-19 16:47:27 +01:00
Magne Sjaastad fcbafb69b9 Bump to 2025.09.4-dev.02 2025-11-19 14:57:16 +01:00
Magne Sjaastad a45a4f3b85 Fix spelling in keywords 2025-11-19 14:33:21 +01:00
Magne Sjaastad 0f20fd4e92 Reduce memory usage and improve performance for summary reload
* Select top level summary cases and ensembles for reload
Simplifies the summary case reloading process by removing the unnecessary `createAddressObjects` parameter and instead using the `showTreeNodes` flag to determine when to create address objects.

This change optimizes the loading process, especially for ensembles, by avoiding the creation of addresses for all cases, which improves performance. It also moves the responsibility of building tree nodes into a dedicated function `buildTreeNodesIfRequired` which is only called when needed.

* Remove obsolete parallel loop
* Use zoomAll
* Add updateConnectedEditors to make sure the tree nodes are updated correctly
2025-11-19 14:30:13 +01:00
Magne Sjaastad 544e9eedd9 Improve spell checker using codespell
* Configures automated spell checking with codespell
Adds GitHub workflows and configuration files for automated spell checking using `codespell`.

This includes:
- A workflow for checking pull requests and preventing new typos
- A workflow for automatically fixing typos in the main codebase
- Configuration files for `codespell` to ignore specific terms and file types
- Documentation on how to use and configure the spell checking workflows.

* Corrects minor spelling and grammar errors.
2025-11-19 10:25:32 +01:00
Magne Sjaastad 073e80d0a0 Fix nodiscard warnings in ObservedDataParser-Test.cpp (#13191)
* Fix nodiscard warnings in ObservedDataParser-Test.cpp
2025-11-18 12:24:58 +01:00
Magne Sjaastad 489a1e5bfe Adds cross-reference to table data object
Adds a cross-reference to the simulatortabledata object to improve function description.
2025-11-18 08:49:04 +01:00
jonjenssen 839e85a166 Adjust default values 2025-11-18 02:23:58 +01:00
jonjenssen d559baca97 Try to use a parameter file if we have many command line options for opm flow. 2025-11-18 02:23:58 +01:00
Magne Sjaastad 0b74a4accc Removes addOneBasedCellIndex function 2025-11-17 19:45:14 +01:00
Magne Sjaastad 6c5ef081af Guards dataChanged signal emission
Ensures that the dataChanged signal is only emitted if the index is valid.
This prevents potential issues when the index is invalid, such as during object destruction.
2025-11-17 19:44:08 +01:00
Kristian Bendiksen c47e8ac76f Refactor: move simulation file/input code to separate class. 2025-11-17 15:48:12 +01:00
Kristian Bendiksen 3a8d521bc2 Sector Export: fix bug comparing caf::VecIjk1 with caf::VecIjk0. 2025-11-17 13:04:13 +01:00
Kristian Bendiksen 5a7e987034 Refactor: Use VecIjk0 instead of Vec3st. 2025-11-17 13:04:13 +01:00
Magne Sjaastad 7e299c4841 Add support for more MSW tables in Python
* Use caf::VecIjk0
* Adds MSW tables to the gRPC interface
* Adds unified completion data retrieval
* Add unite tests for MSW data
2025-11-17 11:54:02 +01:00
jonjenssen 81c0d688c5 Add tolerance command line options for opm flow 2025-11-17 08:31:02 +01:00
Kristian Bendiksen 7a36ea9932 Add EQUALS keyword processing. 2025-11-15 11:22:44 +01:00
Kristian Bendiksen 3e668a049d Refactor: move transformIjkToSectorCoordinates and add tests. 2025-11-15 11:22:44 +01:00
Kristian Bendiksen eb02db6cc0 Sector Export: fix indexes in EQUALS keyword. 2025-11-15 11:22:44 +01:00
Kristian Bendiksen 2bba6afe10 Sector Export: dump with "INLINE" to workaround strange inserts. 2025-11-15 11:22:44 +01:00
Kristian Bendiksen c3286d9a7e Sector Export: changes to handle model5 from opm-tests. 2025-11-15 11:22:44 +01:00
Kristian Bendiksen 9f597c63f9 Sector Export: handle missing OPERNUM.
Also use keyword when inserting in deck.
2025-11-15 11:22:44 +01:00
jonjenssen df8fbfe458 Adjust wsegdims values based on MSW data 2025-11-14 23:19:41 +01:00
jonjenssen eb08ceeedc Fix overwriting wrong keyword in some cases 2025-11-14 23:19:41 +01:00
Kristian Bendiksen 38c691d9a4 Refactor: Update usage of caf::VecIjk. 2025-11-14 14:44:21 +01:00
Kristian Bendiksen 3b81080086 Add caf::VecIjk0 and caf::VecIjk1. 2025-11-14 14:44:21 +01:00
Kristian Bendiksen c15956cf98 Vec3: allow ijk indexing for integral vectors. 2025-11-14 14:44:21 +01:00
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 9c62ab5e56 Bump to 2025.09.4-dev.01 2025-11-10 16:31:03 +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
Magne Sjaastad 5fd210e4c5 Update opm-flowdiagnostics to support imbibition curves 2025-11-07 16:00:35 +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