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 |
|---|---|
|
|
|
|
|
|
|
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:
Loading an URI: How to provide the file path or select a dataset.
Loading an IDS: How to load a dataset and display the grid.
Selecting attribute arrays: How to choose and visualize attributes.
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.
Contour plot of a 2D profile of poloidal magnetic flux, with the divertor and first wall as reference.¶