Commit Graph
45 Commits
Author SHA1 Message Date
JJ e0c1f23e6e Support for ensemble jobs (#14773)
Initial support for running well planning opm flow jobs for ensembles
2026-09-17 14:03:54 +02:00
Kristian Bendiksen 65f16d04ef #14622 Sector export: Preserve separate include files for ACTNUM and FAULTS
Sector model export removed all ACTNUM and FAULTS keywords from the deck
and re-inserted the sector-specific replacements at the end of the GRID
section, which always lands in the main DATA file. Decks that keep these
keywords in separate include files lost their file organization, leaving
the original include files empty while the data was written inline.

Collapse duplicates to a single occurrence instead of removing all
occurrences, so the subsequent in-place replacement keeps the keyword in
its original file when the deck is saved with OutputMode::COPY. ACTNUM
keeps the last occurrence since a later ACTNUM overrides an earlier one;
FAULTS keeps the first so fault definitions do not move past keywords
referencing them.
2026-08-31 20:14:38 +02:00
Magne Sjaastad 2515a4daea #14385 Catch exceptions when saving deck file during sector model export 2026-07-28 14:53:03 +02:00
jonjenssen 6b7f87e260 Make sure to add, not merge, WELSEGS and COMPSEGS keywords 2026-07-10 16:30:18 +02:00
Kristian Bendiksen f881899815 #13855 Ensure BCPROP goes first in schedule section during sector export 2026-04-17 19:56:49 +02:00
Kristian Bendiksen 1f42f70d26 OpmFlowDeck: avoid swallowing error messages when loading deck. 2026-03-16 12:53:49 +01:00
Jon Jenssen f7154a8146 Fix crash issue with empty blocks when removing block keywords from file deck 2026-03-13 11:41:20 +01:00
jonjenssen f47de8457c Fix segfault on startup on ubuntu25.10/gcc15.2 2026-03-06 11:35:59 +01:00
JJ ecd89bc8ab Sector model export: support WLIST kw (#13641)
* Support ADD and NEW operations in WLIST kw
* Add support for DEL operation
2026-02-23 20:15:04 +01:00
Kristian Bendiksen 7db39cf092 #13467 Add model padding functionality for sector model export
Add Z-direction padding support for sector models based on OPM-Flow's
padmodel.cpp. This feature enables users to add padding layers above
and/or below the exported sector model grid.

Adapts padmodel.cpp from
https://github.com/hnil/opm-flowgeomechanics/blob/geomech_hypre_cgal/examples/padmodel.cpp
Commit: 5ee483e

Fixes #13467.
2026-02-16 18:42:15 +01:00
Kristian Bendiksen 92d6276266 Refactor: replace generic replaceKeyword with proper keyword construction. 2026-02-16 18:42:15 +01:00
JJ e1cc5a8186 Sector model export: Handle removing keyword blocks (#13607)
* Add support for removing block keywords
2026-02-12 18:07:26 +01:00
JJ 5bb431ef33 Improve handling of data keywords in deck files. (#13423)
* Handle data keywords, and use data flag to check if a result with a given name should be added or not to the output file.
2026-01-14 12:06:59 +01:00
jonjenssen 3821434022 Support removing user specified keywords from output sector model. 2026-01-12 08:13:43 +01:00
Kristian Bendiksen 2bba6afe10 Sector Export: dump with "INLINE" to workaround strange inserts. 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 eb08ceeedc Fix overwriting wrong keyword in some cases 2025-11-14 23:19:41 +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
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 788e054734 Export sector model: Set opernum in regdims. 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
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
Kristian Bendiksen 4e736a8cc0 Refactor: move opm-flow deck keyword generation to factory. 2025-10-24 19:33:35 +02:00
Kristian Bendiksen 2a82ee4670 Simulation Input Export: handle faults. 2025-10-24 19:33:35 +02:00
JJ 991e693f4d WELSPECS and COMPDAT export improvements (#13068)
* Generate keywords directly.
* Make sure ensemble settings in duplicated job is reset.
* Use same sort as file export
2025-10-24 11:10:25 +02:00
Kristian Bendiksen b329318e05 Replace more keywords. 2025-10-22 16:20:50 +02:00
Kristian Bendiksen ebb8d62eb6 Replace values in deck file values. 2025-10-22 16:20:50 +02:00
Kristian Bendiksen 5373484615 #12950 Sector Model: Add BCPROP keyword. 2025-10-13 14:14:44 +02:00
Kristian Bendiksen dd689aec50 #12950 Sector Model: Add BCCON keyword. 2025-10-13 14:14:44 +02:00
jonjenssen 6fc8e826cf Add missing time record to dates keyword 2025-10-10 12:10:53 +02:00
magnesj 5d26f53472 Fixes by clang-tidy 2025-10-08 07:48:37 +02:00
JJ 11942e377f Opm Flow: Support for adding more dates to data file (#12991)
* Add support for appending dates keyword at end of file
* Make sure well group from job is used
* Increase well groups in welldims in case a new group is made
* GUI cleanup
2025-10-07 18:21:15 +02:00
jonjenssen a6da2ab30c Allow setting well group for new well in job, with list of existing groups 2025-10-03 08:17:17 +02:00
JJ e91ec80f89 Opm Flow Simulations: use editors for wconprod/wconinje parameters (#12969)
* Add field editors for open well keywords.
* Clean up keyword handling a bit
2025-10-02 14:52:19 +02:00
Kristian Bendiksen 8d3ff3aa41 Use keywords from opm-common 2025-10-01 13:26:32 +02:00
Kristian Bendiksen ee8a512e66 Refactor: extract duplicated code. 2025-10-01 13:26:32 +02:00
Kristian Bendiksen c956a91376 Deck File: Add api for adding OPERATER keyword. 2025-10-01 13:26:32 +02:00
Kristian Bendiksen 33b2d14a6b Deck File: Add api for including files. 2025-10-01 13:26:32 +02:00
Kristian Bendiksen 7de242ffb0 Deck File: Add api for adding regdims. 2025-10-01 13:26:32 +02:00
JJ 727ba200ba Opm Flow Job DATES updates (#12952)
* Split dates keywords with multiple records into single record keywords
Add support for setting environment when running opm flow

* Date handling improvements

* Clean up date and position handling a bit

* Add support for setting a stop date for the simulation

* Use Opm::ParserKeywords keywordName for all keywords

* Re-enable msw support (mark as experimental)

* Bump version to dev-03
2025-09-29 16:57:21 +02:00
JJ af64e541f4 Opm flow job - well updates for field testing (#12946)
* Opm flow job improvements:
-  Automatic adjustment of WELLDIMS
-  Enable provided test file to run
-  Improve job progress

* Bump dev version
2025-09-24 16:46:48 +02:00
magnesj 59a53952f7 Fixes by clang-tidy 2025-06-16 07:04:41 +02:00
JJ bda598dd37 Run Opm Flow jobs from ResInsight (#12580) 2025-06-11 15:43:53 +02:00