Data processing system suitable for two-dimensional boundary plasma fluid calculation program SOLPS

By designing a data processing system suitable for SOLPS, the problems of operational complexity and low customization were solved, achieving efficient and reliable data processing and diversified display, and improving the accuracy and efficiency of simulation results.

CN121503077APending Publication Date: 2026-02-10INST OF ENERGY HEFEI COMPREHENSIVE NAT SCI CENT (ANHUI ENERGY LAB)
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202511727655.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-24
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing SOLPS simulation software has a complex data processing workflow, relies on a specific Linux environment, cannot perform data visualization and analysis during the computation process, has low customization, and cannot meet the diverse needs for displaying plasma parameters.

Method used

A data processing system for the two-dimensional boundary plasma fluid calculation program SOLPS was designed, including modules for simulation calculation convergence state analysis, experimental and simulation comparison, and simulation result processing. It supports reading and processing of multi-format data files, provides a graphical user interface, and enables one-click operation and diverse visualization.

Benefits of technology

It reduces operational complexity, provides quantitative criteria for judging simulation convergence, supports direct comparison between experimental and simulated data, improves the efficiency, accuracy and reliability of data processing, and meets diverse display needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121503077A_ABST
    Figure CN121503077A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of plasma numerical simulation, in particular to a data processing system suitable for a two-dimensional boundary plasma fluid calculation program SOLPS. According to the technical scheme, the system comprises a simulation calculation convergence state analysis module, an experiment and simulation comparison module and a simulation result processing module. According to the method, one-key data processing is realized through an automatic script and a graphical interface, and the limitation of a specific computing environment is broken through; the system can quantitatively analyze the simulation convergence state, provides a direct comparison function of experiment and simulation data, and provides a reliable basis for transport coefficient calibration. Meanwhile, flexible customization of various visualization forms is supported, the problems that a traditional method is tedious in operation, low in efficiency and insufficient in flexibility are effectively solved, and the efficiency, accuracy and reliability of data processing are comprehensively improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of plasma numerical simulation, and particularly relates to a data processing system suitable for a two-dimensional boundary plasma fluid calculation program SOLPS (Scrape-off Layer Plasma Simulation). BACKGROUND

[0002] In the research of magnetic confinement nuclear fusion, the physical processes in the scrape-off layer and the divertor region of a tokamak device are extremely complex, and numerical simulation has become a key means for analyzing physical mechanisms, predicting plasma behavior and optimizing device design. Among them, the SOLPS simulation software is one of the core simulation tools widely used internationally, which includes two main modules: a two-dimensional boundary fluid calculation program B2 / B2.5 and a three-dimensional neutral particle transport Monte Carlo program EIRENE. The simulation software has played an irreplaceable role in the research of EAST, DIII-D, ASDEX-U and other tokamak devices, and provides an important basis for the design of future fusion reactors.

[0003] The SOLPS simulation software has significant operational complexity and functional limitations in its accompanying data processing procedures while generating calculation results, which seriously restricts the research efficiency. At present, the post-processing of the SOLPS simulation results is highly dependent on a specific Linux computing environment and needs to strictly follow the preset process of the main program. Users must manually input a series of complex command line instructions to perform data extraction, conversion and visualization operations. This process not only requires users to have skilled command line operation skills, but also the embedded computing process leads to long and tedious data processing, which is prone to errors due to human operation mistakes. In addition, the existing data processing method has two major defects: first, users cannot independently and flexibly perform data visualization analysis while the simulation calculation process is running, and must wait until the calculation phase is completed before performing post-processing, which disrupts the continuity of research and analysis. Second, the visualization functions provided by the system have a very low degree of customization, with single options in terms of graph type, coordinate range, style setting, etc., making it difficult to meet the needs of diversified and refined display of plasma parameters (such as electron density, electron temperature, heat flow, etc.) profiles, evolution and two-dimensional distribution in different research scenarios. Therefore, the present application proposes a data processing system suitable for a two-dimensional boundary plasma fluid calculation program SOLPS. SUMMARY

