Skip to content

Why does the StaticSolver not reach the equilibrium configuration at 1st time step? #2985

Discussion options

You must be logged in to vote

After discussing it with @hugtalbot, it seems that I looked for a solution around the linear solver, but it was the integration scheme that needed to be set up correctly.
One can see the parameters of the StaticSolver here: https://www.sofa-framework.org/community/doc/components/integrationschemes/staticsolver/
The trap I fell into is that the default value for newton_iterations is equal to 1. However, it's unlikely that a nonlinear problem converges to equilibrium in just one Newton step. Therefore, it is needed to set this parameter to a greater value when instantiating this component in a scene.

Moreover, as suggested above, the printLog data of the StaticSolver shows which termination…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@adkoessler
Comment options

Comment options

You must be logged in to vote
1 reply
@hugtalbot
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by adkoessler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants