[petsc-users] Problems about tolerances set in TS

Matthew Knepley knepley at gmail.com
Tue Apr 28 08:27:56 CDT 2020


On Tue, Apr 28, 2020 at 9:23 AM Yingjie Wu <yjwu16 at gmail.com> wrote:

> Dear PETSc developers
> Hi,
>
> I have recently used TS to solve nonlinear equations with time terms.
> since the convergence of my model is not very good, i would like to set to
> iterative fixed nonlinear steps per time step. If the problem does not meet
> the SNES convergence criteria after fixed number of nonlinear steps , then
> go to the next time step calculation. I tried -snes_max_it , but didn't
> achieve the effect I wanted, and the program stopped after iterating the
> fixed number of steps. How should I set up in the program?
>

I think  -ts_adapt_always_accept will accept the step after a SNES failure,
but Hong would know better.

  Thanks,

    Matt


> Thanks,
>
> Yingjie
>


-- 
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://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200428/32da5c01/attachment.html>


More information about the petsc-users mailing list