Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Following the 12 Steps to Navier-Stokes: Building a CFD Solver in Python.

Alt text

This repo contains my work done to build a simple CFD solver in Python following the interactive module 12 Steps to Navier Stokes created by Professor Lorena Barba. I wrote a brief article on my website that goes over the background for this project and showcases some of the skills I picked up on the process which you can take a look at here. The main goal of the project was to build a Navier-Stokes solver in Python that will serve as the foundation for all of my future endeavours into CFD. I learned much in the process and even set out to not only complete the course but give it my own spin. With that in mind I set off to animate all of the plots that we build in the course so that you can have a better understanding of the time history evolution of the simulations.

Showcase of Simulations

Here's a few of my favorite animations::

Alt text

Alt text

Alt text


This repo includes Jupyter Notebooks of each lesson structured in the same way as Prof. Barba's module 12 Steps to Navier Stokes. You can find my own version of those lessons in the lessons folder or check them out directly below. My most significant addition to this project was the inclusion of animation code for each of the lessons. They link to a NBViewer version of the plot so you can look at the embedded animation and the LaTeX formatting as it was intended:



CFD Python, a.k.a. the 12 steps to Navier-Stokes.



No releases published


No packages published