Conversation
GitPaean
force-pushed
the
comp-pvt-regions
branch
from
September 28, 2026 20:03
90ca780 to
c97fc15
Compare
GitPaean
force-pushed
the
comp-pvt-regions
branch
2 times, most recently
from
September 29, 2026 22:11
c6a8885 to
aa62385
Compare
With EQUIL item 10 = 1 the COMPVD rows give the composition versus depth, so they decide where the gas zone ends. A contact outside the gap between the last vapour row and the first liquid row now moves to the nearest edge of that gap with a warning instead of stopping the run. Type 3 keeps the error, as it uses the contact as reference depth.
Its deck comes from OPM/opm-tests#1638.
A cell on the contact belongs to the liquid zone, so a contact moved onto the last vapour row gave that row's depth the liquid composition. With EQUIL item 10 = 1 the rows decide the phase.
The water took the liquid column's pressure even when the gas zone reaches the water-oil contact, as it does once the gas-oil contact lies below it.
Clamp once and compare, so the row gap is defined in one place. Once the boundary moves it is no longer the EQUIL contact, so the later messages stop calling it that. The rejection test checks which error it gets.
The flash intensive quantities took the reference porosity, so ROCK had no effect on compositional runs. Scale the porosity with the pressure as the black-oil model does; the rock table follows PVTNUM or ROCKNUM. ROCKCOMP is rejected, as its compaction tables do not enter the porosity.
…Flow The cells took the water PVT and the water surface density of the first PVT region. Select the cell's PVT region in the parameter cache.
The water column of every equilibration region took the water PVT of the first PVT region. Integrate a water column for each PVT region among the cells of an equilibration region and give each cell the column of its own region. A datum below the water-oil contact gives the pressure of all of these waters, so there they must reach the contact at the same pressure.
GitPaean
force-pushed
the
comp-pvt-regions
branch
from
October 3, 2026 23:14
aa62385 to
c518ccb
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compositional Flow took PVT region 1 everywhere and ignored rock compressibility:
Needs OPM/opm-common#5400 and OPM/opm-tests#1628.