Over the past number of weeks, I have been learning Finite Element Analysis to use for solving the Navier-Stokes equations of fluid dynamics. Finite Element Analysis is used to solve partial differential equations over an unstructured grid. Usually the grid is made up of triangles or quadrilaterals. In my case, I used triangles since any mesh can be constructed from triangles.
Here are some results. The following is a simulation of Vortex Shedding of an incompressible fluid due to a circular obstacle. The simulation was written in Python using Numpy, Scipy, and Matplotlib and employs the pressure correction method.
Properties of the fluid:
Another video with the parameters slightly changed. This uses No-Slip boundary conditions on the top and bottom boundaries as well as a smaller fluid channel
I will release the Python code after I have cleaned it up a bit.