Skip to content

Conversation

@bska
Copy link
Member

@bska bska commented May 27, 2025

This commit adds a procedure for expanding missing undersaturated states in PVTO/PVTG in the low-level Pvt*Table classes on top of which the higher level types are built. This, as an added benefit, directly ensures that we emit fully expanded PVTO/PVTG tables to the .INIT file.

To this end, equip the base class PvtxTable with a helper function

void PvtxTable::populateMissingUndersaturatedStates()

which will invoke the virtual function

makeScaledUSatTableCopy(src, dest)

in its derived classes–especially PvtoTable and PvtgTable–for each missing undersaturated state. The type-specific procedures for PvtoTable and PvtgTable is defined in such a way that the scaled copies preserve oil compressibility.

This PR completes PVT table output and (finally) closes #694.

@bska bska added the manual:bugfix This PR is a bug fix and should be noted in the manual label May 27, 2025
@bska
Copy link
Member Author

bska commented May 27, 2025

In a sense this is a natural conclusion to #3779 and, effectively, a prerequisite to #4555. I am nevertheless creating the PR in draft mode pending more extensive testing. I expect that some of our regression test cases will need updated .INIT files following this work.

@bska
Copy link
Member Author

bska commented May 27, 2025

jenkins build this failure_report please

@bska bska force-pushed the fill-usat-states branch 9 times, most recently from fb3235f to c6c9368 Compare June 2, 2025 11:21
@bska
Copy link
Member Author

bska commented Jun 2, 2025

jenkins build this only_summary please

@bska
Copy link
Member Author

bska commented Jun 2, 2025

jenkins build this opm-simulators=6315 only_summary failure_report please

@bska bska force-pushed the fill-usat-states branch 2 times, most recently from 80a26b2 to 9a25a55 Compare June 6, 2025 07:50
@bska bska force-pushed the fill-usat-states branch 9 times, most recently from 09a83a2 to 7d8cd77 Compare June 19, 2025 09:30
@bska bska force-pushed the fill-usat-states branch 4 times, most recently from d50508e to 92049ec Compare June 24, 2025 09:45
@bska bska force-pushed the fill-usat-states branch 5 times, most recently from ac7fd15 to 2bcd55c Compare November 17, 2025 14:49
@bska bska force-pushed the fill-usat-states branch 3 times, most recently from d19faaf to 5d6207f Compare December 3, 2025 12:34
@bska bska force-pushed the fill-usat-states branch 10 times, most recently from 453498c to 1f0805d Compare December 10, 2025 15:23
@bska bska force-pushed the fill-usat-states branch 8 times, most recently from 62b76b7 to 6f81961 Compare December 17, 2025 16:24
@bska bska force-pushed the fill-usat-states branch 2 times, most recently from e156af0 to f1c18e6 Compare December 19, 2025 08:35
This commit adds a procedure for expanding missing undersaturated
states in PVTO/PVTG in the low-level Pvt*Table classes on top of
which the higher level types are built.  This, as an added benefit,
directly ensures that we emit fully expanded PVTO/PVTG tables to the
.INIT file.

To this end, equip the base class PvtxTable with a helper function

    void PvtxTable::populateMissingUndersaturatedStates()

which will invoke the virtual function

    makeScaledUSatTableCopy(src, dest)

in its derived classes--especially PvtoTable and PvtgTable--for each
missing undersaturated state.  The type-specific procedures for
PvtoTable and PvtgTable is defined in such a way that the scaled
copies preserve oil compressibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual:bugfix This PR is a bug fix and should be noted in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EclipseIO::writeInitial Does Not Output Expanded PVT Tables

1 participant