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 Adding support for new atmosphere resolutionsRunning E3SM on New Grids section 2 of generating "dual grid" template files with the fortran method.

...

  • Edit or modify homme/test/jw_baroclinic/run.job for your system
  • This script will configure, build and run the baroclinic problem for a variety of uniform resolutions.
  • Use this script to generate a working namelist.  Edit the namelist for newmesh.g:   
    • ne=0
    • mesh_file = “/user/path/to/newmesh.g”
    • Use tensor hyperviscosity.  Enabled with a non-zero value of hypervis_scaling.  Settings are grid independent.  
    • nu = 8.0e-8,  nu_div = 8.0e-8, nu_p = 8.0e-8
    • hypervis_scaling=3.2
    • tstep_type=5, qsplit=1, rsplit=3, hypervis_subcycle=4
    • u_perturb = 1, this turns on the perturbation to generate the baroclini instability.
    • Change the value of  ‘tstep’ to a value known to work with the finest resolution in newmesh.g
      • Decrease tstep until run is stable
    • HOMME will interpolate the results  (u,v,T, vorticity and divergence, and tracers) and output on a NETCDF lat/lon grid and can be examined with NCL or ncview

...