[0004] The purpose of the present application is to address the two major defects of the existing data processing method in the background art, and to propose a data processing system suitable for a two-dimensional boundary plasma fluid calculation program SOLPS.

[0005] The technical scheme of the present application is a data processing system suitable for a two-dimensional boundary plasma fluid calculation program SOLPS, comprising:

[0006] A simulation calculation convergence state analysis module is configured to read physical parameters and calculation residual data in a simulation evolution process, evaluate the convergence state of the simulation calculation by analyzing the change trend of plasma temperature, density, heat flow, particle flow, radiation and other physical parameters and calculation residuals, and output a convergence state report.

[0007] An experiment and simulation comparison module is configured to compare experimental data and simulation data of plasma parameters at the outer mid-plane and the divertor target plate, and provide reference information for the setting of the transport coefficient in the simulation based on the comparison result.

[0008] A simulation result processing module is configured to automatically read and process a plurality of files output by the simulation calculation, and generate at least one type of visual chart to display the plasma parameters.

[0009] Optionally, the simulation calculation convergence state analysis module comprises:

[0010] A first data reading module is configured to read b2tallies.nc and b2time.nc files containing simulation evolution information.

[0011] A first data processing module comprises a first data type identification module and a first data processing mode module, and is configured to identify the type of the files and call the corresponding data processing mode.

[0012] A first data plotting module is configured to visualize the processed evolution data.

[0013] A first data storage module is configured to save the processed data and the plotting result.

[0014] Optionally, the experiment and simulation comparison module comprises:

[0015] A second data reading module comprises a simulation data reading module configured to read output, 2d_profiles, b2fstate and other files, and an experiment data reading module configured to read EAST database and *.mat, *.fig and other file types.

[0016] A second data processing module comprises a second data type identification module and a second data processing mode module, and is configured to identify and process simulation data and experimental data, respectively.

[0017] A second data plotting module comprises a second plotting parameter module configured to select plasma parameters, and a second plotting style module configured to set the chart style, so as to present the data comparison result in the same frame.

[0018] A second data storage module is configured to store the processed comparative data and the chart.

[0019] Optionally, the simulation result processing module comprises:

[0020] A third data reading module is configured to read a plurality of files such as output, 2d_profiles, balance.nc, b2fstate, b2fgmtry, and structure.dat.

[0021] A third data processing module comprises a third data type identification module and a third data processing mode module, and is configured to identify the file type and perform corresponding processing.

[0022] A third data plotting module comprises a first plotting type module configured to select a graph type, a third plotting parameter module configured to select a plasma parameter, and a third plotting style module configured to set a chart style, and the graph type comprises a profile graph, an evolution graph, and a two-dimensional contour graph.

[0023] A third data storage module is configured to store the processed data and the visualized chart.

[0024] Optionally, the plotting style modules in the first data plotting module, the second data plotting module, and the third data plotting module all support customizing settings of X / Y axis labels, legends, font styles, line type styles, and frame styles.

[0025] Optionally, the first data storage module, the second data storage module, and the third data storage module all comprise:

[0026] A storage format selection module is configured to store the data in different file types according to user selection.

[0027] A storage address selection module is configured to store the data in a local folder specified by the user.

[0028] Optionally, in the experiment and simulation comparison module, the electron density and the electron temperature at the outer mid-plane are compared, and the transport coefficients in the upstream region are adjusted; the electron density, the electron temperature, the particle flow, and the heat flow at the divertor target plate are compared, and the transport coefficients in the divertor region are adjusted.

[0029] Optionally, the system is constructed based on a MATLAB platform and provides interactive operation through a graphical user interface.

[0030] Compared with the prior art, the present application has at least one of the following beneficial technical effects:

[0031] By pre-setting scripts and graphical interfaces, the operations that need to be manually performed in the Linux command line are converted into a "one-click" processing mode, reducing the operation complexity and the need for human intervention.

