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

Patrick Sanan patrick.sanan at gmail.com
Wed Feb 3 11:12:36 CST 2021


Are you working from a particular example, or writing your own code from scratch?

> Am 03.02.2021 um 18:11 schrieb Stefano Zampini <stefano.zampini at gmail.com>:
> 
> Cannot say anything if you don't provide a minimal code we can run to reproduce the issue
> 
> Il giorno mer 3 feb 2021 alle ore 20:07 Sepideh Kavousi <skavou1 at lsu.edu <mailto:skavou1 at lsu.edu>> ha scritto:
> 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>
> 
> -- 
> Stefano

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210203/d8b53e22/attachment.html>


More information about the petsc-users mailing list