[petsc-users] SNES-norm is zero all the time
Jed Brown
jed at jedbrown.org
Wed Feb 3 11:19:54 CST 2021
Sepideh Kavousi <skavou1 at lsu.edu> writes:
> 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.
Could you run with -snes_monitor -snes_converged_reason -pc_type lu?
> 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>
More information about the petsc-users
mailing list