-
Notifications
You must be signed in to change notification settings - Fork 27
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
Slow nonlinear convergence in struct/LV_Holzapfel_passive #189
Comments
I checked my old results when I created this test case, and the convergence is much better
Perhaps something changed since I added this test? Maybe during material model restructuring here: #159 |
Found a tiny bug in mat_models_carray.h line 946
As shown in the commented line, it should be With this change, convergence is excellent
Will make a pull request |
Raises an interesting question. Is it possible to make our testing detect poor convergence, not just incorrect results? |
Thank you for looking into it! That's a good point. I'm currently cranking up all tolerances (#175) to get more reproducible results. I could then set the max number of Newton iterations to the current one. If the tests are sensitive enough, they should fail if the solver takes way more iterations. |
Description
While adding missing results to test cases (#175), I noticed that the test
struct/LV_Holzapfel_passive
(using theHolzapfel
material) has a very slow nonlinear convergence.Reproduction
In
tests
, runpytest -vrx -k LV_Holzapfel
This is the output I get:
I increased
Max_iterations
and setTolerance = 1e-10
.Expected behavior
Should converge to this tolerance in ~5 Newton iterations.
Additional context
@ktbolt, @aabrown100-git, have you used this material outside this test case? If this slow convergence also appears outside of this test case, the linearization is incorrect.
Code of Conduct
The text was updated successfully, but these errors were encountered: