Skip to content

A sequence of Jupyter notebooks featuring the "12 Steps to Navier-Stokes" http://lorenabarba.com/

License

Notifications You must be signed in to change notification settings

coreur/CFDPython

 
 

Repository files navigation

##Welcome to the CFD Online Lesson Repository

Hello! Welcome to the 12 steps to Navier-Stokes. This is a practical module that is used in the beginning of an interactive Computational Fluid Dynamics (CFD) course taught by Prof. Lorena Barba since Spring 2009 at Boston University. The course assumes only basic programming knowledge (in any language) and of course some foundation in partial differential equations and fluid mechanics. The practical module was inspired by the ideas of Dr. Rio Yokota, who was a post-doc in Prof. Barba's lab, and has been refined by Prof. Barba and her students over several semesters teaching the course. The course is taught entirely using Python and students who don't know Python just learn as we work through the module.

###Installing Python

The core of this mini-course is built around Jupyter(formerly IPython) notebooks, an interactive computational environment which is run in a web-browser.

####Anaconda We highly recommend that you install the Anaconda Python Distribution

You can download and install Anaconda on Windows, OSX and Linux. To ensure that it's up to date and to install all the necessary libraries to follow this course, run (in a terminal)

conda update jupyter

and then

conda install numpy scipy sympy

####Without Anaconda If you already have Python installed, you can install the notebooks using pip

pip install jupyter

Please also make sure that you have the necessary libraries installed by running

pip install numpy scipy sympy

###Running a notebook server

Once jupyter is installed, just open up a terminal and then run

jupyter notebook

to start up a jupyter session in your browser!

Lessons

About

A sequence of Jupyter notebooks featuring the "12 Steps to Navier-Stokes" http://lorenabarba.com/

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 99.6%
  • Other 0.4%