SOLPS-ITER Case

In this example, we will load and visualize a SOLPS-ITER GGD grid and several quantities defined on this GGD grid. We first visualize the electron pressure from the edge_profiles IDS.

Next, we learn how to extract grid subsets of the GGD grid using the MultiBlock Inspector. GGD grid subsets represent a portion of the contents of a larger full grid, usually intended for more accurate analysis of an exactly specified piece of the grid. Which grid subsets are available depends on the data provider (in this case SOLPS).

Finally, we will visualize the density of the Ne and the D ions side-by-side, and visualize the ratio of the two using ParaView's calculator functionality.

You can download the ParaView state file for this example here. However, we recommend that you manually follow the steps outlined below.

Loading the Electron Pressure

In this subsection, we will load the SOLPS GGD grid and visualize the electron pressure on this grid.

  1. Navigate to Sources > IMAS Tools and select the GGD Reader.

  2. Enter the following URI in the Enter URI field of the GGD reader plugin, and select Apply:

    imas:hdf5?path=/work/imas/shared/imasdb/ITER_SCENARIOS/3/123364/1
    
  3. Select the edge_profiles IDS in the IDS/Occurrence dropdown menu.

  4. Select Apply to load the edge profiles GGD grid.

  5. After the GGD grid is loaded, bring the grid into view by aligning the viewpoint in the positive Y direction using the following button: ico1.

  6. Select the Electrons Pressure from the attribute array selection window.

  7. Select Apply to load the electron pressure values on the grid.

  8. Select Electrons Pressure [Pa] in the coloring dropdown to visualize the electron pressure.

_images/solps_electron_pressure.png

Edge Profiles GGD showing the electron pressure. Data provided by X. Bonnin.

Extracting grid subsets from GGD

In this subsection, we will learn how to extract grid subsets from a GGD grid. Specifically, we will extract the inner SOL, core and separatrix GGD grid subsets. For more information on the GGD format and how it is structured, see the Data Dictionary documentation.

  1. We can view the different types of grid subsets that are stored in the GGD by using the MultiBlock Inspector. This can be found under View > MultiBlock Inspector.

  2. The MultiBlock Inspector shows the different grid subsets that are stored in this GGD object. In our case, we want to view only SOL, CORE and SEPARATRIX grid subsets. Select those using MultiBlock Inspector and ensure all other grid subsets are deselected. You should now see the electron pressure for only the selected grid subsets.

_images/solps_multiblock.png

Electron Pressure defined on the core, SOL and separatrix. Data provided by X. Bonnin.

Visualizing Ion Density

This subsection demonstrates how to visualize the density of Deuterium (D) and Neon (Ne) ions across the complete GGD grid, as well as compute and visualize their density ratio.

  1. Start by selecting all the grid subsets again in the MultiBlock Inspector and then close the MultiBlock Inspector. You should now see the full GGD grid again.

  2. We will visualize the density of the Ne and D ions on the GGD grid. Select the Ion Density in the Select attribute array selection.

  3. Click on Apply to load the ion densities.

  4. You should now see both Ion (D) Density [m^-3] and Ion (Ne) Density [m^-3] options in the coloring dropdown. We want to visualize them side by side. To do so, open a new RenderView by pressing the following button: ico2.

  5. In the Create View section select the Render View button to create a new RenderView, and ensure you enable viewing of the GGD reader by selecting the eye icon.

  6. Select the left render view, and select the D density in the coloring section. Similarly, select the right render view and select the Ne density in the coloring section.

  7. We will now create another render view, in which we will show the ratio of the Ne / D ion density. First, create a new RenderView like before, select the GGD reader and apply the calculator tool, under Filters > Data Analysis > Calculator.

  8. In the calculator properties, change the Attribute Type to Cell Data, set the result array name to Ne / D Density. Next, under the Scalars dropdown, select the Ion (Ne) Density [m^-3], then the division symbol, followed by Ion (D) Density [m^-3]. The calculator input should now show: "Ion (Ne) Density [m^-3]"/"Ion (D) Density [m^-3]".

  9. Select the Apply button, and select the Ne / D Density in the coloring dropdown menu.

_images/ne_d_ratio.png

Grid showing the Deuterium density (left), the Neon density (middle), and the ratio of Neon over Deuterium density (right). Data provided by X. Bonnin.


Last update: 2026-03-11