Skip to content

A brief and practical introduction to the solution of hyperbolic conservation laws

License

Notifications You must be signed in to change notification settings

ketch/HyperPython

Repository files navigation

HyperPython

A brief and practical introduction to the solution of hyperbolic conservation laws. This set of IPython notebooks was originally prepared for a 1-day tutorial that I taught in Gyor, Hungary in May 2014 as part of the Workshop on Design, Simulation, Optimization and Control of Green Vehicles and Transportation.

Installation

The easiest way to run these is to create a free account on SageMathCloud. Then create a new project, click "new file", type https://github.com/ketch/HyperPython.git into the box and hit enter. That's it!

To run the notebooks on your own computer, you'll need:

  • Python >=2.7
  • IPython >=1.2.0
  • Numpy
  • Matplotlib
  • Clawpack >=5.1

The last four can all be installed using pip:

pip install ipython
pip install numpy
pip install matplotlib
pip install clawpack

Then clone or download the repository.

Running the notebooks

To start the course, do

git clone https://github.com/ketch/HyperPython.git
cd HyperPython
ipython notebook

and click on Lesson 0.

Acknowledgment

The design of the notebooks and their organization was inspired by Lorena Barba's excellent AeroPython course.

Contributing

If you spot any errors or would like to make improvements, pull requests are welcome!

Content provided under a Creative Commons Attribution license, CC-BY 4.0; code under MIT License.

(c)2014 David I. Ketcheson

About

A brief and practical introduction to the solution of hyperbolic conservation laws

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published