Commit Graph
3176 Commits
Author SHA1 Message Date
Magne Sjaastad a28dfa29af Compute correct minimum IJ cell size
Fix bug introduced in 5c48383d71
2025-11-25 12:41:33 +01:00
Magne Sjaastad 83db509b10 MSW: Make sure extension of custom file name is included 2025-11-25 12:41:20 +01:00
Magne Sjaastad bb36404b84 Add test for relperm curve data 2025-11-25 10:48:18 +01:00
Magne Sjaastad a803aa1298 Move RigFlowDiagTimeStepResult to separate file 2025-11-25 10:48:18 +01:00
Magne Sjaastad 7a029b2de7 Do not log when a degenerate polygon is detected
Do not log here - this is a common situation when cube faces only touch at edges or corners. The logging system can be flooded in some cases.
2025-11-25 09:45:12 +01:00
Kristian Bendiksen 3c653b5880 #13081 Python: add grid_property_for_positions for RoffCase too.
Fixes #13081.
2025-11-24 15:44:26 +01:00
Magne Sjaastad e490d9ef87 Refactors MSW completion data extraction
- redirects export functions to use new MSW extraction code
- removes previous implementation
- fix missing parts of RigMswDataFormatter
2025-11-24 12:47:26 +01:00
Kristian Bendiksen 331edd7784 #13220 Replace Case: read and recompute faults correctly.
Was reading from a cached location.
2025-11-24 12:28:48 +01:00
Magne Sjaastad 526cae24d9 #13218 Fix display of relative permeability plots for LGR 2025-11-21 21:38:04 +01:00
Kristian Bendiksen b54a335270 #13026 OSDU: Get wellbores by field ID instead of wells
Changed the API call order to first retrieve wellbores by field ID,
then extract well information from the wellbore data.WellID field.

Previously:
- Get wells by field ID
- For each well, get wellbores by well ID

Now:
- Get wellbores by field ID (wellbores contain data.WellID)
- Wells are identified from the wellbores' wellID field

Updated RiuWellImportWizard to use the new flow.
2025-11-21 14:07:01 +01:00
jonjenssen 7b6934a1ff Make sure property editor(s) and tree view selections are in sync after loading a project 2025-11-21 12:21:56 +01:00
Magne Sjaastad 15580c761a #13212 Guard null pointer use 2025-11-21 07:34:28 +01:00
Magne Sjaastad 8c473b8a63 Fix typo in welspecs proto file 2025-11-20 13:52:58 +01:00
Magne Sjaastad 1039fa54c4 Add missing updateConnectedEditors
The update logic was changed in 0f20fd4e92, and this fixes missing updates
2025-11-20 13:29:24 +01:00
Magne Sjaastad c1409d3ce7 Avoid display of Reload on individual summary vector nodes 2025-11-20 10:18:54 +01:00
Kristian Bendiksen c4177b6282 Simulation Input: Reintroduce porv multiplier. 2025-11-19 16:47:27 +01:00
Kristian Bendiksen 655737aa33 Simulation Input: Add test for bccon/bcprop. 2025-11-19 16:47:27 +01:00
Kristian Bendiksen 0626c2e199 Simulation Input: reintroduce OPERNUM+OPERATER/BCCON+BCPROP.
Was incorrectly removed in the refactoring in c47e8ac76f
2025-11-19 16:47:27 +01:00
Kristian Bendiksen 4df9bc49c8 Simulation Input: add test case for opm-tests model5. 2025-11-19 16:47:27 +01:00
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 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
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
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
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