[0032] By automatically analyzing the plasma parameters and calculating the evolution trend of the residual error, an objective and quantitative standard is provided for judging whether the simulation converges, assisting users in optimizing parameters.

[0033] By directly comparing the experimental and simulation data of the outer mid-plane and the filter target plate through the integrated module, the differences are clarified, providing a reliable basis for calibrating the transport coefficients in the simulation, thereby improving the reliability of the simulation.

[0034] Users can customize the selection of drawing plasma parameter profile graphs, evolution graphs or two-dimensional contour graphs according to their needs, and can adjust the coordinate, legend, line type and other drawing styles to make the result display more diverse and clear.

[0035] The data processing system runs independently of the calculation environment of the SOLPS main program, supports reading and processing of multiple format data files, and stores the processing results in the format and path specified by the user, improving the universality and convenience of data processing.

[0036] The present application realizes "one-click" data processing through automatic scripts and graphical interfaces, breaking through the limitations of specific calculation environments; the system can quantitatively analyze the simulation convergence state; and provides a direct comparison function between experimental and simulation data, providing a reliable basis for transport coefficient calibration; at the same time, it supports flexible customization of multiple visualization forms. Effectively solves the problems of traditional methods such as complicated operation, low efficiency and insufficient flexibility, and comprehensively improves the efficiency, accuracy and reliability of data processing. BRIEF DESCRIPTION OF DRAWINGS

[0037] Figure 1 It is a kind of data processing system overall framework diagram suitable for two-dimensional boundary plasma fluid calculation program SOLPS;

[0038] Figure 2 It is a kind of simulation calculation convergence state analysis module schematic diagram of data processing system suitable for two-dimensional boundary plasma fluid calculation program SOLPS;

[0039] Figure 3 It is a kind of experimental and simulation comparison module schematic diagram of data processing system suitable for two-dimensional boundary plasma fluid calculation program SOLPS;

[0040] Figure 4 It is a kind of simulation result processing module schematic diagram of data processing system suitable for two-dimensional boundary plasma fluid calculation program SOLPS. DETAILED DESCRIPTION

[0041] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and features described therein can be combined with each other.

[0042] Example

[0043] This invention provides a data processing system suitable for the two-dimensional boundary plasma fluid calculation program SOLPS, and its overall architecture diagram is shown below. Figure 1 As shown, it includes the following modules: simulation calculation convergence state analysis module, experiment and simulation comparison module, and simulation result processing module. Each module will be described in detail below.

[0044] like Figure 2 The diagram shows the simulation convergence state analysis module. This module analyzes the evolution of physical parameters such as plasma temperature, density, heat flux, particle flow, and radiation, as well as the computational residuals, to determine whether the simulation has converged at this stage, providing a quantitative analysis basis for parameter optimization. The specific operation steps are as follows: First, the b2tallies.nc and b2time.nc files are read in the first data reading module; then, data processing is performed in the first data processing module: the read files are identified in the first data type identification module, and the read file information is passed to the first data processing mode module. Different data processing modes are applied to the b2tallies.nc and b2time.nc files respectively to obtain the evolution information of physical parameters such as plasma temperature, density, heat flux, particle flow, and radiation, as well as the computational residuals; the processed data is then passed to the first data plotting module to visualize the data processing results; finally, the processed simulation data and visualization results are stored in a local folder through the first data storage module. By automatically reading and parsing specific data files, quantitative indicators of the convergence state are directly output, replacing the subjective judgment process of researchers manually extracting data and observing curves based on experience, making the convergence criteria consistent and repeatable.

