Answers are grounded in this paper and cite their sources.
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).
No takes yet. Share an insight, caveat, or question.
Pankin et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: