On Mon, Aug 17, 2026 at 3:50 PM Sebastian Ruiz Gonzalez via petsc-users <
[email protected]> wrote:

> Hi,
>
> My name is Sebastian Ruiz, I am doing a PhD at the university of York. The
> code we use is called Hermes-3, which is built on the BOUT++ framework.
> However, after using the SNES solver for a while, I have run into an issue
> that throws the error message attached, while looking into the
> documentation online I couldn’t understand what it meant so I was looking
> for some guidance?
>

1. For any SNES question, we would like to see the output of

  -snes_view -snes_converged_reason

2. That error indicates that the trust region became too small. This is an
indication that convergence has stalled. However, it could possibly also
arise from very bad scaling in your system. Have you non-dimensionalized
the problem?

3. You can adjust  the tolerances for this error (for instance the minimum
trust region size), which might be enough to alleviate this. All options
can be seen using -help. Different algorithms has different strategies, so
first we would need to see what SNES you are using.

  Thanks,

      Matt


> The return code for the error in the docs say:
> Diverged tri delta, but doesn’t say more and when clicking it just throws
> back the same webpage.
>
> Thanks for the help!
>
> Sincerely,
>
> Sebastian Ruiz Gonzalez
> Student No. 209057473
> PhD candidate | York Plasma Institute | Fusion CDT
> University of York | +44 (0)1904 320000
>
> Email Disclaimer
> <https://urldefense.us/v3/__https://www.york.ac.uk/about/legal-statements/email-disclaimer/__;!!G_uCfscf7eWS!b80bMa9ndVDGKMEwUMBDsK1lyL1BM9p3UauEnDGkymb4OqgsgMJmKKNnOxPJwwKcDc4rkiUDda2EsGOlTtnwpzX4qK4hIIzu6cCV$>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!fljeutCPVJnfymNZvP6macc9BS30pLap9nxUfihl1agEwPJK9BEn_eBfFbT-UcQ34ZqnT1bKsUYmkPX5us8I$
  
<https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!fljeutCPVJnfymNZvP6macc9BS30pLap9nxUfihl1agEwPJK9BEn_eBfFbT-UcQ34ZqnT1bKsUYmkE0wt4Gd$
 >

Reply via email to