Greetings!

   Exactly! During first 5-10 steps its OK, but after that it starts
   to blow up and then after 2-3 more time steps its completely out of
   the game. And you are right - computed with deal's CG everything works
   fine, but with PETSC one this situation takes place. To get a
   working solution with PETSC I have to reduce time step 1 order of
   magnitude.

   One of the solutions - I've made a mistake somewhere in the code
   switching deal's vectors and solvers to the PETSC ones. But there
   are not that many places where one can make an error, furthermore
   with the smaller time step everything works fine.

   Another thing - for deal's CG I was using PreconditionIdentity(),
   for PETSC one: PreconditionBlockJacobi.

Regards,
Slawa

Friday, June 26, 2009, 19:26, you wrote:


>>    Of course in the solution control I've specified tolerances from
>>    1.e-12 to 1.e-30. Did not work, still "diverge".

WB> That is strange. So when you say "diverge", does this mean that the 
solutions
WB> slowly (over the course of several time steps) become more and more 
WB> different, or is this suddenly? And if I recall correctly you said that the
WB> one computed with the deal.II solver looks correct whereas the one computed
WB> with PETSc does not?

WB> Best
WB>  W.

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




-- 
Best regards,                                       26.06.2009
Svyatoslav Gladkov, Kharkov, UKRAINE                19:37

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

Reply via email to