Skip to content

Commit 19962dc

Browse files
committed
Merge pull request barbagroup#22 from barbagroup/newreadme
Newreadme
2 parents a9b4a11 + 5e26c08 commit 19962dc

File tree

2 files changed

+48
-3
lines changed

2 files changed

+48
-3
lines changed

README.md

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11

2-
Welcome to the CFD Online Lesson Repository
2+
##Welcome to the CFD Online Lesson Repository
3+
4+
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](lorenabarba.com) 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.
5+
6+
###Installing Python
7+
8+
The core of this mini-course is built around [Jupyter(formerly IPython) notebooks](https://jupyter-notebook.readthedocs.org/en/latest/notebook.html), an interactive computational environment which is run in a web-browser.
9+
10+
11+
####Anaconda
12+
We *highly* recommend that you install the [Anaconda Python Distribution](http://docs.continuum.io/anaconda/install)
13+
14+
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)
15+
16+
```Bash
17+
conda update jupyter
18+
```
19+
20+
and then
21+
22+
```Bash
23+
conda install numpy scipy sympy
24+
```
25+
26+
####Without Anaconda
27+
If you already have Python installed, you can install the notebooks using pip
28+
29+
```Bash
30+
pip install jupyter
31+
```
32+
33+
Please also make sure that you have the necessary libraries installed by running
34+
35+
```Bash
36+
pip install numpy scipy sympy
37+
```
38+
39+
40+
###Running a notebook server
41+
42+
Once jupyter is installed, just open up a terminal and then run
43+
44+
```Bash
45+
jupyter notebook
46+
```
47+
48+
to start up a jupyter session in your browser!
349

450
Lessons
551
-------
@@ -18,6 +64,5 @@ Lessons
1864
* [Defining Function in Python](http://nbviewer.ipython.org/urls/github.com/barbagroup/CFDPython/blob/master/lessons/11_Defining_Function_in_Python.ipynb)
1965
* [Step 9](http://nbviewer.ipython.org/urls/github.com/barbagroup/CFDPython/blob/master/lessons/12_Step_9.ipynb)
2066
* [Step 10](http://nbviewer.ipython.org/urls/github.com/barbagroup/CFDPython/blob/master/lessons/13_Step_10.ipynb)
21-
* [Optimizing Loops with Numba](http://nbviewer.ipython.org/urls/github.com/barbagroup/CFDPython/blob/master/lessons/14_Optimizing_Loops_with_Numba.ipynb)
2267
* [Step 11](http://nbviewer.ipython.org/urls/github.com/barbagroup/CFDPython/blob/master/lessons/15_Step_11.ipynb)
2368
* [Step 12](http://nbviewer.ipython.org/urls/github.com/barbagroup/CFDPython/blob/master/lessons/16_Step_12.ipynb)

gen-readme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
from glob import glob
6-
from urllib import quote
6+
from urllib.parse import quote
77
import re
88

99
header = '''

0 commit comments

Comments
 (0)