<div dir="ltr">I am using arkimex and the logic with a failed KSP solve is puzzling. This step starts with a dt of ~.005, the linear solver fails and cuts the time step by 1/4. So far, so good. The step then works but the next time step the time step goes to ~0.006.<div>TS seems to have forgotten that it had to cut the time step back.</div><div>Perhaps that logic is missing or my parameters need work?</div><div><br></div><div>Thanks,</div><div>Mark</div><div><br></div><div>-ts_adapt_dt_max 0.01 # (source: command line)<br>-ts_adapt_monitor # (source: file)<br>-ts_arkimex_type 1bee # (source: file)<br>-ts_dt .001 # (source: command line)<br>-ts_max_reject 10 # (source: file)<br>-ts_max_snes_failures -1 # (source: file)<br>-ts_max_steps 8000 # (source: command line)<br>-ts_max_time 14 # (source: command line)<br>-ts_monitor # (source: file)<br>-ts_rtol 1e-6 # (source: command line)<br>-ts_type arkimex # (source: file)<br></div><div><br></div><div>  Nonlinear solve converged due to CONVERGED_SNORM_RELATIVE iterations 2<br>      TSAdapt basic arkimex 0:1bee step   1 accepted t=0.001      + 2.497e-03 dt=5.404e-03  wlte=0.173  wltea=   -1 wlter=  <br> -1<br>2 TS dt 0.00540401 time 0.00349731<br>    0 SNES Function norm 1.358886930084e-05 <br>    Linear solve did not converge due to DIVERGED_ITS iterations 100<br>  Nonlinear solve did not converge due to DIVERGED_LINEAR_SOLVE iterations 0<br>      TSAdapt basic step   2 stage rejected (DIVERGED_LINEAR_SOLVE) t=0.00349731 + 5.404e-03 retrying with dt=1.351e-03 <br>    0 SNES Function norm 1.358886930084e-05 <br>    Linear solve converged due to CONVERGED_RTOL iterations 19<br>    1 SNES Function norm 4.412110425362e-10 <br>    Linear solve converged due to CONVERGED_RTOL iterations 6<br>    2 SNES Function norm 4.978968053066e-13 <br>  Nonlinear solve converged due to CONVERGED_SNORM_RELATIVE iterations 2<br>    0 SNES Function norm 8.549322067920e-06 <br>    Linear solve converged due to CONVERGED_RTOL iterations 14<br>    1 SNES Function norm 8.357075378456e-11 <br>    Linear solve converged due to CONVERGED_RTOL iterations 4<br>    2 SNES Function norm 4.983138402512e-13 <br>  Nonlinear solve converged due to CONVERGED_SNORM_RELATIVE iterations 2<br>    0 SNES Function norm 1.044832467924e-05 <br>    Linear solve converged due to CONVERGED_RTOL iterations 13<br>    1 SNES Function norm 1.036101875301e-10 <br>    Linear solve converged due to CONVERGED_RTOL iterations 4<br>    2 SNES Function norm 4.984888077288e-13 <br>  Nonlinear solve converged due to CONVERGED_SNORM_RELATIVE iterations 2<br>      TSAdapt basic arkimex 0:1bee step   2 accepted t=0.00349731 + 1.351e-03 dt=6.305e-03  wlte=0.0372  wltea=   -1 wlter= <br>  -1<br>3 TS dt 0.00630456 time 0.00484832<br>    0 SNES Function norm 8.116559104264e-06 <br>    Linear solve did not converge due to DIVERGED_ITS iterations 100<br></div></div>