Skip to content

bugfix: allowNonConverged warning instead of aborting#4075

Open
MelReyCG wants to merge 4 commits into
developfrom
bugfix/rey/repair-allowNonConverged
Open

bugfix: allowNonConverged warning instead of aborting#4075
MelReyCG wants to merge 4 commits into
developfrom
bugfix/rey/repair-allowNonConverged

Conversation

@MelReyCG
Copy link
Copy Markdown
Contributor

@MelReyCG MelReyCG commented Jun 4, 2026

When max sub-steps are exceeded and allowNonConverged is enabled, the solver now warns (rank 0) and continues instead of aborting (this PR assumes allowNonConverged was intended to let the simulation continue even when not converging).

@MelReyCG MelReyCG self-assigned this Jun 4, 2026
@MelReyCG MelReyCG added ci: run CUDA builds Allows to triggers (costly) CUDA jobs flag: ready for review ci: run integrated tests Allows to run the integrated tests in GEOS CI labels Jun 4, 2026
@MelReyCG MelReyCG changed the title bugfix: allowNonConverged bugfix: allowNonConverged warning instead of aborting Jun 4, 2026
if( m_nonlinearSolverParameters.m_allowNonConverged )
{
GEOS_WARNING_IF( dtRemaining > 0.0 && MpiWrapper::commRank() == 0,
"Maximum allowed number of sub-steps reached, non-converged solutions are allowed so the simulation continues with innacurate results.",
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.

Suggested change
"Maximum allowed number of sub-steps reached, non-converged solutions are allowed so the simulation continues with innacurate results.",
"Maximum allowed number of sub-steps reached but non-converged solutions are allowed so the simulation will continue with potentially inaccurate results.",

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants