Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and use closing reason CONVERGENCE #6097

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

totto82
Copy link
Member

@totto82 totto82 commented Mar 19, 2025

See #6067

Depends on OPM/opm-common#4529

@totto82 totto82 requested a review from GitPaean April 2, 2025 07:03
@@ -880,21 +880,18 @@ namespace Opm {
bool wellIsStopped = false;
if (this->wellTestState().well_is_closed(well_name))
{
if (well_ecl.getAutomaticShutIn()) {
//stopped wells where cross flow is not allowed is shut
//so is wells shut by the simulator due to convergence issues.
Copy link
Member

@GitPaean GitPaean Apr 2, 2025

Choose a reason for hiding this comment

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

space after //

. or , after is shut, and so is should be so are.

if (well_ecl.getAutomaticShutIn()) {
//stopped wells where cross flow is not allowed is shut
//so is wells shut by the simulator due to convergence issues.
bool shut_well = well_ecl.getAutomaticShutIn() || !well_ecl.getAllowCrossFlow()
Copy link
Member

Choose a reason for hiding this comment

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

const before bool.

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