README.html | |
Source file: README.txt | |
Directory: /Users/rjl/Dropbox/ggsss-pages/claw-apps/shallow-1d-1 | |
Converted: Wed Aug 1 2012 at 10:26:42 using clawcode2html | |
This documentation file will not reflect any later changes in the source file. |
|
CLAWPACK Sample Code1d Shallow water equations with dam-break initial data. Set up to solve the same problem as suggested in the tutorial, but using the full nonlinear shallow water equations. Note that the left-going wave is a rarefaction wave but the linearized equations around depth h0 = 10 gives a reasonable approximation to this. In this example solid wall boundary conditions are applied so that the waves reflect and further interact at later times. Note the jump in depth when a wave reflects at the boundary. Note also that the interaction of waves looks nearly linear: the waves seem to pass through one another. This is because the variation in depth is small relative to the total depth. Changing the parameters in setrun.py [.html] so that the jump is larger relative to the background depth would reveal more nonlinear interaction.
Plots of resultsAfter running this code and creating plots via "make .plots", you should be able to view the plots in _plots/_PlotIndex.html .
Fortran files
Python files
Data filesWarning: These files are generally changed when setting up a run, usually in setrun.py [.html].
Library routinesIn addition to the Fortran routines in this library, several library routines from $CLAW/clawpack/1d/lib are used. See the Makefile [.html] to determine which ones are used.
|