Method, system and electronic device for electromagnetic force simulation of a nuclear fusion device

CN117852299BActive Publication Date: 2026-09-08SHAANXI STARTORUS FUSION TECHNOLOGY COMPANY LIMITED
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410141905.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-01
Publication Date
2026-09-08
Estimated Expiration
2044-02-01

AI Technical Summary

Technical Problem

[0002]托卡马克装置是目前用于磁约束聚变探索研究的重要实验装置,其中的磁约束主要通过环向场线圈,极向场线圈和中心螺线管线圈等线圈产生,线圈通电产生的电磁力可导致线圈发生形变,该电磁力可以包括:向心力、倾覆力和扩张力等,其中,向心力会驱使线圈整体向中心靠近;倾覆力导致线圈发生扭转,扩张力会使得线圈径向扩张,另外,环向场线圈的底部还可能设置有软排和回流线圈,而底部软排和回流线圈结构不对称,因此详细研究电磁力仿真计算中,不能对模型进行周期对称简化

Benefits of technology

[0020]The electromagnetic force simulation method for nuclear fusion devices provided by this invention involves naming and grouping the models to be analyzed using SCDM to obtain model files. These model files are then read in Maxwell, and the electromagnetic forces are named according to the model names within the files, ensuring a one-to-one correspondence between the electromagnetic forces and the models to be analyzed. This facilitates the addition and analysis of subsequent loads. After naming the electromagnetic forces, the relevant parameters for the electromagnetic forces to be solved are automatically set according to the preset parameters required for calculating the corresponding electromagnetic forces, based on the model names and electromagnetic force names. This forms an electromagnetic force parameter file with automatically set electromagnetic force parameters, enabling the automatic setting of electromagnetic forces corresponding to custom models. Maxwell then reads the electromagnetic force parameter file, sequentially solves for each electromagnetic force name in the file, and exports the electromagnetic force corresponding to each model to be analyzed. All electromagnetic forces are added to a list to obtain an electromagnetic force data file. This electromagnetic force data file contains all the electromagnetic forces set in the Maxwell software, as well as the attributes corresponding to each electromagnetic force. Finally, in Mechanical, the model to be analyzed in SCDM is fused with the electromagnetic force data in Maxwell, one-to-one, thus completing the loading of electromagnetic force loads on the model to be analyzed. This allows for structural simulation analysis and the automatic setting of electromagnetic forces on the model. Electromagnetic forces in each direction of the model to be analyzed are automatically extracted and saved to a text file in a specified format. During structural analysis, the acquired electromagnetic force loads are automatically set, eliminating the need for manual setting of numerous parameters, improving simulation efficiency, reducing errors, and increasing accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117852299B_ABST
    Figure CN117852299B_ABST
Patent Text Reader

Abstract

The application provides an electromagnetic force simulation method, system and electronic equipment of a nuclear fusion device, and the simulation method comprises the following steps: naming a to-be-analyzed model in SCDM to obtain a model file, wherein the to-be-analyzed model comprises an asymmetric structure model; loading the model file in SCDM by using Maxwell, automatically defining an electromagnetic force name based on the model name, and sequentially and circularly setting related parameters of the electromagnetic force corresponding to the to-be-analyzed model according to the model name and the electromagnetic force name to obtain an electromagnetic force parameter file; reading the electromagnetic force parameter file in Maxwell, sequentially solving the electromagnetic force corresponding to each to-be-analyzed model, and obtaining an electromagnetic force data file; reading the model file and the electromagnetic force data file by using Mechanical respectively, and based on the model name, loading the electromagnetic force to the to-be-analyzed model for structural simulation analysis, so that the electromagnetic force of the to-be-analyzed model can be automatically set and extracted, the electromagnetic force load can be automatically set, manual setting of parameters is not needed, and the simulation efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of controlled nuclear fusion technology, specifically to an electromagnetic force simulation method, system, and electronic equipment for a nuclear fusion device. Background Technology

[0002] Tokamak devices are currently important experimental devices for exploring magnetic confinement fusion. The magnetic confinement is mainly generated by coils such as toroidal field coils, poloidal field coils, and central solenoid coils. The electromagnetic force generated by the coils when energized can cause the coils to deform. This electromagnetic force can include centripetal force, overturning force, and expansion force. The centripetal force drives the coil to move towards the center; the overturning force causes the coil to twist; and the expansion force causes the coil to expand radially. In addition, the bottom of the toroidal field coil may also be equipped with a soft board and a return coil. However, the bottom soft board and return coil structures are asymmetrical. Therefore, in the detailed study of electromagnetic force simulation calculations, the model cannot be simplified by periodic symmetry.

