Skip to content
Computing snow avalanches
Mathematica Other
Branch: master
Clone or download


Computing snow avalanches AVAC is a numerical code for simulating flowing avalanches using the ClawPack and GeoClaw libraries. It solves the two-dimensional Saint-Venant equations on an

irregular topography. It uses the Voellmy empirical equation to describe flow resistance.

It also includes additional modules for importing and exporting data:

  • Mathematica notebooks for preparing the input topographic data and transforming the output files into raster files and animations.
  • a Grass addon (r.avac), which prepares the input data, runs the AVAC code, and post-processes the output files. See the pdf files for further information. We plan to provide similar routines based on Python scripts.

We provide additional files to test the code or serve as examples.

The AVAC code has been extensively tested on Linux machines. See the ClawPack information for other operating systems.

*** CONTENTS ***

ClawPack files:

  • b4step2.f90
  • module_voellmy.f90
  • setprob.f90
  • Makefile
  • src2.f90


  • readme (this page)
  • ravac_readme_en.txt: documetation in English for using r.avac
  • ravac_readme_fr.txt: documetation in French for using r.avac
  • article_avac_en.pdf: documentation on AVAC in English
  • article_avac_fr.pdf: documentation on AVAC in French
  • r.avac_manual_en.pdf: documentation on the r.avac addon in English
  • r.avac_manual_fr.pdf: documentation on the r.avac addon in French

Mathematica notebooks:

  • PreProcessClawpack: creating the file from a shapefile
  • PostProcessClawpack: visualizing and exporting the fortq.xxxx into rasters

GRASS addon:

  • r.avac

Application examples:

  • (AVAC+ Mathematica)
  • boussolenc.r.avac.tar.gz (AVAC + r.avac addon)

Christophe Ancey, EPFL, Switzerland Vincent Bain, Toraval, France version 1.0 October 2019

You can’t perform that action at this time.