On 3/8/23 14:29, Abhishek Nath Thakur wrote:

Why at every time steps i am getting norm of rhs is 0 and why it is converged at 0 iteration? i tried to find the error by myself and i got that  gradient of variable is zero and incremental distance is also coming zero at every time step..

I can only speculate, not having the code. The usual reason for this is because you are solving a problem with no external forcing (no body forces, no boundary tractions, no non-zero Dirichlet boundary values). You can easily check this: If the right hand side vector of the linear system you are solving is zero, then there are no external forces. As a consequence, the displacements are also zero, and the solution of the linear system happens before the iterations even start.

Why that is so is something you need to debug. For example: Do the if-conditions ever trigger to set any part of the boundary to specific boundary_ids? Do you actually call VectorTools::interpolate_boundary_values() on specific boundaries? Do you think you have a body force but it is not applied? Etc.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/754ee52a-2ce9-7ab8-d843-1126ce97a6e0%40colostate.edu.

Reply via email to