Clawpack Finite-Volume Solvers for Hyperbolic PDEsNew

License: BSD-3-Clause · Updated 2026-10-24
My rating

What it is

Clawpack (Conservation Laws Package) solves hyperbolic PDEs with finite-volume, Godunov-type schemes. If your problem involves discontinuities - shocks, dam breaks, tsunami propagation - this is the classic open-source choice.

Components

  • PyClaw: high-level Python driver, easy to script and teach with
  • sharpclaw / amrclaw: higher-order and AMR variants
  • VisClaw: plotting utilities for 1-D/2-D solutions
  • geoclaw: geophysical flows - tsunamis, landslide, overland flow

Learning path

  1. Install PyClaw; run the advection and Burgers examples
  2. Implement a Riemann solver for the shallow-water equations
  3. Explore geoclaw tsunami examples with real bathymetry data
  4. Read LeVeque "Finite Volume Methods for Hyperbolic Problems" alongside

Why it matters for physics-ML

Hyperbolic solvers generate the shock-resolving training data and differentiable building blocks that ML closures and surrogates for compressible flows rely on.

Tags: