Slawa,

>    Well, that was my guess also that minor changes in the solution of
>    the linear system might lead to these instabilities with the
>    explicit solution. In fact solution "diverge" even if I run program
>    it on single process.

OK, so that at least gives you a better handle on debugging the problem. 
Debugging things that don't work in parallel is a pain.


>    Probably these differences in the solution I 
>    get out of PETSC CG solver are quite small, at least vector norm of
>    the solution (up to 5 digits) coincide for the first few steps with
>    the solution I get using deal's CG.

So what happens if you tighten the convergence tolerance in your 
SolverControl object? 5 digits appears not enough to me.


>    How do you think which settings I should set for PETSC CG solver so
>    that it will run with the same parameters as deal.II build-in CG
>    solver?

I don't exactly know -- all of these iterative solvers have slightly 
different ways to compute residual norms (some use the preconditioned 
residual, some the unpreconditioned) and the only way I see in your case 
is to start to work with very small tolerances. You can then start to 
relax the convergence tolerance until you see that the time stepping 
scheme starts to diverge.

Best
 W.

-- 
-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to