-ts_error_if_step_fails 0

You might want to find out why the nonlinear solver does not converge first. If 
you have a hand-written Jacobian, you can validate it with -snes_test_jacobian 
1 (for a small test case).

Hong (Mr.)

> On Apr 28, 2020, at 8:21 AM, Yingjie Wu <[email protected]> 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?
> 
> Thanks,
> Yingjie

Reply via email to