Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comments and some renaming for JOSE submission #46

Merged
merged 10 commits into from
Jul 12, 2018
11 changes: 2 additions & 9 deletions lessons/00_Quick_Python_Intro.ipynb
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Version 0.4 -- August 2015"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -18,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Hello! This is a quick intro to programming in Python to help you hit the ground running with the _12 Steps to Navier-Stokes_. \n",
"Hello! This is a quick intro to programming in Python to help you hit the ground running with the _12 Steps to NavierStokes_. \n",
"\n",
"There are two ways to enjoy these lessons with Python:\n",
"\n",
Expand Down Expand Up @@ -732,7 +725,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"There are a lot of resources online to learn more about using NumPy and other libraries. Just for kicks, here we use IPython's feature for embedding videos to point you to a short video on YouTube on using NumPy arrays."
"There are a lot of resources online to learn more about using NumPy and other libraries. Just for kicks, here we use Jupyter's feature for embedding videos to point you to a short video on YouTube on using NumPy arrays."
]
},
{
Expand Down
19 changes: 6 additions & 13 deletions lessons/01_Step_1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"##### Version 0.12 (August 2015)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"12 steps to Navier-Stokes\n",
"12 steps to Navier–Stokes\n",
"======\n",
"***"
]
Expand All @@ -34,13 +27,13 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"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](http://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 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.\n",
"Hello! Welcome to the **12 steps to NavierStokes**. This is a practical module that is used in the beginning of an interactive Computational Fluid Dynamics (CFD) course taught by [Prof. Lorena Barba](http://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 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.\n",
"\n",
"This [IPython notebook](http://ipython.org/ipython-doc/stable/interactive/htmlnotebook.html) will lead you through the first step of programming your own Navier-Stokes solver in Python from the ground up. We're going to dive right in. Don't worry if you don't understand everything that's happening at first, we'll cover it in detail as we move forward and you can support your learning with the videos of [Prof. Barba's lectures on YouTube](http://www.youtube.com/playlist?list=PL30F4C5ABCE62CB61).\n",
"This [Jupyter notebook](https://jupyter-notebook.readthedocs.io/en/stable/) will lead you through the first step of programming your own NavierStokes solver in Python from the ground up. We're going to dive right in. Don't worry if you don't understand everything that's happening at first, we'll cover it in detail as we move forward and you can support your learning with the videos of [Prof. Barba's lectures on YouTube](http://www.youtube.com/playlist?list=PL30F4C5ABCE62CB61).\n",
"\n",
"For best results, after you follow this notebook, prepare your own code for Step 1, either as a Python script or in a clean IPython notebook.\n",
"For best results, after you follow this notebook, prepare your own code for Step 1, either as a Python script or in a clean Jupyter notebook.\n",
"\n",
"To execute this Notebook, we assume you have invoked the notebook server using: `ipython notebook`."
"To execute this Notebook, we assume you have invoked the notebook server using: `jupyter notebook`."
]
},
{
Expand Down Expand Up @@ -413,7 +406,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"**Remember** to rewrite Step 1 as a fresh Python script or in *your own* IPython notebook and then experiment by changing the discretization parameters. Once you have done this, you will be ready for [Step 2](./02_Step_2.ipynb).\n",
"**Remember** to rewrite Step 1 as a fresh Python script or in *your own* Jupyter notebook and then experiment by changing the discretization parameters. Once you have done this, you will be ready for [Step 2](./02_Step_2.ipynb).\n",
"\n",
"\n",
"***"
Expand Down
8 changes: 4 additions & 4 deletions lessons/02_Step_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"12 steps to Navier-Stokes\n",
"12 steps to NavierStokes\n",
"======\n",
"***"
]
Expand All @@ -27,7 +27,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"This IPython notebook continues the presentation of the **12 steps to Navier-Stokes**, the practical module taught in the interactive CFD class of [Prof. Lorena Barba](http://lorenabarba.com). You should have completed [Step 1](./01_Step_1.ipynb) before continuing, having written your own Python script or notebook and having experimented with varying the parameters of the discretization and observing what happens.\n"
"This Jupyter notebook continues the presentation of the **12 steps to NavierStokes**, the practical module taught in the interactive CFD class of [Prof. Lorena Barba](http://lorenabarba.com). You should have completed [Step 1](./01_Step_1.ipynb) before continuing, having written your own Python script or notebook and having experimented with varying the parameters of the discretization and observing what happens.\n"
]
},
{
Expand Down Expand Up @@ -71,8 +71,8 @@
},
"outputs": [],
"source": [
"import numpy #we're importing numpy and calling it np locally\n",
"from matplotlib import pyplot #and our 2D plotting library, calling it plt\n",
"import numpy # we're importing numpy \n",
"from matplotlib import pyplot # and our 2D plotting library\n",
"%matplotlib inline\n",
"\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion lessons/03_CFL_Condition.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"12 steps to Navier-Stokes\n",
"12 steps to NavierStokes\n",
"=====\n",
"***"
]
Expand Down
4 changes: 2 additions & 2 deletions lessons/04_Step_3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"12 steps to Navier-Stokes\n",
"12 steps to NavierStokes\n",
"======\n",
"***"
]
Expand All @@ -27,7 +27,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"You should have completed Steps [1](./01_Step_1.ipynb) and [2](./02_Step_2.ipynb) before continuing. This IPython notebook continues the presentation of the **12 steps to Navier-Stokes**, the practical module taught in the interactive CFD class of [Prof. Lorena Barba](http://lorenabarba.com). "
"You should have completed Steps [1](./01_Step_1.ipynb) and [2](./02_Step_2.ipynb) before continuing. This Jupyter notebook continues the presentation of the **12 steps to NavierStokes**, the practical module taught in the interactive CFD class of [Prof. Lorena Barba](http://lorenabarba.com). "
]
},
{
Expand Down
Loading