2015 summer Program Tutorials

From CIDER
Jump to: navigation, search

Laurent Montesi. Geodynamics tutorial: Mantle convection with ASPECT

In this tutorial, we will conduct simple basic convection models that are used to learn about the physics of mantle convection. We will be using the FInite Element code ASPECT [1], developed by CIG [2]. You should have downloaded a virtual machine that contains the code before coming to CIDER (certainly before the tutorial!). We will work on installing the virtual machine, study the code, its input file, and how to visualize the results. We will work together to construct the relation between Rayleigh number and Nusselt number (I will explain what that means) for different grid resolutions.

The specific tutorial objectives are

  > Understand better numerical modeling
  > Learn basic use of the ASPECT code
     >>Command line operations
     >>Equations for mantle convection 
  > Edit parameters for an ASPECT simulation
     >>Boundary conditions
     >>Grid refinement
  > Visualize ASPECT output using Paraview
  > Analyze ASPECT simulation results
  > Document the Nusselt-Rayleigh number relation

Here is a copy of the tutorial instructions. Media:AspectTutorial.pdf‎

Paul Asimow: MELTS

For Thursday 9 July afternoon, here is an updated version of the Melts-rhyolite executable. Please put this in your ~/MELTS folder on your virtual machine: http://www.asimow.com/Melts-rhyolite-public.zip

Update 07/29/15: a preview version of alphaMELTS 2 [[3]], which can run the new rhyolite-MELTS and H2O-CO2 fluid models, is available from the Summer Program Agenda [[4]]. The zip file also includes a more recent version of rhyolite-MELTS, with a couple of minor bug fixes. Please transfer the downloaded .zip file to your virtual machine first, then unzip it by double-clicking it (within Ubuntu). There is a *README* with instructions for updating the software.

Doug Wiens: Seismology tutorial

We will be using the SEATREE modules larry3d, larry, and Syn2D Seatree is available at http://geosys.usc.edu/projects/seatree/

The software has been put in a virtual machine: http://geodynamics.usc.edu/~becker/ugesce.html This is a different virtual machine from the one with CIG used in other tutorials. It needs to be downloaded separately from what you've done before.

You can download the virtual machine from the link above or you can copy it off of a memory stick that Doug Wiens can give you. You should try to do this prior to the tutorial. The virtual box requires about 13 Gb of disk space when uncompressed, so you may need to clear off your disk drive a little. If your disk space is extremely limited you may have to share a computer with somebody else.

After you have installed the compressed software:

- click the compressed "seatree" file to uncompress

- start VirtualBox

- select "new" from menu

- choose Linux-Fedora (64bit) as operating system, and use something like "SEATREE-2015" as a name

- choose some memory that leaves enough for your other operating system, depending on hardware. 2GB should be enough. Use defaults if at any stage you're not sure.

- select "use existing disk" and pick the .vdi file you downloaded (best to put it close to wherever your VirtualBox install likes to put those "hard drives")

- if this step is successful, your new Linux virtual machine should

 show within VirtualBox as "SEATREE-2015".

You should then find another virtual machine named "Seatree-2015" on your virtual box manager (along with the Cider one). Double click this virtual box (or click on the green arrow with it selected) to start Seatree.

You will then get a login screen. Login as "Seatree user" with password "seatree" You should then see a screen saying something like "USC Geodynamics Environment". You can start the modules running by clicking the green Seatree icon and selecting from the pull down menu

Jeff Freymueller: Geodesy

More information about the UNAVCO data products are available at: http://www.unavco.org/data/gps-gnss/derived-products/derived-products.html

How to install GMT5 on the virtual machine Unfortunately you need to build from source, which takes a while but is doable. You need a stable internet connection. The instructions are also available at http://gmt.soest.hawaii.edu/projects/gmt/wiki/BuildingGMT#Building-GMT-from-source Here's a condensed / translated version

  • Turn on the CIG virtual machine.
  • start a terminal/console. In it type
  > svn checkout svn://gmtserver.soest.hawaii.edu/gmt5/trunk gmt5-dev
  > wget ftp://ftp.soest.hawaii.edu/gshhg/*.tar.gz
  > tar xvzf gshhg*
  > wget ftp://ftp.soest.hawaii.edu/dcw/dcw-gmt-1.1.1.tar.gz
  > tar xvzf dcw*
  > cd gmt5-dev/cmake
  > cp ConfigUserTemplate.cmake ConfigUser.cmake 
  > gedit ConfigUser.cmake&
  • look for the line that contains CMAKE_INSTALL _PREFIX and modify it to set (CMAKE_INSTALL_PREFIX /opt/gmt)
  • look for the line with GSHHG_ROOT and modify it to set (GSHHG_ROOT /user/CIG/gshhg-gmt-2.3.4)
  • look for the line with DCW_ROOT and modify it to set (DCW_ROOT /user/CIG/dcw-gmt-1.1.0)
  • Save ConfigUser.cmake and exit gedit. Then type in the termina
  > cd ~/gmt5-dev
  > mkdir build
  > cd build
  > cmake ..
  > make
  > sudo make install
  > sudo aptitude install gv
Personal tools
Message Board
Current Program:
Upcoming Program: