Peano
Loading...
Searching...
No Matches
_tsunami Namespace Reference

Create the PNG illustrations of the tutorial 11_tsunami.ipynb. More...

Detailed Description

Create the PNG illustrations of the tutorial 11_tsunami.ipynb.

The script builds the tutorial's shallow water setup, runs it and writes snapshots of the water height into the directory of this script. It does so twice: for the flat sea floor and for the sea floor shaped like the logo of Durham University (section "Adding bathymetry and external files", which reads the logo from tutorials/exahype2/bathymetry). The tutorial derives flux and eigenvalue of the latter with SymPy, whereas we use the handwritten versions here. Both give the same results. Finally, it runs the setup of section "Letting the bathymetry shape the flow", which uses the surface elevation eta as unknown, and plots it at t=0, 0.1, 0.2 and 0.4. Call the script from anywhere:

 python3 tutorials/exahype2/illustrations/11_tsunami.py

All builds and outputs go into a temporary directory (or –work-directory).