[0003] Typically, when performing electromagnetic force simulations, the electromagnetic forces calculated by Maxwell software are automatically coupled to the structural simulation software Mechanical via the Workbench platform. However, because tokamak devices have multiple structures that generate electromagnetic forces and the structures are asymmetrical, the models to be analyzed are large. Using the Workbench platform often causes the software to crash, making it difficult to complete the simulation calculations for nuclear fusion devices. In some related technologies, electromagnetic forces are often extracted manually and then added to Mechanical as loads for simulation calculations. However, the manual extraction and addition process often requires setting a large number of parameters, which takes a lot of time, resulting in low simulation efficiency and poor accuracy.

[0004] Therefore, improving the efficiency and accuracy of simulation calculations for nuclear fusion devices has become an urgent technical problem to be solved. Summary of the Invention

[0005] This invention provides an electromagnetic force simulation method, system, and electronic device for nuclear fusion devices.

[0006] In a first aspect, embodiments of the present invention propose an electromagnetic force simulation method for a nuclear fusion device, comprising: naming the model to be analyzed that generates electromagnetic force in the nuclear fusion device in SCDM to obtain a model file with a model name, wherein the model to be analyzed includes an asymmetric structure model; using Maxwell to cyclically load the model file in SCDM, automatically defining electromagnetic force names based on the model names, and sequentially setting the relevant parameters of the electromagnetic force corresponding to each model to be analyzed according to the model names and the electromagnetic force names, thereby obtaining an electromagnetic force parameter file, wherein the relevant parameters are the relevant parameters involved in solving the electromagnetic force; reading the electromagnetic force parameter file in Maxwell, sequentially solving the electromagnetic force corresponding to each model to be analyzed for the electromagnetic force parameter file, thereby obtaining an electromagnetic force data file; using Mechanical to read the model file in SCDM and the electromagnetic force data file in Maxwell respectively, and loading the electromagnetic force in the electromagnetic force data file into the model to be analyzed in the model file according to the model name for structural simulation analysis.

[0007] In one embodiment, the step of using Maxwell to cyclically load the model file in SCDM, automatically defining the electromagnetic force name based on the model name, and sequentially setting the relevant parameters of the electromagnetic force corresponding to each model to be analyzed according to the model name and the electromagnetic force name to obtain the electromagnetic force parameter file includes: reading the model name from the model file in SCDM and writing it into a model name list; cyclically loading the model name list, and automatically defining the electromagnetic force name based on the model name during the cyclic loading process; cyclically setting the relevant parameters of the electromagnetic force according to the model name and the electromagnetic force name according to the relevant parameters involved in solving the electromagnetic force, and writing them into the electromagnetic force name list to obtain the electromagnetic force parameter file.

[0008] In one embodiment, the model to be analyzed and the name of the electromagnetic force are in one-to-one correspondence.

[0009] In one embodiment, the step of reading the electromagnetic force parameter file in Maxwell and sequentially solving the electromagnetic force data file corresponding to each model to be analyzed to obtain an electromagnetic force data file includes: reading the electromagnetic force parameter file and obtaining the electromagnetic force name; sequentially filtering the electromagnetic force of each model to be analyzed according to the electromagnetic force name to obtain the electromagnetic force solution result of each model to be analyzed; and exporting all the electromagnetic force solution results to the electromagnetic force data file.

[0010] In one embodiment, the step of using Mechanical to read the model files in the SCDM and the electromagnetic force data files in the Maxwell, and loading the electromagnetic forces from the electromagnetic force data files into the model to be analyzed in the model files for structural simulation analysis based on the model names, includes: using Mechanical to filter the model files in the SCDM and establish model groups; using Mechanical to read the electromagnetic force data files in the Maxwell and obtain the electromagnetic force solution results corresponding to each model to be analyzed; and adding the electromagnetic force solution results to the model groups one by one as the loads of the model to be analyzed for simulation calculation.

[0011] In one embodiment, the step of using Mechanical to filter model files in the SCDM and establish model groups includes: using Mechanical to read model files in the SCDM; and creating the established model groups based on the model names in the model files.

[0012] In one embodiment, the step of adding the electromagnetic force solution results as the load of the model to be analyzed for simulation calculation in a one-to-one correspondence in the model group includes: defining the electromagnetic force name and electromagnetic force type in the model group according to the model name in the model group, and loading the electromagnetic force solution results according to the corresponding electromagnetic force name and electromagnetic force type to obtain the load of the model to be analyzed.

[0013] Secondly, embodiments of the present invention propose an electromagnetic force simulation system for a nuclear fusion device, comprising: an SCDM module, used to name the model to be analyzed that generates electromagnetic force in the nuclear fusion device in SCDM, obtaining a model file with a model name, wherein the model to be analyzed includes an asymmetric structure model; a Maxwell module, used to cyclically load the model file in SCDM using Maxwell, automatically define electromagnetic force names based on the model names, and cyclically set the relevant parameters of the electromagnetic force corresponding to each model to be analyzed according to the model names and the electromagnetic force names, obtaining an electromagnetic force parameter file, wherein the relevant parameters are the relevant parameters involved in solving the electromagnetic force; reading the electromagnetic force parameter file in Maxwell, and sequentially solving the electromagnetic force corresponding to each model to be analyzed for the electromagnetic force parameter file, obtaining an electromagnetic force data file; and a Mechanical module, used to read the model file in SCDM and the electromagnetic force data file in Maxwell respectively using Mechanical, and load the electromagnetic force in the electromagnetic force data file into the model to be analyzed in the model file according to the model name for structural simulation analysis.

[0014] In some other embodiments of the second aspect, the Maxwell module includes a parameter setting module, which is used to read the model name in the model file in the SCDM and write it into a model name list; cyclically load the model name list, and automatically define the electromagnetic force name based on the model name during the cyclic loading process; cyclically set the relevant parameters of the electromagnetic force according to the model name and the electromagnetic force name according to the relevant parameters involved in solving the electromagnetic force, and write them into the electromagnetic force name list to obtain the electromagnetic force parameter file.

[0015] In one embodiment, the model to be analyzed and the name of the electromagnetic force are in one-to-one correspondence.

[0016] In one embodiment, the Maxwell module further includes an analysis and solution module, which is used to read the electromagnetic force parameter file, obtain the electromagnetic force name; filter the electromagnetic force of each model to be analyzed according to the electromagnetic force name, obtain the electromagnetic force solution result of each model to be analyzed; and export all the electromagnetic force solution results to an electromagnetic force data file.

[0017] In one embodiment, the Mechanical module is further configured to use Mechanical to filter model files in the SCDM and establish model groups; use Mechanical to read electromagnetic force data files in Maxwell to obtain electromagnetic force solution results corresponding to each model to be analyzed; and add the electromagnetic force solution results to the model groups one by one as loads for simulation calculations of the models to be analyzed.

[0018] Thirdly, embodiments of the present invention provide an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to implement the electromagnetic force simulation method for a nuclear fusion device as described in any implementation of the first aspect.

[0019] Fourthly, embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer instructions that enable a computer to implement an electromagnetic force simulation method for a nuclear fusion device as described in any of the implementations in the first aspect.

[0020] The electromagnetic force simulation method for nuclear fusion devices provided by this invention involves naming and grouping the models to be analyzed using SCDM to obtain model files. These model files are then read in Maxwell, and the electromagnetic forces are named according to the model names within the files, ensuring a one-to-one correspondence between the electromagnetic forces and the models to be analyzed. This facilitates the addition and analysis of subsequent loads. After naming the electromagnetic forces, the relevant parameters for the electromagnetic forces to be solved are automatically set according to the preset parameters required for calculating the corresponding electromagnetic forces, based on the model names and electromagnetic force names. This forms an electromagnetic force parameter file with automatically set electromagnetic force parameters, enabling the automatic setting of electromagnetic forces corresponding to custom models. Maxwell then reads the electromagnetic force parameter file, sequentially solves for each electromagnetic force name in the file, and exports the electromagnetic force corresponding to each model to be analyzed. All electromagnetic forces are added to a list to obtain an electromagnetic force data file. This electromagnetic force data file contains all the electromagnetic forces set in the Maxwell software, as well as the attributes corresponding to each electromagnetic force. Finally, in Mechanical, the model to be analyzed in SCDM is fused with the electromagnetic force data in Maxwell, one-to-one, thus completing the loading of electromagnetic force loads on the model to be analyzed. This allows for structural simulation analysis and the automatic setting of electromagnetic forces on the model. Electromagnetic forces in each direction of the model to be analyzed are automatically extracted and saved to a text file in a specified format. During structural analysis, the acquired electromagnetic force loads are automatically set, eliminating the need for manual setting of numerous parameters, improving simulation efficiency, reducing errors, and increasing accuracy.

[0021] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0022] Other features, objects, and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:

[0023] Figure 1 A flowchart of an electromagnetic force simulation method for a nuclear fusion device provided in an embodiment of the present invention;

[0024] Figure 2 A structural block diagram of an electromagnetic force simulation system for a nuclear fusion device provided in an embodiment of the present invention;

