[petsc-users] SNES-norm is zero all the time

Sepideh Kavousi skavou1 at lsu.edu
Wed Feb 3 11:07:34 CST 2021


Hello,
I have a very stupid problem that I am really ashamed of asking but it has been with me for days and I do not know what to do. I want to solve the Javier stokes equation with finite difference method. When I wanted to run the code, the snes norm value does not change and i get an error for timestep convergence. I thought I might do something wrong so,  I tried to simplify the equation I want to solve to an easy form, given as:
u_t=u_x +u_y
Where _t is the time derivative and _x and _y are the derivative in x and y direction. When I want to solve this problem, it still does not do anything at all and the snes function norm is zero all the time. I know I am missing something but does anyone have any idea what should I check in my code.  The answers does not change with time.
Best,
Sepideh


Get Outlook for iOS<https://aka.ms/o0ukef>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210203/1838b5ed/attachment.html>


More information about the petsc-users mailing list