Lesson Open Access
Barba, Lorena A.;
Forsyth, Gilbert F.
The CFD Python learning module is a set of Jupyter notebooks, consisting of 12 "core" lessons, 3 "bonus" lessons, and a "lesson zero" as a quick intro to Python for numerical computing. This practical module takes students through 12 steps, incrementally guiding them to program a solution to the two-dimensional Navier--Stokes equation, using finite differences. The steps are the following:
Students learn many valuable lessons as the module guides them through these steps (they should not skip any!). The incremental nature of the exercises means they get a sense of achievement at the end of each lesson, and they feel they are learning with low effort. As they progress, they naturally practice code re-use and they incrementally learn programming and plotting techniques. As they analyze their results, they learn about numerical diffusion, accuracy, and convergence. In about four weeks, they become moderately proficient programmers and are motivated to start discussing more theoretical matters.
Name | Size | |
---|---|---|
CFDPython-v1.0.zip
md5:3c7fbac84671726b22e7fdb4f78f323c |
1.9 MB | Download |
All versions | This version | |
---|---|---|
Views | 3,105 | 3,111 |
Downloads | 272 | 272 |
Data volume | 510.7 MB | 510.7 MB |
Unique views | 2,726 | 2,730 |
Unique downloads | 257 | 257 |