2D Profiles Reader

This page explains how to use the 2D Profiles Reader to visualize 2D profile data.

Supported IDSs

Currently, the following IDS and structures are supported in the 1D Profiles Reader:

IDS

Structure

core_profiles

Core plasma poloidal cross sections

equilibrium

Equilibrium 2D profiles

plasma_initiation

2D poloidal profiles

plasma_profiles

2D poloidal profiles

Using the 2D Profiles Reader

The 2D Profiles Reader functions similarly to the GGD Reader, with the same interface and data loading workflow. This means that the steps for loading an URI, an IDS, and selecting attributes are identical. Refer to the GGD Reader for detailed instructions on:

Plotting 2D profiles

The 2D profile reader will try to load the first valid profiles_2d node that is encountered. A profiles_2d node is valid if both the grid coordinates (r- and z-coordinates), and at least one profile is found. If the radial and height coordinates are filled, these will be loaded. Alternatively, if these coordinates are empty, it will try to load the radial and height coordinates from the dim1 and dim2 coordinates, respectively. Note, this is only supported for rectangular grids.

The VTK plugin will output a vtkMultiBlockDataSet where each block contains a single profile stored as a vtkUnstructuredGrid. The following image shows a 2D profile from an equilibrium IDS.

_images/profiles_2d.png

Contour plot of a 2D profile of poloidal magnetic flux, with the divertor and first wall as reference.


Last update: 2026-03-11