Skip to content

Elements flipped even though Newton solver converged #16682

Discussion options

You must be logged in to vote

A few things you could try:

  1. To turn off line search, you can add line_search = none in your executioner block.
  2. For mechanics problems, if memory isn't a concern, few solvers can beat superlu in terms of speed. To use that, set
  petsc_options_iname = '-pc_type -pc_factor_mat_solver_package'
  petsc_options_value = 'lu       superlu_dist                 '
  1. Automatic scaling might also help: automatic_scaling = true
  2. We've seen before that if you take a very large step, setting preset = false in your FunctionDirichletBCs can improve convergence and avoid spurious results.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@tairoon1
Comment options

@hugary1995
Comment options

Answer selected by GiudGiud
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants