Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Check out and compile SQuadGen from github. SQuadGen needs a version of netcdf with C++ support.    
  2. Run SQuadGen (or CUBIT) to make an Exodus format “grid file”.  Here we’ll refer to that file as: newmesh.g. SQuadGen requires the user to specify the refinement area via a PNG image. 
  3. To test the new grid, run an idealized problem in standalone HOMME. This requires checking out HOMME and running CMAKE regression tests to ensure it builds and runs on your platform. Details on building standalone HOMME can be found on Running E3SM on New Atmosphere Grids section 2 of generating "dual grid" template files with the fortran method.

...

  • After reading in an RRM mesh, HOMME running in E3SM or standalone will compute various statistics including a measure of the mesh quality/distortion, output as “Max Dinv-based element distortion”.   The equal-angle cubed-sphere grid has a value of 1.7. A high quality regionally refined grid will have a value less than 4. Getting a value less than 4 should be possible with a carefully defined refinement region and the SQuadGen ‘lowcon’ refinement option.  

Example

A jupyter notebook demonstrating creation of a new mesh is available here: https://github.com/brhillman/e3sm_grids/blob/master/notebooks/create_mesh.ipynb