Published on Mar 28, 2020
The objective was to determine how accurite my fluid simulator was.
The simulation method was a staggered grid finite difference approximation of the two dimensional incompressible Navier Stokes Equations. To test the method's accuracy I simulated fluid flow around circles of varying size. I programed the whole program in java from scratch.
The simulation produced results that looked like water in general but did not agree with past experiments numerically. The frequency did decrease with cylinder size as expected but it was almost exactly ten times more than it should be.
Also, the frequency decreased about half as much, proportionally, as expected for the higher diameters. All the simulations converged to a stable frequency after less than ten vortices.
This experiment showed definitively that my simulator was too inaccurate for anything but possibly computer graphics. However, he cause of the inaccuracy is still uncertain. A question for future exploration is wether the error approches zero as the grid resolution approches infinity and the time step approches zero.
If so, than the approximation method needs to be improved and possibly greater computing power must be used. If not, than there is probably a bug in the program or something fundamentally wrong with the math.
This Project was an attempt to make an incompressible two-diminutional fluid simulator that agreed with the literature.
Science Fair Project done By Charlie A. Reid