Repository navigation
Conversation
When no BCGSTAB step lowered the residual, the initial guess (zero) was returned, so the variables got no update. With few linear iterations (RAE2822 SA, LINEAR_SOLVER_ITER= 3) the turbulence variable stayed frozen. Only the computed iterates are now candidates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
@bigfooted test case:
After #2933 the turbulence linear residual (LinSolResTurb) is exactly 0 (no update) in 2188 of 2199 iterations. |
bigfooted
reviewed
Oct 15, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l_guess # Conflicts: # TestCases/hybrid_regression.py
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Since #2933, BCGSTAB returns the iterate with the smallest residual. The initial guess (zero) was also a candidate. When no step lowered the residual, the solver returned zero, so the variables got no update.
With few linear iterations this happens often. In RAE2822 SA (
LINEAR_SOLVER_ITER= 3) the turbulence variable stops being updated from iteration 11, and the case converges to a wrong solution.Now only the computed iterates are candidates.
Only the wedge regression test changes (hybrid). Its reference values are updated from the CI.
Related Work
PR Checklist
pre-commit run --allto format old commits.🤖 Generated with Claude Code