[0025] Figure 3 This is a schematic diagram of an electronic device suitable for performing an electromagnetic force simulation method for a nuclear fusion device, provided as an embodiment of the present invention. Detailed Implementation

[0026] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description. It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other.

[0027] The collection, storage, use, processing, transmission, provision, and invention of user personal information involved in the technical solution of this invention all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0028] Please refer to Figure 1 , Figure 1 This invention provides an electromagnetic force simulation method for a nuclear fusion device. This method simulates and analyzes the coil structure by calculating the electromagnetic force generated by coils in the nuclear fusion device. In this embodiment, the coils may include circumferential field coils, poloidal field coils, and central solenoid coils, etc. The circumferential field coils may include asymmetric structures such as bottom flexible busbars and return coils. The simulation method may include:

[0029] S101. Name the model to be analyzed in the nuclear fusion device that generates electromagnetic force in SCDM to obtain a model file with a model name. The model to be analyzed includes an asymmetric structure model. As an exemplary embodiment, the design file of the nuclear fusion device can be loaded into SCDM. The design file may include the design files of various components in the nuclear fusion device. The structure that can generate electromagnetic force is selected from the design file, and the corresponding geometric model is established in SCDM as the model to be analyzed, or the model of the structure that generates electromagnetic force in the nuclear fusion device is established using SCMD as the model to be analyzed. For example, geometric models can be established separately for the circumferential field coil, the poloidal field coil, and the central solenoid coil. Geometric models also need to be established separately for asymmetric structures such as the bottom soft busbar and the return coil.

[0030] After establishing the geometric model, the established model is named and grouped in SCDM, and the model name of the model to be analyzed is written into a specified text file as the model file.

[0031] S102. Using Maxwell to cyclically load the model files in SCDM, the electromagnetic force names are automatically defined based on the model names, and the relevant parameters of the electromagnetic forces corresponding to each model to be analyzed are sequentially set according to the model names and the electromagnetic force names, resulting in an electromagnetic force parameter file. These relevant parameters are those involved in solving the electromagnetic forces. As an exemplary embodiment, after creating the model file, Maxwell is initialized, the model file is called, the current project is called based on the model file, and the current design is called. In this embodiment, the design files of a nuclear fusion device can also be directly imported, and the project and design can be created based on the design files.

[0032] During the process of reading model files using Maxwell, the electromagnetic force setting module is invoked. This module iteratively loads the model names from the model file. During this loading process, the electromagnetic force names corresponding to the model to be analyzed are redefined based on the model names. For example, the electromagnetic force names can be prefixed or suffixed with the model name to be analyzed, ensuring a one-to-one correspondence between the model to be analyzed and the corresponding electromagnetic force names. This facilitates the addition of subsequent loads and result analysis. Each electromagnetic force name is unique; different electromagnetic force names are not repeated.

[0033] The parameter setting module is invoked to iteratively set the electromagnetic force parameters. In this embodiment, the preset parameters required for calculating the corresponding electromagnetic force can be determined based on the model name and the electromagnetic force name, and the relevant parameters for solving the electromagnetic force can be automatically set. Through iteration, the relevant parameters involved in the electromagnetic force calculation of the model can be uniformly set. In this embodiment, the relevant parameters may include the coordinate system and direction that need to be specified when calculating the electromagnetic force, as well as the electromagnetic force type, which may include virtual work force and Lorentz force. When setting the electromagnetic force, the list of electromagnetic force setting names needs to be exported to a specified file to form an electromagnetic force parameter file. This completes the automatic setting of the defined electromagnetic forces of the model to be analyzed, preparing for the subsequent extraction of electromagnetic forces.

[0034] S103. Read the electromagnetic force parameter file in Maxwell, and solve for the electromagnetic force corresponding to each of the models to be analyzed in sequence for the electromagnetic force parameter file to obtain an electromagnetic force data file. In this embodiment, the analysis and solution module in Maxwell software is called to read the electromagnetic force parameter file and obtain the electromagnetic force name of each electromagnetic force in the electromagnetic force parameter file, and define the text name and format of the exported electromagnetic force data. Then, for each electromagnetic force name in the electromagnetic force parameter file, the electromagnetic force corresponding to each model to be analyzed is solved and exported in sequence, and all electromagnetic forces are added to a list to obtain an electromagnetic force data file. This electromagnetic force data file contains all the electromagnetic forces set in Maxwell software, as well as the attributes corresponding to each electromagnetic force.

