Skip to content

Conversation

draguve
Copy link

@draguve draguve commented Jun 6, 2025

This pull request contains the code to generate the subduction-3d example using Gmsh instead of Cubit. The Gmsh-based workflow also incorporates topography for the region.

Topographic data is sourced from the GMTED2010 dataset. You can download the necessary files using the ./download_topography.sh script, which retrieves topography at a 30-arc-second spatial resolution.

To convert the topography into a usable NetCDF format, use the generate_localdem.py script. This script requires the GDAL package and is responsible for generating the NetCDF input consumed by generate_gmsh.py.

If a higher-resolution topography is desired, you can manually download the appropriate data and update the file paths in generate_localdem.py accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant