Skip to content

Add documentation on parameters to control the convergence of the solver #33

Description

@wilburmao

Hi Finsberg,

When we study the deformation behavior of the heart with complex material models (such as the Holzapfel model + active strain) on a realistic myocardium geometry, it is easy to encounter the problem of convergence issues, such as pulse.mechanicsproblem.SolverDidNotConverge.

I know there are some parameters in the iterate function to control the convergence behavior, such as max_nr_crash, max_iters, ... Can you give us some suggestions on how to control these parameters to reach convergence? What's the strategy you will use to resolve it if a problem does not converge?

I also wonder if there is a way to print out the progress of the solving process. I find the solver seems stuck when I run it with a medium mesh. It is much slower than I expected and no information is displayed during the solving process. I ran it using python not Jupyter notebook.

Specifications

  • Version of pulse: 2022.1.1
  • Version of FEniCS: 2019.2.0.dev0
  • Platform: WSL

Thanks,
Wilbur

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions