UCVM 3D Viz

From SCECpedia
Revision as of 00:41, 25 October 2018 by Maechlin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

These are notes on the steps we used to visualize UCVM models in 3D. Current efforts are to visualize the supported models using IRIS EMC Paraview plugin tools.

Installing IRIS EMC Plugins

  1. Retrieve the latest EMC Paraview distribution
  2. To support SCEC models with large value range, update the read_models.py plugin file
 read_models.py
               if V[var][i,j,k] > 999.0:
                  scalars.InsertNextValue(float('nan’))
  1. change it to 9999.0 to test it.
  2. Install bundle by executing the python2 script "build_plugin_macros.py"
  3. Option 2: As indicated on top of the Plugin Manager window, you may place your plugin files under the designated plugin directory so they would be loaded automatically. A better option would be to make the designated plugin directory a soft symbolic link of your plugin directory:
  4. ln -s {FULL PATH TOIRIS_EMC_Paraview}/plugins {FULL PATH TO PARAVIEW APPLICATION DIRECTORY}/Contents/MacOS/plugins
  5. then restart ParaView
  6. In ParaView go to "Sources --> IRIS EMC" to see various EMC sources you have installed
  7. In ParaView go to "Filters--> IRIS EMC" to see the single EMC filter you have installed (it should be grayed out since you have no data to filter yet!)

Creating NetCDF files from UCVM models

IRIS Web Pages

Related Entries