Lab-0020

From CSDMS

Alternative mesh generation for Landlab

Model
Landlab
Duration
1.0 hrs
Updated
2020-12-01
Download
download
Run online
     Jupyter logo.png

Contributor(s)
    Jay Hariharan at University of Texas at Austin.

Introduction
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
Skills
  • 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: https://elbeejay.github.io/meshing-with-landlab/. The source code for the examples can be found at https://github.com/elbeejay/meshing-with-landlab.

Requirements
If run locally, this lab requires the installtion of the Python packages numpy, matplotlib, landlab, dmsh, anuga, itkwidgets, and pyvista. See https://jayaramhariharan.com/meshing-with-landlab/dependencies for more detailed installation instructions.

References
  • 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): https://github.com/nschloe/dmsh
  • Roberts, S., et al. "ANUGA user manual. Release 2.0." Geoscience Australia, Symonston (2015).