how velocity resolution influences simulation result
solveopt opened this issue · 4 comments
Wonderful simulation it is!
Normally, the density resolution is higher than velocity resolution, and I find that different velocity resolutions will give quite different simulation results.
Would you please give me some ideas about the reason behind this strange phenomena?
Thanks a lot!
because it's a different simulation resolution, it's that simple 😅
Actually when I set SIM_RESOLUTION and DYE_RESOLUTION to be 256, and set PRESSURE_ITERATIONS to be 5 or 200 separately, the result will be quite different.
From this perspective, the reason may be related to the convergence of poisson equation?
see, simulation works on a grid and different grid resolutions affects the speed of advection and pressure calculations. Not very complicated.
And yes different pressure iterations affects convergence