Slawa, > 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.
I am out of further suggestions on how to track down this problem :-( One other thing you may try is to use PETSc vectors and matrices, and use them with the deal.II SolverCG class. This way you can at least evaluate whether it's the preconditioner or not. Other than that, I don't currently have any further ideas how to solve this riddle... Best W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
