Skip to content

TUNINGDP keyword#4890

Merged
totto82 merged 7 commits into
OPM:masterfrom
svenn-t:tuningdp
Jan 23, 2026
Merged

TUNINGDP keyword#4890
totto82 merged 7 commits into
OPM:masterfrom
svenn-t:tuningdp

Conversation

@svenn-t
Copy link
Copy Markdown
Contributor

@svenn-t svenn-t commented Jan 12, 2026

This PR implements parsing of the TUNINGDP keyword in the SCHEDULE section. The keyword sets tolerances for max. solution update changes requires for convergence. Note that there are separate default values depending on if TUNINGDP is present in the deck or not. Items for linear solver tolerances (TRGLCV and XXXLCV) are handled the same as in TUNING. A new event trigger for TUNINGDP is also implemented. Additionally, items for max. RS and RV changes have been implemented, which are OPM Flow specific items.

This PR is in draft mode for testing.

- Note: different default whether TUNINGDP is set or not!
- New event trigger for TUNINGDP
OPM exclusive options with default value 0, i.e. disabled.
@akva2 akva2 added the manual:enhancement This is an enhancement/improvent that needs to be documented in the manual label Jan 13, 2026
Comment thread tests/parser/TuningTests.cpp Outdated
@akva2
Copy link
Copy Markdown
Member

akva2 commented Jan 13, 2026

please add TuningDp to test_Serialization.cpp

@svenn-t
Copy link
Copy Markdown
Contributor Author

svenn-t commented Jan 13, 2026

please add TuningDp to test_Serialization.cpp

Added now in the new update, thanks for the reminder!

@totto82
Copy link
Copy Markdown
Member

totto82 commented Jan 13, 2026

jenkins build this opm-simulators=6723 please

1 similar comment
@totto82
Copy link
Copy Markdown
Member

totto82 commented Jan 13, 2026

jenkins build this opm-simulators=6723 please

Copy link
Copy Markdown
Member

@totto82 totto82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Only one question about units on RS/RV that should be answered/fixed before merging.

{
"name": "TRGDDRS",
"value_type": "DOUBLE",
"default": 0.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not RS and RV have dimensions?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, fixed!

@svenn-t svenn-t marked this pull request as ready for review January 22, 2026 12:33
@totto82
Copy link
Copy Markdown
Member

totto82 commented Jan 22, 2026

jenkins build this opm-simulators=6723 please

@totto82 totto82 merged commit 893eb62 into OPM:master Jan 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual:enhancement This is an enhancement/improvent that needs to be documented in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants