Rsconst#6839
Closed
ElyesAhmed wants to merge 5 commits intoOPM:masterfrom
Closed
Conversation
660d77a to
980628d
Compare
b9f2349 to
bbf56f2
Compare
ElyesAhmed
added a commit
to ElyesAhmed/opm-common
that referenced
this pull request
Mar 27, 2026
Implement support for the RSCONST Eclipse keyword, which defines a two-phase oil-water system where oil is treated as dead oil with a constant dissolved gas-oil ratio (Rs) and bubble point pressure (Pb). We aslo added some unit tests for that Key changes: - Add new ConstantRsDeadOilPvt class that uses PVDO tables for oil PVT properties (Bo, viscosity) with a single global constant Rs from the RSCONST keyword - Add ConstantRsOil approach to OilPvtMultiplexer to dispatch to the new PVT implementation - Add RsconstTable parser for the RSCONST keyword input - Add RSCONST to the list of recognized parser keywords - Enforce bubble point pressure constraint: simulation terminates if pressure falls below Pb as specified in the RSCONST manual See OPM/opm-simulators#6839 for the corresponding simulator changes.
Member
|
jenkins build this opm-common=4993 please |
Member
|
jenkins build this please |
Member
|
jenkins build this opm-common=5094 please |
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.
This is some steps toward supporting RSCONST: where we have a two-phase oil water system and the oil
should be treated as dead oil! Here we use PVDO to get the PVT properties + Rs as a single constant scaling factor.
The keyword causes the oil density to be modified to include the "dissolved" gas, and causes the
gas flow rates to be set equal to Rs * the oil flow rate.
see OPM/opm-common#4993 for the related changes in opm-common