Testing a PyClaw installation and running an example¶
If you downloaded Clawpack manually, you can test your Pyclaw installation as follows (starting from your clawpack directory):
cd pyclaw
nosetests
This should return ‘OK’.
Running an example¶
Many examples of Clawpack simulations can be seen in the Galleries of all Clawpack applications.
To run an example and plot the results using PyClaw, simply do the following (starting from your clawpack directory):
cd pyclaw/examples/euler_2d
python shock_bubble_interaction.py iplot=1
That’s it. For next steps with PyClaw, see PyClaw Basics.
More examples¶
You might also want to download the Clawpack Applications repository, which contains additional examples.