[0045] like Figure 3As shown, this is the experimental vs. simulation comparison module. This module is used to compare experimental and simulated data on electron density and temperature in the outer midplane and electron density, electron temperature, particle flux, and heat flux in the divertor target plate. It provides an important reference for setting the transport coefficient in the simulation, making the simulation results as close as possible to the experimental results and increasing the reliability of the simulation results. The specific steps are as follows: First, the raw data files are read in the first data reading module: various types of simulation output files such as output, 2d_profiles, and b2fstate are read in the simulation data reading module, and various forms of experimental data such as *.mat and *.fig are read in the experimental data reading module. The simulation data and experimental data read above are then passed to the second data processing module for processing: in the second data type identification module, the experimental data and simulation data files read in the second data reading module are identified, and the read file information is passed to the second data processing mode module. Different data processing modes are used for different data file types to obtain the processed simulation data and experimental data. The processed data is then passed to the second data plotting module: in the second plotting parameter module, the plasma parameters to be plotted are selected, and then the plotting style is selected in the second plotting style module. Finally, the simulation data and experimental data will be presented in the same plotting frame, realizing the comparison of simulation and experimental data at the outer plane and divertor target plate, thus providing an important reference for setting the transport coefficient in the simulation. Finally, the processed experimental data and simulation data are saved in the second data storage module for subsequent viewing and analysis. Aligning and processing experimental and simulation data from different sources and in different formats within a standardized process eliminates errors that may be introduced during manual data conversion and processing, and displays the differences directly in a unified view, providing a clear basis for adjusting transport coefficients.

[0046] like Figure 4The diagram shows the simulation results processing module. This module processes various files output from simulation calculations. The processing methods for different files have been scripted, allowing users to simply import the output files to automate the simulation results processing and visualize the data. The specific steps are as follows: First, the third data reading module reads various files such as output, 2d_profiles, balance.nc, b2fstate, b2fgmtry, and structure.dat. The simulation data files are then processed in the third data processing module: the type of data to be processed is identified in the third data type identification module, and substituted into the corresponding data processing mode in the third data processing mode module to obtain the processed simulation data. The processed data is then passed to the third data plotting module: the desired graph type is selected in the first plotting type module, including plasma parameter profiles, evolution diagrams, and two-dimensional contour plots; the desired plasma parameters are selected in the third plotting parameter module; and the plotting style is selected in the third plotting style module. The final data processing result is presented as an image, achieving visualization. Finally, the processed simulation data and visualization results are stored in a local folder in the third data storage module. By automatically identifying file types and calling corresponding processing programs through pre-set scripts, researchers are freed from repetitive tasks of file format parsing and chart drawing, reducing operational steps and errors caused by manual operation, and improving the efficiency of output.

[0047] The first, second, and third plotting style modules all include X / Y axis labels, legends, font styles, line styles, and frame styles. This allows users to customize chart styles according to specific publication or report requirements, ensuring that the generated visualizations conform to standards and are easily used for subsequent analysis, presentations, and documentation. The first, second, and third data storage modules all include a storage format selection module and a storage location selection module. The storage format selection module allows data to be stored using different file types according to user preferences. The storage location selection module allows data to be stored in any local folder. This empowers users to choose the data saving format and location, enabling seamless integration of processing results into existing personal or team data management workflows, enhancing data portability and system workflow adaptability.

[0048] This invention, based on the MATLAB software platform, designs and implements a data processing system suitable for the two-dimensional boundary plasma fluid calculation program SOLPS. The system employs a graphical user interface (GUI) for its interactive interface, sets corresponding controls, and compiles code to implement the functions of each module. This invention can be used to evaluate the convergence state of simulation calculations, providing quantitative analysis basis for parameter optimization; it can compare and analyze experimental and simulation results of plasma parameters for the outer-middle plane and divertor target plate, providing a reliable basis for optimizing transport coefficient settings in the simulation and effectively improving the reliability of simulation results; it supports automated batch processing of multi-format data files. Furthermore, all the above data processing results support visualization display functions, intuitively presenting the data processing results through interactive icons.

[0049] The above specific embodiments are merely several optional embodiments of the present invention. Based on the technical solutions of the present invention and the relevant teachings of the above embodiments, those skilled in the art can make various alternative improvements and combinations to the above specific embodiments.

Claims

1. A data processing system suitable for the two-dimensional boundary plasma fluid calculation program SOLPS, characterized in that, include: The simulation calculation convergence state analysis module is used to read the physical parameters and calculation residual data during the simulation evolution process. By analyzing the changing trends of various physical parameters such as plasma temperature, density, heat flux, particle flow, and radiation, as well as the calculation residuals, the convergence state of the simulation calculation is evaluated. The experiment and simulation comparison module is used to compare experimental and simulation data of plasma parameters at the outer plane and divertor target plate, and to provide reference information for setting the transport coefficient in the simulation based on the comparison results. The simulation results processing module is used to automatically read and process various files output from simulation calculations, and generate at least one type of visualization chart to display plasma parameters.

2. The data processing system for the two-dimensional boundary plasma fluid calculation program SOLPS according to claim 1, characterized in that, The simulation calculation convergence state analysis module includes: The first data reading module is used to read the b2tallies.nc and b2time.nc files containing simulated evolution information; The first data processing module includes a first data type identification module and a first data processing mode module, used to identify the type of the file and call the corresponding data processing mode; The first data plotting module is used to visualize the processed evolution data; The first data storage module is used to save the processed data and plotting results.

3. The data processing system for the two-dimensional boundary plasma fluid calculation program SOLPS according to claim 1, characterized in that, The experimental and simulation comparison module includes: The second data reading module includes a simulation data reading module for reading various files such as output, 2d_profiles, and b2fstate, and an experimental data reading module for reading the EAST database and various file types such as *.mat and *.fig formats; The second data processing module includes a second data type identification module and a second data processing mode module, which are used to identify and process simulated data and experimental data, respectively. The second data plotting module includes a second plotting parameter module for selecting plasma parameters and a second plotting style module for setting chart styles, so as to present data comparison results in the same frame. The second data storage module is used to save the processed comparison data and charts.

4. The data processing system for the two-dimensional boundary plasma fluid calculation program SOLPS according to claim 1, characterized in that, The simulation result processing module includes: The third data reading module is used to read various files such as output, 2d_profiles, balance.nc, b2fstate, b2fgmtry, and structure.dat; The third data processing module includes a third data type identification module and a third data processing mode module, which are used to identify file types and perform corresponding processing. The third data plotting module includes a first plotting type module for selecting plot types, a third plotting parameter module for selecting plasma parameters, and a third plotting style module for setting chart styles. The plot types include cross-sectional views, evolution diagrams, and two-dimensional contour plots. The third data storage module is used to save the processed data and visualization charts.

5. A data processing system for the two-dimensional boundary plasma fluid calculation program SOLPS according to any one of claims 2-4, characterized in that, The plotting style modules in the first, second, and third data plotting modules all support custom settings for X / Y axis labels, legends, font styles, line styles, and frame styles.

6. A data processing system for the two-dimensional boundary plasma fluid calculation program SOLPS according to any one of claims 2-4, characterized in that, The first data storage module, the second data storage module, and the third data storage module each include: The storage format selection module is used to store data in different file types according to the user's selection; The storage address selection module is used to store data in a local folder specified by the user.

7. The data processing system for the two-dimensional boundary plasma fluid calculation program SOLPS according to claim 1, characterized in that, In the experimental and simulation comparison module, the electron density and electron temperature at the outer middle plane are compared to adjust the transport coefficient of the upstream region; the electron density, electron temperature, particle flow and heat flow at the divertor target plate are compared to adjust the transport coefficient of the divertor region.

8. The data processing system for the two-dimensional boundary plasma fluid calculation program SOLPS according to claim 1, characterized in that, The system is built on the MATLAB platform and provides interactive operation through a graphical user interface.

Citation Information

Cited By

  • Visualization method and system applied to SOLPS simulation result

    CN117687613A

  • Visualization method and system applied to solps simulation results

    CN117687613B