Skip to content

Make the single-connection water cases easier and add ORAT and GRAT cases - #1640

Merged
bska merged 3 commits into
OPM:masterfrom
GitPaean:easier-single-connection-well-cases
Oct 6, 2026
Merged

bska merged 3 commits into
OPM:masterfrom
GitPaean:easier-single-connection-well-cases

Conversation

@GitPaean

@GitPaean GitPaean commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #1621 for OPM/opm-simulators#7442.

The well model in that PR is at an early stage, so the cases should not be too hard to solve yet. The cells are small (1 m³ of pore volume each), and a well sitting on the boundary between a rate control and its bottom-hole pressure limit can switch back and forth within a time step. The first commit keeps the wells off a second limit:

  • the LRAT injector runs on bottom-hole pressure control from the start;
  • the WATERFLOOD and WATER_TO_GAS injectors get a 250 bar pressure limit they do not reach;
  • WRAT ends at day 20, before its producer falls back to its pressure limit.

The second commit adds two cases, so that the oil, water, gas and liquid rate controls of a producer are all covered:

  • SIMPLE_COMP_WATER_ORAT: the water flood producer holds an oil rate until water breaks through around day 75, when its bottom-hole pressure limit takes over;
  • SIMPLE_COMP_WATER_GRAT: the CO2 flood producer holds a gas rate for all 50 days while it lifts mobile water.

The simulator PR registers the two new cases next to the existing four. CI will generate their reference results.

@GitPaean
GitPaean marked this pull request as draft October 5, 2026 10:03
Keep the wells off a second limit, where the small cells make a control
switch unstable: the LRAT injector runs at its pressure limit from the
start, the WATERFLOOD and WATER_TO_GAS injectors get a pressure limit
they do not reach, and WRAT ends at day 20, before its producer falls
back to its pressure limit.
The water flood producer holds an oil rate until water breaks through,
and the CO2 flood producer holds a gas rate while it lifts mobile water.
@GitPaean
GitPaean force-pushed the easier-single-connection-well-cases branch from 630c23a to 2c98ed1 Compare October 6, 2026 09:20
@GitPaean
GitPaean marked this pull request as ready for review October 6, 2026 10:12
@GitPaean
GitPaean requested review from bska and totto82 October 6, 2026 10:12
@GitPaean

GitPaean commented Oct 6, 2026

Copy link
Copy Markdown
Member Author

None of the cases are in the regression running in the master branch yet, so the PR is okay to go in by itself.

@bska bska left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and I'll merge into master.

@bska
bska merged commit a2e00c0 into OPM:master Oct 6, 2026
@GitPaean
GitPaean deleted the easier-single-connection-well-cases branch October 6, 2026 10:28
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.

2 participants