Skip to content

fix: Global well residual norm calc#4100

Open
tjb-ltk wants to merge 4 commits into
developfrom
fix/byer3/wellresidual_shutwell
Open

fix: Global well residual norm calc#4100
tjb-ltk wants to merge 4 commits into
developfrom
fix/byer3/wellresidual_shutwell

Conversation

@tjb-ltk

@tjb-ltk tjb-ltk commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

If an open well had non converged residual followed by a shut well, the max well residual was set to zero, allowing global convergence with a non converged well, this is only an issue for compositional models. The non convergence would be in the well segment flows. Checks on material balance for reservoir cells with well perforations is not impacted by this bug.

@tjb-ltk tjb-ltk self-assigned this Jul 21, 2026
@tjb-ltk tjb-ltk added type: bug Something isn't working ci: run CUDA builds Allows to triggers (costly) CUDA jobs flag: ready for review flag: requires rebaseline Requires rebaseline branch in integratedTests ci: run integrated tests Allows to run the integrated tests in GEOS CI ci: run code coverage enables running of the code coverage CI jobs labels Jul 21, 2026
@tjb-ltk
tjb-ltk requested review from jafranc and victorapm July 21, 2026 20:44
@tjb-ltk

tjb-ltk commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

@victorapm @jafranc This is a fix for the bug you found in the wm_we branch. It's probably better if it has dedicated PR to isolate changes in baselines for fixes that change behavior. GEOS branch doesn't have a unified treatment of shut wells so only change is in compositional. The 2 models with differences in this PR show differences in wm_we branch.

@victorapm victorapm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great, thanks Tom!

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

Labels

ci: run code coverage enables running of the code coverage CI jobs ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI flag: ready for review flag: requires rebaseline Requires rebaseline branch in integratedTests type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants