Jupyter notebook examples¶
The Jupyter notebook (formerly known as IPython notebook) is a very nice platform for illustrating Clawpack examples.
If you have used Clawpack with the Jupyter notebook, please send us a link or submit a pull request to the apps repository. The links below will take you to the nbviewer site, where you can view the notebooks as html. You can also play animations in them and interact with some plots, but to actually run the code yourself you should click the download link at the top-right of each nbviewer page.
You can find demonstrations of how to set up animated results in some of the notebooks below. Source for some of these notebooks can also be found in $CLAW/apps/notebooks.
Warning: The notebooks and tools to support them are being actively developed, so these may change in the near future and the versions posted here may not work with the current Clawpack.
New examples — under development in Clawpack Applications repository¶
Examples using PyClaw:
Old notebooks — many need updating¶
Examples illustrating Riemann solvers:
- The Riemann problem for the Euler equations
- Euler shock tube
- Riemann solutions of the shallow water equations
- Shallow water equations – Riemann solver tests
- Acoustics equations and their Riemann solver in 1D and 2D
- Elasticity equations and their Riemann solver in 2D and 3D
Examples using the Fortran code:
- Demo of running the Classic Clawpack Fortran code and producing an animation of results
- Demo of running AMRClaw Fortran code and plotting results
- Riemann solutions of the shallow water equations
Examples for GeoClaw:
- GeoClaw topotools examples
- GeoClaw dtopotools examples
- The Okada model for computing seafloor deformation
Examples illustrating methods: