View on GitHub

CIG-LLNL Computational Seismology Workshop

SPECFEM3D_GLOBE Tutorial

Table of Contents

  1. Overview
  2. Introduction
  3. Part I: Setting up SPECFEM3D_GLOBE
  4. Part II: Continental-scale Simulations
  5. Part III: Visualization
    1. Visualize Seismograms
    2. Visualize Model Mesh
    3. Visualize Surface Movie
  6. Part IV: Adjoint Simulations (Bonus)
  7. Further Work
  8. Resources

Part III: Visualization

In this third part of the tutorial, we will look at methods for visualizing the output simulation data. We will look at the following categories:

Visualize Surface Movie

In order to create a surface movie for the simulation, we need to go through a couple of steps that are similar to what we did for visualizing the model mesh.

First, we need to modify the Par_file such that the movie data are being saved. Therefore, open up DATA/Par_file and set the following parameter to .true.:

  ...

  # save AVS or OpenDX movies
  # MOVIE_COARSE saves movie only at corners of elements (SURFACE OR VOLUME)
  # MOVIE_COARSE does not work with create_movie_AVS_DX
  MOVIE_SURFACE                   = .true.

  ...

Once this is done, we need to go through the following three steps in order to visualize the surface movie:

  1. Rerun the solver routine
  2. Generate the movie data
  3. Visualize using Paraview
      sbatch submit_solver

And use squeue to monitor the job. Once the job finishes, we can check the OUTPUT_FILES/output_solver.txt file to make sure that the solver ran successfully, and then we can move on to the next step.

      ./bin/xcreate_movie_AVS_DX

This script will then give you several options for how you want to format the movie data:

The movie data will now be converted to AVS format and stored in the OUTPUT_FILES/ folder.

Surface movie visualization of the South Napa earthquake.

In this section, we have looked at how to create a surface movie for our simulation and how to visualize it using Paraview.

In the next section we move on to Part IV of the tutorial, and look at how to run adjoint simulations using SPECFEM3D_GLOBE.

Previous sectionNext section