Skip to content

fix: update iterative strain before convergence check#340

Merged
mortenengen merged 3 commits intodevfrom
fix-calculate-strain-plane
Mar 26, 2026
Merged

fix: update iterative strain before convergence check#340
mortenengen merged 3 commits intodevfrom
fix-calculate-strain-plane

Conversation

@mortenengen
Copy link
Copy Markdown
Member

After implementing the result object for calculate strain plane, the order of checking for convergence and updating the iterative strain was changed, resulting in a non-converged strain plane to be returned from the method.

@mortenengen mortenengen added the bug Something isn't working label Mar 25, 2026
@mortenengen mortenengen marked this pull request as ready for review March 25, 2026 07:49
@mortenengen mortenengen moved this to Under review 👀 in PR tracker Mar 25, 2026
Copy link
Copy Markdown
Collaborator

@talledodiego talledodiego left a comment

Choose a reason for hiding this comment

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

Perfect! Thanks for having catched this up!
Sorry for having not catched this before hand.

Should we in a next PR make deeper tests on this?

Comment on lines +1796 to +1798
# Calculate the initial response and residuals. Note that the initial
# residual might be different from the applied loads if any initial
# strain is present
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

right observation! perfect

@mortenengen
Copy link
Copy Markdown
Member Author

Perfect! Thanks for having catched this up!
Sorry for having not catched this before hand.

Should we in a next PR make deeper tests on this?

Thanks😊 It would be great if we could have a couple of tests that check the actual valeus of the strain plane.

@mortenengen mortenengen merged commit e9ea80f into dev Mar 26, 2026
4 checks passed
@github-project-automation github-project-automation bot moved this from Under review 👀 to Done 🚀 in PR tracker Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done 🚀

Development

Successfully merging this pull request may close these issues.

2 participants