[0035] S104. Using Mechanical, read the model file from SCDM and the electromagnetic force data file from Maxwell, respectively, and load the electromagnetic forces from the electromagnetic force data file onto the model to be analyzed in the model file based on the model name for structural simulation analysis. After obtaining the model file in SCDM and the electromagnetic force data file in Maxwell after setting and extracting electromagnetic forces according to the model file, import the model file and electromagnetic force data file into Mechanical. Mechanical reads the model file exported from SCDM, determines the model name and corresponding model for which electromagnetic force loads need to be set according to the model file, and obtains the solution results of the electromagnetic forces corresponding to each model name in the electromagnetic force data file. Load the solution results of the electromagnetic forces onto the corresponding model. After obtaining the structural model and the corresponding electromagnetic force data, use Mechanical to perform structural simulation analysis.

[0036] In this application, the model to be analyzed is named and grouped using SCDM to obtain a model file. This model file is then read by Maxwell, and the electromagnetic forces are named according to the model names in the file, ensuring a one-to-one correspondence between the electromagnetic forces and the models to be analyzed. This facilitates the subsequent addition and analysis of loads. After naming the electromagnetic forces, the relevant parameters for solving the electromagnetic forces are automatically set according to the model names and electromagnetic force names, based on the preset parameters required for calculating the corresponding electromagnetic forces. This forms an electromagnetic force parameter file with automatically set electromagnetic force parameters, enabling the automatic setting of electromagnetic forces corresponding to custom models. Maxwell then reads the electromagnetic force parameter file, solves for each electromagnetic force name in the file, and exports the electromagnetic force corresponding to each model to be analyzed. All electromagnetic forces are added to a list to obtain an electromagnetic force data file. This electromagnetic force data file contains all the electromagnetic forces set in the Maxwell software, as well as the corresponding attributes of each electromagnetic force. Finally, in Mechanical, the models to be analyzed in SCDM and the electromagnetic force data in Maxwell are fused one-to-one, thus completing the loading of electromagnetic force loads on the models to be analyzed. This allows for structural simulation analysis and the automatic setting of electromagnetic forces on the models to be analyzed. Electromagnetic forces in all directions of the model under analysis are automatically extracted and saved to a text file in a specified format. During structural analysis, the acquired electromagnetic force loads are automatically set, eliminating the need to manually set numerous parameters, thus improving simulation efficiency, reducing errors, and increasing accuracy.

[0037] In one embodiment, the model files in SCDM are loaded using Maxwell loops. Electromagnetic force names are automatically defined based on the model names. Then, the relevant parameters of the electromagnetic forces corresponding to each model to be analyzed are sequentially and looped according to the model names and the electromagnetic force names, resulting in an electromagnetic force parameter file including:

[0038] After calling the parameter setting module and the electromagnetic force setting module, the model name in the model file in the SCDM is read and written into the model name list. The model name list is loaded in a loop. During the loop loading, the electromagnetic force setting module automatically defines the electromagnetic force name based on the model name. After the electromagnetic force name is defined, or during the electromagnetic force definition process, the relevant parameters of the electromagnetic force are set in a loop according to the model name and the defined electromagnetic force name, based on the relevant parameters involved in solving the electromagnetic force, and written into the electromagnetic force name list to obtain the electromagnetic force parameter file.

[0039] The relevant parameters may include the coordinate system and direction that need to be specified when calculating electromagnetic force, as well as the type of electromagnetic force, which may include virtual work force and Lorentz force.

[0040] In one embodiment, the relevant parameters involved in solving the electromagnetic force can be preset in advance based on the model name and the electromagnetic force name, and different relevant parameters can be preset for different models of electromagnetic forces or for different types of electromagnetic forces.

[0041] In another embodiment, the relevant parameters can be fixed, that is, the relevant parameters corresponding to all models and electromagnetic forces are the same or fixed. That is, the coordinate system, direction and electromagnetic force type of the electromagnetic force in the loaded model are fixed. After loading the model file and defining the electromagnetic force name, the relevant parameters remain unchanged when setting parameters. The relevant parameters are matched with all electromagnetic forces one by one by the model name and electromagnetic force name through an automated script to automatically complete the setting of the relevant parameters.

[0042] In one embodiment, the process of solving for extracted electromagnetic forces can be carried out as follows: After calling the current design (the specific calling method can be found in the Maxwell method for calling the current design when automatically setting electromagnetic forces described in the above embodiments, and will not be repeated here), the analysis and solution module is called to read the electromagnetic force parameter file and obtain the list of electromagnetic force names in the electromagnetic force parameter file. The text name and format for exporting electromagnetic force data are defined. After defining the text name and format, the electromagnetic forces are exported by calling the data export interface to export the electromagnetic forces corresponding to the model to the specified text file. When exporting electromagnetic forces, they are exported sequentially according to the models to be analyzed. The data in the electromagnetic force parameter file contains software information and the electromagnetic forces in each direction of each model to be analyzed. Therefore, the exported data needs to be filtered. In this embodiment, the electromagnetic forces of each model to be analyzed are filtered sequentially according to the list of electromagnetic force names to obtain the electromagnetic force solution results for each model to be analyzed. The steps of defining the text name and format and exporting electromagnetic force data are executed repeatedly until the electromagnetic forces of all models to be analyzed are exported, and all the electromagnetic force solution results are exported to the electromagnetic force data file. The electromagnetic force data file contains all the electromagnetic forces set in the Maxwell software, that is, the type of each electromagnetic force, as well as the electromagnetic components and resultant force of each electromagnetic force in three directions.

[0043] After naming and grouping the models to be analyzed in SCDM, model files are constructed. After loading the model files in Maxwell, the model names of the models to be analyzed in the model files are loaded iteratively. For each model name, an electromagnetic force name is defined. Based on the electromagnetic force name and model name, the relevant parameters for solving the electromagnetic forces are automatically set. Then, based on the automatically set electromagnetic force parameter file, the corresponding electromagnetic forces are extracted to obtain the corresponding electromagnetic force data file. Using Mechanical to load the model files in SCDM and the electromagnetic force data files extracted from Maxwell ensures a one-to-one correspondence between the model files and electromagnetic forces in Mechanical, including names, parameters, and mesh information. Therefore, in Mechanical, the electromagnetic forces in the electromagnetic force data files can be loaded into the models to be analyzed in the model files based on the model names for structural simulation analysis. Specifically, the model files exported from SCDM are read to obtain the names of the models for which electromagnetic force loads need to be set. Mechanical is used to filter the model files in SCDM and establish model groups, i.e., creating NamedSelection in Mechanical. This process prepares for assigning electromagnetic force loads to specified models. The Mechanical method calls the Maxwell analysis and solver module interface to read the electromagnetic force data file in Maxwell, obtaining the electromagnetic force solution results for each model to be analyzed. Specifically, it extracts the electromagnetic force in each direction corresponding to each electromagnetic force name from the electromagnetic force data file. For example, the electromagnetic force solution results distinguish the X, Y, and Z directions of the electromagnetic force corresponding to each model to be analyzed, as well as the resultant force. Then, it obtains the model grouping NamedSelection established based on the model file in SCDM. Within the specified NamedSelection, it calls the interface for adding electromagnetic forces, adding the electromagnetic force solution results to the model group one by one as loads for the model to be analyzed for simulation calculation. Specifically, based on the model name in the model group, it sequentially defines the electromagnetic force name and electromagnetic force type in the model group, and loads the electromagnetic forces in each direction according to the corresponding electromagnetic force name and electromagnetic force type to obtain the load of the model to be analyzed. This allows for the automatic setting of the electromagnetic forces of the model to be analyzed. The electromagnetic forces in the X, Y, and Z directions of the model to be analyzed are automatically extracted and saved to a text file in a specified format. In structural analysis, the acquired electromagnetic force loads are automatically set, eliminating the need to manually set a large number of parameters, thus improving simulation efficiency, reducing errors, and increasing accuracy.

[0044] Further reference Figure 2 As an implementation of the methods shown in the above figures, the present invention provides an embodiment of an electromagnetic force simulation system for a nuclear fusion device, which is similar to... Figure 1Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0045] like Figure 2 As shown, the electromagnetic force simulation system 200 of the nuclear fusion device in this embodiment may include: SCDM module 201, Maxwell module 202, and Mechanical module 203. The SCDM module 201 is configured to name the model to be analyzed in the nuclear fusion device that generates electromagnetic forces, thereby obtaining a model file with a model name. The model to be analyzed includes an asymmetric structure model. The Maxwell module 202 is configured to use Maxwell to cyclically load the model file in the SCDM, automatically define the electromagnetic force name based on the model name, and cyclically set the relevant parameters of the electromagnetic force corresponding to each model to be analyzed according to the model name and the electromagnetic force name, thereby obtaining an electromagnetic force parameter file. The relevant parameters are the relevant parameters involved in solving the electromagnetic force. The electromagnetic force parameter file is read in Maxwell, and the electromagnetic force corresponding to each model to be analyzed is solved sequentially for the electromagnetic force parameter file to obtain an electromagnetic force data file. The Mechanical module 203 is configured to use Mechanical to read the model file in the SCDM and the electromagnetic force data file in the Maxwell respectively, and load the electromagnetic force in the electromagnetic force data file into the model to be analyzed in the model file according to the model name for structural simulation analysis.

[0046] In this embodiment, the specific processing of the SCDM module 201, Maxwell module 202, and Mechanical module 203 in the electromagnetic force simulation system 200 of the nuclear fusion device, and the resulting technical effects, can be found in the following references: Figure 1 The relevant descriptions of steps 101-104 in the corresponding embodiments will not be repeated here.

[0047] In some other implementations of this embodiment, the Maxwell module 202 includes a parameter setting module. This parameter setting module is used to read the model name from the model file in the SCDM and write it into a model name list; to cyclically load the model name list, and during the cyclic loading of the model name list, to automatically define the electromagnetic force name based on the model name; and to cyclically set the relevant parameters of the electromagnetic force according to the model name and the electromagnetic force name, based on the relevant parameters involved in solving the electromagnetic force, and write them into the electromagnetic force name list to obtain the electromagnetic force parameter file.

[0048] In some other implementations of this embodiment, the model to be analyzed and the name of the electromagnetic force correspond one-to-one.

[0049] In some other implementations of this embodiment, the Maxwell module 202 further includes an analysis and solution module, which is used to read the electromagnetic force parameter file, obtain the electromagnetic force name; filter the electromagnetic force of each model to be analyzed in sequence according to the electromagnetic force name, and obtain the electromagnetic force solution result of each model to be analyzed; and export all the electromagnetic force solution results to the electromagnetic force data file.

[0050] In some other implementations of this embodiment, the Mechanical module 203 is also used to filter the model files in the SCDM using Mechanical and establish model groups; use Mechanical to read the electromagnetic force data files in Maxwell and obtain the electromagnetic force solution results corresponding to each model to be analyzed; add the electromagnetic force solution results to the model groups one by one as the load of the model to be analyzed for simulation calculation.

[0051] This embodiment exists as a device embodiment corresponding to the above method embodiment, and the electromagnetic force simulation system for the nuclear fusion device provided in this embodiment.

[0052] According to embodiments of the present invention, the present invention also provides an electronic device, the electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to implement the electromagnetic force simulation method for nuclear fusion devices described in any of the above embodiments when executed.

[0053] According to embodiments of the present invention, the present invention also provides a readable storage medium storing computer instructions that enable a computer to implement the electromagnetic force simulation method for a nuclear fusion device described in any of the above embodiments when executed.

[0054] Figure 3 A schematic block diagram of an example electronic device 300 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0055] like Figure 3As shown, device 300 includes a computing unit 301, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 302 or a computer program loaded from storage unit 308 into random access memory (RAM) 303. The RAM 303 may also store various programs and data required for the operation of device 300. The computing unit 301, ROM 302, and RAM 303 are interconnected via bus 304. Input / output (I / O) interface 305 is also connected to bus 304.

[0056] Multiple components in device 300 are connected to I / O interface 305, including: input unit 306, such as keyboard, mouse, etc.; output unit 307, such as various types of monitors, speakers, etc.; storage unit 308, such as disk, optical disk, etc.; and communication unit 309, such as network card, modem, wireless transceiver, etc. Communication unit 309 allows device 300 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0057] The computing unit 301 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 301 performs the various methods and processes described above, such as the electromagnetic force simulation method for a nuclear fusion device. For example, in some embodiments, the electromagnetic force simulation method for a nuclear fusion device can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program can be loaded and / or installed on device 300 via ROM 302 and / or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the electromagnetic force simulation method for a nuclear fusion device described above can be performed. Alternatively, in other embodiments, computing unit 301 may be configured by any other suitable means (e.g., by means of firmware) to perform an electromagnetic force simulation method for a nuclear fusion device.

[0058] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0059] The program code used to implement the methods of the present invention can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can be executed entirely on the machine, partially on the machine, as a standalone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0060] In the context of this invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0061] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0062] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0063] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and Virtual Private Server (VPS) services, such as high management difficulty and weak business scalability.

[0064] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0065] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for simulating the electromagnetic force of a nuclear fusion device, characterized in that, In SCDM, the model to be analyzed that generates electromagnetic force in a nuclear fusion device is named to obtain a model file with a model name. The model to be analyzed includes an asymmetric structure model. The model file in SCDM is loaded using Maxwell loop. Electromagnetic force names are automatically defined based on the model name. The relevant parameters of the electromagnetic force corresponding to each model to be analyzed are set in a loop according to the model name and the electromagnetic force name to obtain an electromagnetic force parameter file. The relevant parameters are the relevant parameters involved in solving the electromagnetic force. Read the electromagnetic force parameter file in Maxwell, and solve the electromagnetic force corresponding to each model to be analyzed in turn to obtain the electromagnetic force data file. Mechanical is used to read the model file in the SCDM and the electromagnetic force data file in the Maxwell, respectively, and the electromagnetic forces in the electromagnetic force data file are loaded into the model to be analyzed in the model file according to the model name to perform structural simulation analysis.

2. The simulation method as described in claim 1, characterized in that, The method involves using Maxwell to cyclically load the model files in SCDM, automatically defining electromagnetic force names based on the model names, and sequentially setting the relevant parameters of the electromagnetic forces corresponding to each model to be analyzed based on the model names and the electromagnetic force names, resulting in an electromagnetic force parameter file including: Read the model names from the model files in the SCDM and write them into the model name list; The list of model names is loaded in a loop, and the electromagnetic force name is automatically defined based on the model name during the process of loading the list of model names in a loop. Based on the model name and the electromagnetic force name, the relevant parameters of the electromagnetic force are cyclically set according to the relevant parameters involved in solving the electromagnetic force, and written into the electromagnetic force name list to obtain the electromagnetic force parameter file.

3. The simulation method as described in claim 2, characterized in that, The model to be analyzed and the name of the electromagnetic force are in one-to-one correspondence.

4. The simulation method as described in claim 1, characterized in that, The step of reading the electromagnetic force parameter file in Maxwell and sequentially solving for the electromagnetic force corresponding to each of the models to be analyzed to obtain the electromagnetic force data file includes: Read the electromagnetic force parameter file to obtain the name of the electromagnetic force; Based on the names of the electromagnetic forces, the electromagnetic forces of each model to be analyzed are filtered in sequence to obtain the electromagnetic force solution results for each model to be analyzed. Export all the electromagnetic force solution results to an electromagnetic force data file.

5. The simulation method as described in claim 1, characterized in that, The step of using Mechanical to read the model file in the SCDM and the electromagnetic force data file in the Maxwell, and loading the electromagnetic forces from the electromagnetic force data file into the model to be analyzed in the model file according to the model name for structural simulation analysis includes: Mechanical is used to filter the model files in the SCDM and establish model groups; Mechanical was used to read the electromagnetic force data file in Maxwell and obtain the electromagnetic force solution results for each model to be analyzed. The electromagnetic force solution results are added to the model group in a one-to-one correspondence as the load of the model to be analyzed for simulation calculation.

6. The simulation method as described in claim 5, characterized in that, The step of using Mechanical to filter model files in the SCDM and establish model groups includes: Use Mechanical to read the model file in the SCDM; Model groups are created based on the model names in the model files.

7. The simulation method as described in claim 6, characterized in that, The step of adding the electromagnetic force solution results as loads to the model to be analyzed for simulation calculation in a one-to-one correspondence within the model group includes: Based on the model name in the model group, the electromagnetic force name and electromagnetic force type are defined sequentially in the model group, and the electromagnetic force solution results are loaded according to the corresponding electromagnetic force name and electromagnetic force type to obtain the load of the model to be analyzed.

8. An electromagnetic force simulation system for a nuclear fusion device, characterized in that, include: The SCDM module is used to name the model to be analyzed in the nuclear fusion device that generates electromagnetic force, and to obtain a model file with a model name. The model to be analyzed includes an asymmetric structure model. The Maxwell module is used to load the model files in SCDM in a loop using Maxwell, automatically define electromagnetic force names based on the model names, and sequentially set the relevant parameters of the electromagnetic forces corresponding to each model to be analyzed according to the model names and the electromagnetic force names, thereby obtaining an electromagnetic force parameter file. The relevant parameters are the parameters involved in solving the electromagnetic forces. The electromagnetic force parameter file is read in Maxwell, and the electromagnetic forces corresponding to each model to be analyzed are solved sequentially for the electromagnetic force parameter file to obtain an electromagnetic force data file. The Mechanical module is used to read the model file in the SCDM and the electromagnetic force data file in the Maxwell using Mechanical, and to load the electromagnetic force in the electromagnetic force data file into the model to be analyzed in the model file according to the model name for structural simulation analysis.

9. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the electromagnetic force simulation method for the nuclear fusion device according to any one of claims 1-7.

10. A non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the electromagnetic force simulation method for a nuclear fusion device according to any one of claims 1-7.

Citation Information

Patent Citations

  • Ansys Maxwell software-based electromagnetic induction characteristic simulation analysis method

    CN110263463A

  • Tokamak vacuum chamber electromagnetic simulation plasma current modeling method

    CN113283134A