An incompressible Navier-Stokes solver for a Lid Cavity flow problem written in C#/.NET 8 for WinForms. The code uses a finite difference method with the SIMPLE algorithm (velocity prediction and pressure correction after solving the elliptical pressure Poisson equation).
This code is based on the works of Alvarez and Nobe, Owkes, Barba et al. It uses central differencing throughout with Dirichlet boundary conditions for velocity and a mix of Dirichlet and Neumann boundary conditions for pressure.
The application makes it easy to play around with different input variables to see how the solution (and the quality of the solution) changes with Reynolds Number, timesteps, grid quality, etc. Plotting is done with OxyPlot.
Running the application with the default settings unchanged will converge to a solution.
Sample results using the application default settings: