[petsc-users] TSPseudo overriding SNES iterations

Jed Brown jed at jedbrown.org
Wed Jan 4 13:46:11 CST 2017


"Mark W. Lohry" <mlohry at princeton.edu> writes:

> I have an unsteady problem I'm trying to solve for steady state. The regular time-accurate stepping works fine (uses around 5 Newton iterations with 100 krylov iterations each per time step) with beuler stepping.
>
>
> But when changing only TSType to pseudo it looks like SNES max iterations is getting set to 1, and each pseduo time step then only does a single Newton step and then throws SNES CONVERGED_ITS 1 despite setting snessettolerances to allow 50 Newton steps.

Pseudotransient continuation (as described in the cited papers and
implemented in TSPseudo) does only one Newton step.  In practice,
converging the Newton solver on each pseudo-time step usually costs
more.  You can change -snes_type (TSPseudo defaults it to KSPONLY).  See
-ts_view for details.

> I'm trying to use all the same configuration here that works for backward Euler, but just continually increase the step size each time step. What am I missing here?
>
> Thanks,
> Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170104/2aa3a65d/attachment.pgp>


More information about the petsc-users mailing list