Revision as of 17:02, 7 December 2020 by Jhariharan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Alternative mesh generation for Landlab

1.0 hrs
Run online using:
     Jupyter logo.png

    Jay Hariharan at University of Texas at Austin.

Output 29 0.png
This lab consists of three notebooks that use the mesh generator dmsh and the mesh generator from Anuga to create unstructured grids that are passed into Landlab. The examples contain code for creating Landlab models using these other mesh generators as a starting point. Only the flow accumulation and drainage area components are demo'd, but there are many other questions one might want to ask about the influence of cell resolution (and local cell resolution) on different landscape evolution processes.

Classroom organization
This lab is designed for undergraduate and graduate students studying earth sciences. The notebooks give participants the opportunity to interactively explore the topics covered.

Learning objectives
  • Mesh generation in dmsh, Anuga, and Landlab
Key concepts
  • Mesh generation
  • Mesh visualization

Lab notes
Output 26 01.png
A result from using an Anuga-generated grid with the Landlab flow accumulator. The source elevation data is displyed on the left, the generated Landlab grid with elevations in the center, and the resulting flow accumulation map on the right.
More information on the examples used in this lab can be found in the documentation: The source code for the examples can be found at

If run locally, this lab requires the installtion of the Python packages numpy, matplotlib, landlab, dmsh, anuga, itkwidgets, and pyvista. See for more detailed installation instructions.

  • Barnhart, Katherine R., et al. "Landlab v2. 0: a software package for Earth surface dynamics." Earth Surface Dynamics 8.2 (2020): 379-379.
  • Schlömer, Nico. "dmsh." GitHub Repository. v0.2.9 (2020):
  • Roberts, S., et al. "ANUGA user manual. Release 2.0." Geoscience Australia, Symonston (2015).