Skip to content

Rsconst#6839

Closed
ElyesAhmed wants to merge 5 commits intoOPM:masterfrom
ElyesAhmed:RSCONST_ENQ
Closed

Rsconst#6839
ElyesAhmed wants to merge 5 commits intoOPM:masterfrom
ElyesAhmed:RSCONST_ENQ

Conversation

@ElyesAhmed
Copy link
Copy Markdown
Contributor

@ElyesAhmed ElyesAhmed commented Feb 18, 2026

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

@bska bska added the manual:new-feature This is a new feature and should be described in the manual label Feb 18, 2026
@ElyesAhmed ElyesAhmed force-pushed the RSCONST_ENQ branch 3 times, most recently from 660d77a to 980628d Compare March 5, 2026 10:04
@ElyesAhmed ElyesAhmed force-pushed the RSCONST_ENQ branch 4 times, most recently from b9f2349 to bbf56f2 Compare March 19, 2026 07:47
@ElyesAhmed ElyesAhmed marked this pull request as ready for review March 23, 2026 13:37
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.
@bska
Copy link
Copy Markdown
Member

bska commented Mar 27, 2026

jenkins build this opm-common=4993 please

@bska
Copy link
Copy Markdown
Member

bska commented Mar 30, 2026

jenkins build this please

@bska
Copy link
Copy Markdown
Member

bska commented Mar 30, 2026

jenkins build this opm-common=5094 please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual:new-feature This is a new feature and should be described in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants