Replies: 1 comment
-
You are correct, that many iterations is not expected. Typically, for challenging steps, it can take 100–200 iterations to converge, but not 1000 unless some parameters are incorrect. The most likely culprit is the barrier stiffness:
Here are some steps and questions to help debug:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I’ve implemented the IPC algorithm using IPCToolkit with the convergent formulation, friction disabled, and adaptive stiffness enabled. In one of my demos—a cloth with approximately 20,000 vertices colliding against a mesh—the solver stalls in a slowly converging state. The Newton iterations climb past 1,000, while the inf-norm barely decreases (for example, at iteration 1167 the inf-norm is 0.00454121 and at iteration 1170 it’s only 0.00452964), and the maximum barrier stiffness remains fixed at 288,285.
I’ve attached a screenshot of the configuration where this occurs. Have you ever encountered a similar behavior, or might there be something I’m overlooking in my implementation?
Thanks for any insights.
Beta Was this translation helpful? Give feedback.
All reactions