Skip to content

#14620 Sector model export: limit deck lines to 132 characters - #14623

Merged
kriben merged 1 commit into
devfrom
14620-limit-deck-lines-to-132-characters
Aug 31, 2026
Merged

#14620 Sector model export: limit deck lines to 132 characters#14623
kriben merged 1 commit into
devfrom
14620-limit-deck-lines-to-132-characters

Conversation

@kriben

@kriben kriben commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Table keywords such as PVTO and SGOF were rewritten by opm-common as one unbounded line when saving the deck, exceeding the 132 character line limit of Eclipse 100 and making exported sector models unusable there.

Update the custom-opm-common submodule so DeckOutput tracks the current line width and wraps records at item boundaries before a line exceeds 132 characters. Quoted values are never split. Add a regression test that round-trips a deck with a long rel. perm. table and a record of quoted mnemonics.

Fixes #14620.

Table keywords such as PVTO and SGOF were rewritten by opm-common as one
unbounded line when saving the deck, exceeding the 132 character line
limit of Eclipse 100 and making exported sector models unusable there.

Update the custom-opm-common submodule so DeckOutput tracks the current
line width and wraps records at item boundaries before a line exceeds
132 characters. Quoted values are never split. Add a regression test
that round-trips a deck with a long rel. perm. table and a record of
quoted mnemonics.
@kriben kriben self-assigned this Aug 27, 2026
@kriben
kriben requested a review from jonjenssen August 31, 2026 11:41
@kriben
kriben marked this pull request as ready for review August 31, 2026 13:57
@kriben
kriben merged commit fd35578 into dev Aug 31, 2026
25 of 27 checks passed
@kriben
kriben deleted the 14620-limit-deck-lines-to-132-characters branch August 31, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sector model export: Limit generated deck lines to 132 characters for Eclipse 100 compatibility

2 participants