NIMROD-to-IMAS workflow for extended-magnetohydrodynamic data interoperability

Extended magnetohydrodynamic (MHD) simulations of tokamak plasmas regularly produce outputs in multi-dimensional, multiple-field formats; these code-specific formats make it difficult to do cross-code validation/coupling and analyze at a database scale. In this paper, a workflow that converts NIMROD code inputs and outputs to records compatible with version 4 of the ITER IMAS Data Dictionary is presented. The scope of the workflow includes preprocessing of NIMROD code inputs, conversion of hierarchical NIMROD code HDF5 dumps, COCOS-consistent treatment of the coordinate system and sign convention, and encoding finite-element poloidal meshes and toroidal Fourier components through IMAS General Grid Description. Furthermore, the workflow allows for provenance and integrity metadata to be included while providing optimal I/O operations for large array structures. An example conversion based on an NIMROD code simulation of edge harmonic oscillations performed for the DIII-D discharge 163518 [A.Y. Pankin et al., Nuclear Fusion 60.9 (2020), p. 092004] is used to validate the conservation of essential equilibrium, profile, perturbation, and grid data in the resulting IMAS records. Finally, this implementation exposes gaps in the current IMAS framework that need to be addressed to accommodate extended MHD data, and it highlights the metadata, provenance, and governance needs of the downstream use cases in the form of dataset validation, integration, and machine learning. PROGRAM SUMMARY Program title : nimrod2imas CPC Library link to program files : https://doi.org/10.17632/3366vgx4gb.1 Developer’s respository link : https://github.com/PrincetonUniversity/nimrod2imas Licensing provisions : MIT Programming language : Python Supplementary material : Source code, installation instructions, Makefile targets, a reduced NIMROD-to-IMAS test case, expected output, and validation scripts for profile and mhd_linear structures. Complete test dataset is available through the associated public data repository. Nature of problem : The data generated by extended-MHD simulations performed with NIMROD use code-specific data formats which are not directly compatible with other code formats or formats used in experiments. This limits the use of NIMROD simulation data in integrated modeling workflows and requires development of customized interfaces for experimental and simulation frameworks such as integrated modeling workflows, code-to-code comparison tools, data archiving, and machine learning applications. Solution method : The code converts NIMROD input and output data to IMAS-compliant data structures by mapping NIMROD mesh, fields, equilibria, and profiles to the equivalent IMAS entries, providing IDSs for subsequent use with other IMAS-compliant programs. The functionality is illustrated using the results from a non-linear simulation of NIMROD with DIII-D discharge 163518. Additional comments including restrictions and unusual features : This program is intended for storing the extended-MHD NIMROD data and supports the IMAS quantities and grid representations needed for the workflow demonstrated in this paper. The emphasis is on reproducibly converting NIMROD data into IMAS format. Users are expected to verify the compatibility with the local IMAS version and with their selection of NIMROD variable subsets required for their application. A reduced example for converting NIMROD to IMAS, along with sample input and output, is provided with the program archive. As the production dataset described in the manuscript is too large, it is placed separately in the data depository. References [1] C.R. Sovinec et al., J. Comput. Phys. 195 (2004) 355–386; [2] F. Imbeaux et al., Nucl. Fusion 55 (2015) 123006; [3] A.Y. Pankin et al., Submitted to Scientific Data (2026).

Authors

Institutions

Publication Details

Journal
Computer Physics Communications
Published
2026-11-23
DOI
https://doi.org/10.1016/j.cpc.2026.110504
Primary Topic
Magnetic confinement fusion research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

NIMROD-to-IMAS workflow for extended-magnetohydrodynamic data interoperability

Eric Suchyta, J. Domínguez-Palacios, A.Y. Pankin, Qian Gong et al.
1 links
Computer Physics Communications
Magnetic confinement fusion research
article

NIMROD-to-IMAS workflow for extended-magnetohydrodynamic data interoperability

Eric Suchyta, J. Domínguez-Palacios, A.Y. Pankin, Qian Gong, Norbert Podhorszki, A. Kleiner, F. Ebrahimi, Jacob King
article en

Abstract

Extended magnetohydrodynamic (MHD) simulations of tokamak plasmas regularly produce outputs in multi-dimensional, multiple-field formats; these code-specific formats make it difficult to do cross-code validation/coupling and analyze at a database scale. In this paper, a workflow that converts NIMROD code inputs and outputs to records compatible with version 4 of the ITER IMAS Data Dictionary is presented. The scope of the workflow includes preprocessing of NIMROD code inputs, conversion of hierarchical NIMROD code HDF5 dumps, COCOS-consistent treatment of the coordinate system and sign convention, and encoding finite-element poloidal meshes and toroidal Fourier components through IMAS General Grid Description. Furthermore, the workflow allows for provenance and integrity metadata to be included while providing optimal I/O operations for large array structures. An example conversion based on an NIMROD code simulation of edge harmonic oscillations performed for the DIII-D discharge 163518 [A.Y. Pankin et al., Nuclear Fusion 60.9 (2020), p. 092004] is used to validate the conservation of essential equilibrium, profile, perturbation, and grid data in the resulting IMAS records. Finally, this implementation exposes gaps in the current IMAS framework that need to be addressed to accommodate extended MHD data, and it highlights the metadata, provenance, and governance needs of the downstream use cases in the form of dataset validation, integration, and machine learning. PROGRAM SUMMARY Program title : nimrod2imas CPC Library link to program files : https://doi.org/10.17632/3366vgx4gb.1 Developer’s respository link : https://github.com/PrincetonUniversity/nimrod2imas Licensing provisions : MIT Programming language : Python Supplementary material : Source code, installation instructions, Makefile targets, a reduced NIMROD-to-IMAS test case, expected output, and validation scripts for profile and mhd_linear structures. Complete test dataset is available through the associated public data repository. Nature of problem : The data generated by extended-MHD simulations performed with NIMROD use code-specific data formats which are not directly compatible with other code formats or formats used in experiments. This limits the use of NIMROD simulation data in integrated modeling workflows and requires development of customized interfaces for experimental and simulation frameworks such as integrated modeling workflows, code-to-code comparison tools, data archiving, and machine learning applications. Solution method : The code converts NIMROD input and output data to IMAS-compliant data structures by mapping NIMROD mesh, fields, equilibria, and profiles to the equivalent IMAS entries, providing IDSs for subsequent use with other IMAS-compliant programs. The functionality is illustrated using the results from a non-linear simulation of NIMROD with DIII-D discharge 163518. Additional comments including restrictions and unusual features : This program is intended for storing the extended-MHD NIMROD data and supports the IMAS quantities and grid representations needed for the workflow demonstrated in this paper. The emphasis is on reproducibly converting NIMROD data into IMAS format. Users are expected to verify the compatibility with the local IMAS version and with their selection of NIMROD variable subsets required for their application. A reduced example for converting NIMROD to IMAS, along with sample input and output, is provided with the program archive. As the production dataset described in the manuscript is too large, it is placed separately in the data depository. References [1] C.R. Sovinec et al., J. Comput. Phys. 195 (2004) 355–386; [2] F. Imbeaux et al., Nucl. Fusion 55 (2015) 123006; [3] A.Y. Pankin et al., Submitted to Scientific Data (2026).

Computer Physics CommunicationsVol. 331
Oak Ridge National Laboratory (US), Princeton Plasma Physics Laboratory (US), Fiat Lux (US)
U.S. Department of Energy, Princeton University, National Energy Research Scientific Computing Center, Office of Science
Magnetic confinement fusion research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon