See also:
If you use using the class VM, the Clawpack software is in the directory clawpack-4.x. If you are using it on your own computer, see the Installation instructions.
Open a terminal and do (the first $ indicates the Linux prompt):
$ cd $CLAW
This should take you into the directory clawpack-4.x. (The environment variable $CLAW should already be set properly on the VM.)
To try out an advection example:
$ cd apps/advection/1d/example1
$ make .plots
With luck this will automatically do the following:
If you now give the command:
$ firefox _plots/_PlotIndex.html
you should be able to view these plots.
To try changing a parameter, edit the file setrun.py and then type:
$ make .plots
and reload the plot file in firefox.
Some things you might try changing:
The directory $CLAW/apps contains a number of other applications you might want to experiment with. You might next look at the acoustics examples in $CLAW/apps/acoustics/1d/example1.
Note that the Riemann solver used for each case is in a Fortran file in the corresponding directory with the name rp1.f.
See the Clawpack Documentation for more information about changing parameters and plotting the results.