Navier Stokes algorithm 2D abnormal behaviour
Hi, I am beginner to CFD and trying to replicate the Navier Stokes effects by copying below whole algorithm into Java....
Youtube link (2 short slide; up to 39:56):
It solves for b[i,j] and then get pressure[i,j] using poisson equation.
Using p[i,j], it then solves for velocity[i,j]
The above steps is repeated many times to produce this dynamics.
But when I simulate by setting initial velocity[5,5] = 0.1 and run the program, pressure & velocity nearby just grows bigger quickly to infinity.
Actually is there any problem with her algorithm? Is it wrong? :confused:
|All times are GMT -4. The time now is 23:54.|