Superconducting cavity optimization methods, systems, equipment and media based on COMSOL

The electromagnetic field and structural mechanical analysis of the superconducting cavity is performed through COMSOL software, and the wall thickness of the superconducting cavity is optimized to reduce the Lorentz detuning factor, solving the problem that changes in the superconducting cavity frequency affect the acceleration effect, and achieving a more efficient superconducting cavity Design and acceleration effects.

CN114186402BActive Publication Date: 2024-11-15INST OF MODERN PHYSICS CHINESE ACADEMY OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111440025.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-11-15
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

In superconducting accelerators, the impact of the Lorentz force of the superconducting cavity on frequency is difficult to predict, resulting in poor acceleration effect. The traditional local reinforcement method has a long construction period and lacks predictability.

Method used

Using COMSOL-based method, a three-dimensional model of superconducting cavity is constructed, the effect of Lorentz force on frequency is calculated, and the wall thickness of superconducting cavity is optimized through parameterized modeling to reduce Lorentz detuning factor and improve acceleration effect.

Benefits of technology

Through multiple feedback and structural design cycle optimization, manufacturing costs are significantly reduced, the manufacturing costs of superconducting cavity are saved, and the acceleration effect is improved, achieving a more efficient superconducting cavity design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114186402B_ABST
    Figure CN114186402B_ABST
Patent Text Reader

Abstract

The present invention relates to a superconducting cavity optimization method, system, equipment and medium based on COMSOL, and the method comprises the following steps: constructing a three-dimensional initial model of a superconducting cavity, and defining relevant variables, regions or boundary conditions; introducing radio frequency power into the superconducting cavity, and calculating the superconducting cavity deformation variable and frequency change caused by the Lorentz force, and calculating the Lorentz detuning factor according to the frequency change; when the calculated Lorentz detuning factor is greater than the design value, the superconducting cavity is parameterized and modeled with the superconducting cavity wall thickness as a parameter, and curves of the superconducting cavity wall thickness and the Lorentz detuning factor are obtained by scanning different parameters, and the superconducting cavity model corresponding to the minimum value of the Lorentz detuning factor lower than the design requirement value is selected as the optimal model of the superconducting cavity; otherwise, the current superconducting cavity model is output as the optimal model of the superconducting cavity. The present invention can be widely applied to the fields of superconducting accelerating cavities and accelerators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a COMSOL-based superconducting cavity optimization method, system, equipment and medium, and relates to the field of superconducting accelerating cavities and accelerators. Background Art

[0002] With the continuous progress and development of domestic superconducting technology, superconducting technology has been widely used in various industries. Superconducting accelerators use superconducting technology to accelerate particles. Compared with traditional acceleration structures, they have outstanding advantages such as small size, high acceleration gradient, and low power consumption, providing a new breakthrough point for the accelerator field.

[0003] In a superconducting accelerator, the superconducting cavity is a core component that provides a stable and efficient acceleration field for particles. When the superconducting cavity is working, the eigenfrequency of the superconducting cavity and the frequency of the radio frequency electromagnetic field provided by the power source need to match in order to achieve the optimal acceleration effect. After the radio frequency electromagnetic field power is fed into the superconducting cavity, an electromagnetic field will be established in the superconducting cavity. The electromagnetic field acts on the inner surface of the cavity, which will produce a Lorentz force on the superconducting cavity, thereby causing a slight change in the shape of the cavity. Changes in the shape of the superconducting cavity will cause changes in the frequency of the superconducting cavity, thereby affecting the acceleration effect of the superconducting cavity on particles.

[0004] At present, the Lorentz detuning factor Kl is generally obtained by horizontal testing of the superconducting cavity, and then the influence of the Lorentz force on the superconducting cavity frequency is improved by local reinforcement. However, this work takes a long time and lacks certain predictability. Summary of the invention

[0005] In view of the above problems, the purpose of the present invention is to provide a superconducting cavity optimization method, system, device and medium based on COMSOL, which can study the influence of Lorentz force on the superconducting cavity frequency for different superconducting cavities.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] The first aspect is to provide a superconducting cavity optimization method based on COMSOL, which comprises the following steps:

[0008] Construct a three-dimensional initial model of the superconducting cavity and define relevant variables, regions or boundary conditions;

[0009] Introducing radio frequency power into the superconducting cavity, calculating the deformation amount and frequency change of the superconducting cavity caused by the Lorentz force, and calculating the Lorentz detuning factor according to the frequency change;

[0010] When the calculated Lorentz detuning factor is greater than the design value, the superconducting cavity is parametrically modeled with the superconducting cavity wall thickness as a parameter, and curves of superconducting cavity wall thickness and Lorentz detuning factor are obtained by scanning different parameters. The superconducting cavity model corresponding to the minimum value of the Lorentz detuning factor lower than the design requirement is selected as the optimal model of the superconducting cavity; otherwise, the current superconducting cavity model is output as the optimal model of the superconducting cavity.

[0011] Furthermore, the variables include cavity energy storage, cavity microwave energy storage calculation value, cavity energy storage coefficient, and the magnitude of the Lorentz force acting on the cavity; the defined area includes the superconducting cavity shell and the internal space of the superconducting cavity; the defined boundaries include: the inner wall of the superconducting cavity; and the defined edges include the beam axis.

[0012] Furthermore, the method of introducing radio frequency power into the superconducting cavity, calculating the deformation amount and frequency change amount of the superconducting cavity caused by the Lorentz force, and calculating the Lorentz detuning factor according to the frequency change amount includes:

[0013] Calculate the eigenfrequency of a superconducting cavity;

[0014] Calculate the deformation of the superconducting cavity caused by the Lorentz force;

[0015] Calculate the characteristic frequency of the superconducting cavity after deformation;

[0016] Calculate the Lorentz detuning factor.

[0017] Furthermore, the method for calculating the eigenfrequency of the superconducting cavity is as follows: first, adding a first electromagnetic field frequency domain physical field to the internal space of the superconducting cavity, and setting the inner wall of the superconducting cavity as the electric field boundary to simulate the working conditions of the electromagnetic field inside the superconducting cavity; secondly, calculating the electromagnetic field distribution in the internal space of the superconducting cavity, and drawing a distribution diagram of the electromagnetic field of the superconducting cavity; finally, drawing the eigenfrequency of the superconducting cavity.

[0018] Furthermore, the method for calculating the deformation amount of the superconducting cavity caused by the Lorentz force is as follows: first, a solid mechanics physical field is added to the superconducting cavity shell, and a fixed boundary is set, and a pressure constraint is set for the inner wall of the superconducting cavity to simulate the working conditions of the superconducting cavity when it is subjected to the Lorentz force generated by the electromagnetic field; then, the deformation amount of the superconducting cavity under the action of the Lorentz force is calculated.

[0019] Furthermore, the method for calculating the characteristic frequency of the superconducting cavity after deformation is as follows: first, adding a second electromagnetic field frequency domain physical field to the internal space of the superconducting cavity, and importing the deformation amount of the superconducting cavity caused by the Lorentz force; secondly, calculating the electromagnetic field distribution in the internal space of the superconducting cavity, and drawing a distribution diagram of the electromagnetic field of the superconducting cavity; finally, drawing and calculating the characteristic frequency of the superconducting cavity.

[0020] Furthermore, the method for performing parametric modeling on a superconducting cavity using the superconducting cavity wall thickness as a parameter comprises the following steps:

[0021] The three-dimensional initial model of the superconducting cavity is parameterized with the superconducting cavity wall thickness as a parameter;

[0022] Calculate the Lorentz detuning factor corresponding to each parameterized model respectively;

[0023] The minimum value of the Lorentz detuning factor corresponding to each parameterized model that is lower than the design requirement is selected, and the three-dimensional model of the superconducting cavity under this parameter is output as the optimal model of the superconducting cavity.

[0024] The second aspect is to provide a superconducting cavity optimization system based on COMSOL, including:

[0025] An initial model building module is used to build a three-dimensional initial model of the superconducting cavity and define related variables, regions or boundary conditions;

[0026] The Lorentz detuning factor calculation module is used to introduce radio frequency power into the superconducting cavity, calculate the superconducting cavity deformation and frequency change caused by the Lorentz force, and calculate the Lorentz detuning factor according to the frequency change;

[0027] A judgment module, used for sending a signal to the model adjustment module when the Lorentz detuning factor is greater than the design value, otherwise outputting the current superconducting cavity model as the optimal model of the superconducting cavity;

[0028] The model adjustment module is used to perform parametric modeling of the superconducting cavity with the superconducting cavity wall thickness as a parameter, obtain the curve of the superconducting cavity wall thickness and the Lorentz detuning factor when scanning different parameters, and select the superconducting cavity model corresponding to the minimum value of the Lorentz detuning factor lower than the design requirement value as the optimal model of the superconducting cavity.

[0029] The third aspect is to provide a processing device, which includes at least a processor and a memory, wherein a computer program is stored in the memory, and wherein the processor executes the steps of implementing the COMSOL-based superconducting cavity optimization method when running the computer program.

[0030] A fourth aspect is to provide a computer storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the steps of the COMSOL-based superconducting cavity optimization method.

[0031] The present invention adopts the above technical solution, which has the following advantages:

[0032] 1. The present invention calculates the Lorentz detuning factor K1 of the superconducting cavity based on COMSOL. The calculation results can be fed back multiple times and the structural design of the superconducting cavity can be cyclically optimized. Compared with the traditional superconducting cavity design and processing scheme, the present invention proposes a solution to the detuning of the superconducting cavity from the beginning of the design, which saves the manufacturing cost of the superconducting cavity.

[0033] 2. The present invention conducts multi-parameter research on superconducting cavities with different wall thicknesses based on parametric scanning, and can obtain the optimal wall thickness value when meeting the design requirements.

[0034] Therefore, the present invention can be widely applied to the fields of superconducting accelerating cavities and accelerators. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Throughout the accompanying drawings, the same reference numerals are used to represent the same components. In the accompanying drawings:

[0036] Figure 1 A flow chart of a superconducting cavity optimization method based on COMSOL provided in an embodiment of the present invention;

[0037] Figure 2 The superconducting cavity involved in the present invention;

[0038] Figure 3 The electric field distribution diagram of the superconducting cavity calculated by the present invention;

[0039] Figure 4 The specific deformation amount of the superconducting cavity calculated by the present invention;

[0040] Figure 5 The electric field distribution of the central axis of the superconducting cavity is calculated by the present invention;

[0041] Figure 6 is the frequency value of the superconducting cavity before and after detuning by the Lorentz force DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution of the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings of the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all of the embodiments. Based on the described embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0043] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0044] In some embodiments of the present invention, a superconducting cavity optimization method, system, device and medium based on COMSOL are provided, and multi-physics field analysis of superconducting cavity electromagnetic field and structural mechanics is performed through COMSOL software. The method calculates the deformation variable and frequency change of the cavity under the power borne by the superconducting cavity based on COMSOL, and calculates the Lorentz force detuning factor. At the same time, the parametric modeling and parameter scanning functions in COMSOL can be used to parametrically model and calculate the superconducting cavity, and the optimal solution that meets the design conditions can be obtained. Feedback to the superconducting cavity based on the calculation results, and the superconducting cavity is optimized and designed to reduce the Lorentz force detuning factor as much as possible and improve the acceleration effect of the superconducting cavity.

[0045] Example 1

[0046] like Figure 1 As shown, this embodiment provides a superconducting cavity optimization method based on COMSOL, comprising the following steps:

[0047] 1) Construct a three-dimensional initial model of the superconducting cavity and define relevant variables, regions or boundary conditions;

[0048] 2) Introduce radio frequency power into the superconducting cavity, calculate the superconducting cavity deformation and frequency change caused by the Lorentz force, and calculate the Lorentz detuning factor K based on the frequency change. l ;

[0049] 3) When the Lorentz detuning factor K l When it is greater than the design value, go to step 4), otherwise output the current superconducting cavity model as the optimal model of the superconducting cavity;

[0050] 4) Parametric modeling of the superconducting cavity with the superconducting cavity wall thickness as the parameter is performed to obtain the superconducting cavity wall thickness and Lorentz detuning factor K under different parameter scanning conditions. l The curve of the Lorentz detuning factor K is selected l The superconducting cavity model corresponding to the minimum value lower than the design requirement value is taken as the optimal model of the superconducting cavity.

[0051] In some embodiments, in the above step 1), the defined variables include cavity energy storage, cavity microwave energy storage calculation value, cavity energy storage coefficient, the magnitude of the Lorentz force acting on the cavity, etc.; the defined area includes the superconducting cavity shell and the internal space of the superconducting cavity; the defined boundaries include: the inner wall of the superconducting cavity; the defined edges include the beam axis.

[0052] In some embodiments, in the above step 2), the Lorentz detuning factor K l The calculation method includes the following steps:

[0053] 2.1) Calculate the eigenfrequency f1 of the superconducting cavity.

[0054] Specifically, the method for calculating the eigenfrequency f1 of the superconducting cavity is: first, add a first electromagnetic field frequency domain physical field to the internal space of the superconducting cavity, and set the inner wall of the superconducting cavity as the electric field boundary to simulate the working conditions of the electromagnetic field inside the superconducting cavity; secondly, calculate the electromagnetic field distribution in the internal space of the superconducting cavity, and draw the electromagnetic field distribution diagram of the superconducting cavity; finally, draw and calculate the eigenfrequency f1 of the superconducting cavity.

[0055] 2.2) Calculate the deformation of the superconducting cavity caused by the Lorentz force.

[0056] Specifically, the method for calculating the deformation amount of the superconducting cavity caused by the Lorentz force is as follows: first, a solid mechanics physical field is added to the superconducting cavity shell, and a fixed boundary is set, and a pressure P1 constraint is set for the inner wall of the superconducting cavity to simulate the working conditions of the superconducting cavity when it is subjected to the Lorentz force generated by the electromagnetic field; then, the deformation amount of the superconducting cavity under the action of the Lorentz force is calculated.

[0057] 2.3) Calculate the characteristic frequency f2 of the superconducting cavity after deformation.

[0058] Specifically, the method for calculating the characteristic frequency f2 of the deformed superconducting cavity is: first, add a second electromagnetic field frequency domain physical field to the internal space of the superconducting cavity, and import the deformation of the superconducting cavity caused by the Lorentz force (that is, use the deformed inner wall of the superconducting cavity as the electric field boundary); secondly, calculate the electromagnetic field distribution of the internal space of the superconducting cavity, and draw a diagram of the electromagnetic field distribution of the superconducting cavity; finally, draw the characteristic frequency f2 of the superconducting cavity.

[0059] 2.4) Calculate the Lorentz detuning factor K l .

[0060] Specifically, calculate the Lorentz detuning factor K l The method is: according to the characteristic frequency f2 of the superconducting cavity and the electric field distribution, the Lorentz detuning factor K is calculated. l The calculation method is well known to those skilled in the art and will not be described in detail in the present invention.

[0061] In some embodiments, in the above step 4), the method of performing parametric modeling of the superconducting cavity with the superconducting cavity wall thickness as a parameter comprises the following steps:

[0062] 4.1) The three-dimensional initial model of the superconducting cavity is parameterized with the superconducting cavity wall thickness d as a parameter; wherein the initial value of the superconducting cavity wall thickness d is 2 mm, the step length is 0.2 mm, and the end value is 4 mm;

[0063] 4.2) Based on each parameterized model in step 4.1), repeat step 2) to obtain the Lorentz detuning factor K corresponding to each parameterized model l ;

[0064] 4.3) Select the Lorentz detuning factor K corresponding to each parameterized model l The minimum value that is lower than the design requirement is found, and the three-dimensional model of the superconducting cavity under this parameter is output as the optimal model of the superconducting cavity.

[0065] Example 2

[0066] This embodiment uses Figure 2 The superconducting cavity shown is taken as an example to further introduce the superconducting cavity optimization method in Example 1.

[0067] 1) Construct a three-dimensional model of a superconducting cavity, define variables, add materials, and add a physical location research module in the constructed three-dimensional model of the superconducting cavity;

[0068] In this embodiment, the added variables are:

[0069] W1 = cavity energy storage;

[0070] W2 = calculated value of cavity microwave energy storage;

[0071] SF = cavity storage factor;

[0072] P1 = the magnitude of the Lorentz force on the cavity;

[0073] Define areas or boundaries:

[0074] Define the superconducting cavity shell as region 1;

[0075] Define the inner space of the superconducting cavity as region 2;

[0076] Define the inner wall of the superconducting cavity as boundary 1;

[0077] Define the beam axis as side 1;

[0078] Adding materials: Set the material of the superconducting cavity part of the imported superconducting cavity model to niobium, and the material of the superconducting cavity internal cavity to air; niobium metal has high ductility and a very low capture cross-section for thermal neutrons, so it is quite useful in the nuclear industry and is widely used in the superconducting acceleration cavity industry.

[0079] Add physical field research modules, including: electromagnetic waves, frequency domain 1 (emw), solid mechanics (solid), moving mesh (ale), electromagnetic waves, frequency domain 2 (emw2) physical field modules, and set boundary conditions;

[0080] 2) Calculate the superconducting cavity deformation and frequency change caused by the Lorentz force, and calculate the Lorentz detuning factor K based on the frequency change l .

[0081] 2.1) Calculate the eigenfrequency f1 of the superconducting cavity:

[0082] Add the electromagnetic field frequency domain 1 physics field (emw1) to the region 2 space, and set boundary 1 as the electric field boundary to simulate the working conditions of the electromagnetic field inside the superconducting cavity;

[0083] Calculate the electromagnetic field distribution in region 2 and plot it as Figure 3 The electromagnetic field distribution diagram of the superconducting cavity is shown;

[0084] The eigenfrequency f1 of the superconducting cavity is plotted in post-processing.

[0085] 2.2) Calculate the deformation of the superconducting cavity caused by the Lorentz force:

[0086] Add solid mechanics physics field (solid) to region 1, set fixed boundary, and set pressure P1 constraint for boundary 1; simulate the working conditions of superconducting cavity when it is subjected to Lorentz force generated by electromagnetic field;

[0087] Calculate the deformation of the superconducting cavity under the Lorentz force, such as Figure 4 As shown; Figure 4 The distribution of deformation of the superconducting cavity caused by the Lorentz force is shown. It can be seen that for this cavity type, the deformation caused by the Lorentz force is mainly distributed at the center of the bowl on both sides.

[0088] 2.3) Calculate the characteristic frequency f2 of the superconducting cavity after deformation:

[0089] Add the electromagnetic field frequency domain 2 physical field (emw2) to region 2, and import the calculation results of step 3 into step 4 to calculate the electromagnetic field distribution and the characteristic frequency value of the superconducting cavity after deformation;

[0090] Calculate the electric field distribution on the edge of the superconducting cavity 1, and the result is as follows Figure 5 As shown in the figure, it can be seen that the electric field in the superconducting cavity is symmetrically distributed along the beam direction.

[0091] 2.4) Calculate the Lorentz detuning factor K l .

[0092] According to the above frequency value and electric field distribution, calculate the Lorentz detuning factor K l .

[0093] 3) Compare the Lorentz detuning factor K l and the Lorentz factor design value K l2 , when K l <K l2 When K l >K l2 When , proceed to step 4);

[0094] 4) Parametric modeling of the superconducting cavity with the wall thickness of the superconducting cavity as a parameter;

[0095] 4.1) Parametric modeling of the superconducting cavity with thickness d as parameter; the initial value of d is 2 mm, the step length is 0.2 mm, and the end value is 4 mm;

[0096] 4.2) Calculating each parameterized model according to step 2) to obtain a frequency change value corresponding to each parameterized model;

[0097] like Figure 6 As shown, the parameterized model is calculated and the parameterized scanning calculation is performed to obtain the frequency change value under different parameters and draw the curve;

[0098] 4.3) Calculate K under different parameters l value, select a value lower than the design value K l2 The minimum value of is obtained and the three-dimensional model of the superconducting cavity under this parameter is output.

[0099] Example 3

[0100] The above-mentioned embodiment 1 provides a superconducting cavity optimization method based on COMSOL, and correspondingly, this embodiment provides a superconducting cavity optimization system based on COMSOL. The system provided in this embodiment can implement a superconducting cavity optimization method based on COMSOL in embodiment 1, and the system can be implemented by software, hardware, or a combination of software and hardware. For example, the system may include integrated or separate functional modules or functional units to perform the corresponding steps in each method of embodiment 1. Since the identification system of this embodiment is basically similar to the method embodiment, the process described in this embodiment is relatively simple, and the relevant parts can refer to the partial description of embodiment 1. The embodiment of the system of this embodiment is only schematic.

[0101] This embodiment provides a COMSOL-based superconducting cavity optimization system, including:

[0102] An initial model building module is used to build a three-dimensional initial model of the superconducting cavity and define related variables, regions or boundary conditions;

[0103] The Lorentz detuning factor calculation module is used to introduce radio frequency power into the superconducting cavity and calculate the superconducting cavity deformation and frequency change caused by the Lorentz force, and calculate the Lorentz detuning factor K based on the frequency change. l ;

[0104] The judgment module is used to determine when the Lorentz detuning factor K l When it is greater than the design value, a signal is sent to the model adjustment module, otherwise the current superconducting cavity model is output as the optimal model of the superconducting cavity;

[0105] The model adjustment module is used to perform parametric modeling of the superconducting cavity with the superconducting cavity wall thickness as a parameter, and obtain the superconducting cavity wall thickness and Lorentz detuning factor K under different parameter scanning. l The curve of the Lorentz detuning factor K is selected l The superconducting cavity model corresponding to the minimum value lower than the design requirement value is taken as the optimal model of the superconducting cavity.

[0106] Example 4

[0107] This embodiment provides a processing device corresponding to the COMSOL-based superconducting cavity optimization method provided in this embodiment 1. The processing device may be a processing device for a client, such as a mobile phone, a laptop computer, a tablet computer, a desktop computer, etc., to execute the method of embodiment 1.

[0108] The processing device includes a processor, a memory, a communication interface and a bus, and the processor, the memory and the communication interface are connected through the bus to complete mutual communication. The memory stores a computer program that can be run on the processor, and when the processor runs the computer program, a COMSOL-based superconducting cavity optimization method provided in this embodiment 1 is executed.

[0109] In some embodiments, the memory may be a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory.

[0110] In other embodiments, the processor may be a central processing unit (CPU), a digital signal processor (DSP), or other general-purpose processors of various types, which are not limited herein.

[0111] Example 5

[0112] A COMSOL-based superconducting cavity optimization method of this embodiment 1 can be specifically implemented as a computer program product. The computer program product may include a computer-readable storage medium on which computer-readable program instructions for executing the COMSOL-based superconducting cavity optimization method described in this embodiment 1 are loaded.

[0113] Computer readable storage media can be tangible devices that hold and store instructions used by instruction execution devices. Computer readable storage media can be, for example, but not limited to, electronic storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any combination thereof.

[0114] It should be noted that the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present application. Each box in the flowchart or block diagram may represent a module, a program segment or a part of the code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions.

[0115] It should be noted that the implementation methods not shown or described in the drawings or the text of the specification are all forms known to ordinary technicians in the relevant technical field and are not described in detail. In addition, the above definitions of each method are not limited to the various specific structures, shapes or methods mentioned in the embodiments.

[0116] It should also be noted that examples of parameters including specific values ​​may be provided herein, but these parameters do not need to be exactly equal to the corresponding values, but may be approximated to the corresponding values ​​within an acceptable error tolerance or design constraint.

[0117] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

[0118] It should be noted that the implementation methods not shown or described in the drawings or the text of the specification are all forms known to ordinary technicians in the relevant technical field and are not described in detail. In addition, the above definitions of various elements and methods are not limited to the various specific structures, shapes or methods mentioned in the embodiments, and ordinary technicians in the field can simply change or replace them.

Claims

1. A superconducting cavity optimization method based on COMSOL, characterized in that The following steps are involved: Construct a three-dimensional initial model of the superconducting cavity and define relevant variables, regions or boundary conditions; wherein the variables include cavity energy storage, cavity microwave energy storage calculation value, cavity energy storage coefficient, and the magnitude of the Lorentz force on the cavity; the defined region includes the superconducting cavity shell and the internal space of the superconducting cavity; the defined boundaries include: the inner wall of the superconducting cavity; the defined edges include the beam axis; Introducing radio frequency power into the superconducting cavity, and calculating the deformation amount and frequency change amount of the superconducting cavity caused by the Lorentz force, and calculating the Lorentz detuning factor according to the frequency change amount, including: calculating the eigenfrequency of the superconducting cavity; calculating the deformation amount of the superconducting cavity caused by the Lorentz force; calculating the characteristic frequency of the superconducting cavity after deformation; and calculating the Lorentz detuning factor; When the calculated Lorentz detuning factor is greater than the design value, the superconducting cavity is parameterized by modeling with the superconducting cavity wall thickness as a parameter, and curves of the superconducting cavity wall thickness and the Lorentz detuning factor under different parameter scans are obtained, and the superconducting cavity model corresponding to the minimum value of the Lorentz detuning factor lower than the design requirement value is selected as the optimal model of the superconducting cavity; otherwise, the current superconducting cavity model is output as the optimal model of the superconducting cavity, including: parameterizing the three-dimensional initial model of the superconducting cavity by modeling with the superconducting cavity wall thickness as a parameter; calculating the Lorentz detuning factors corresponding to each parameterized model respectively; selecting the minimum value of the Lorentz detuning factors corresponding to each parameterized model that is lower than the design requirement value, and outputting the three-dimensional model of the superconducting cavity under this parameter as the optimal model of the superconducting cavity.

2. A COMSOL-based superconducting cavity optimization method as claimed in claim 1, characterized in that: The method for calculating the eigenfrequency of a superconducting cavity is as follows: first, a first electromagnetic field frequency domain physical field is added to the internal space of the superconducting cavity, and the inner wall of the superconducting cavity is set as the electric field boundary to simulate the working conditions of the electromagnetic field inside the superconducting cavity; second, the electromagnetic field distribution in the internal space of the superconducting cavity is calculated, and a distribution diagram of the electromagnetic field of the superconducting cavity is drawn; finally, the eigenfrequency of the superconducting cavity is drawn.

3. The COMSOL-based superconducting cavity optimization method according to claim 1, characterized in that: The method for calculating the deformation amount of the superconducting cavity caused by the Lorentz force is as follows: first, adding a solid mechanics physical field to the superconducting cavity shell, setting a fixed boundary, setting a pressure constraint for the inner wall of the superconducting cavity, and simulating the working conditions of the superconducting cavity when it is subjected to the Lorentz force generated by the electromagnetic field; Then, the deformation of the superconducting cavity under the action of the Lorentz force is calculated.

4. The COMSOL-based superconducting cavity optimization method according to claim 1, characterized in that: The method for calculating the characteristic frequency of the superconducting cavity after deformation is as follows: first, adding a second electromagnetic field frequency domain physical field to the internal space of the superconducting cavity, and importing the deformation amount of the superconducting cavity caused by the Lorentz force; second, calculating the electromagnetic field distribution in the internal space of the superconducting cavity, and drawing a superconducting cavity electromagnetic field distribution diagram; finally, drawing and calculating the characteristic frequency of the superconducting cavity.

5. A superconducting cavity optimization system based on COMSOL, characterized in that: include: The initial model building module is used to build a three-dimensional initial model of the superconducting cavity and define relevant variables, regions or boundary conditions; the variables include cavity energy storage, cavity microwave energy storage calculation value, cavity energy storage coefficient, and the magnitude of the Lorentz force on the cavity; the defined region includes the superconducting cavity shell and the internal space of the superconducting cavity; the defined boundaries include: the inner wall of the superconducting cavity; the defined edges include the beam axis; The Lorentz detuning factor calculation module is used to introduce radio frequency power into the superconducting cavity, and calculate the deformation amount and frequency change amount of the superconducting cavity caused by the Lorentz force, and calculate the Lorentz detuning factor according to the frequency change amount, including: calculating the eigenfrequency of the superconducting cavity; calculating the deformation amount of the superconducting cavity caused by the Lorentz force; calculating the characteristic frequency of the superconducting cavity after deformation; and calculating the Lorentz detuning factor; A judgment module, used for sending a signal to the model adjustment module when the Lorentz detuning factor is greater than the design value, otherwise outputting the current superconducting cavity model as the optimal model of the superconducting cavity; The model adjustment module is used to perform parameterized modeling of the superconducting cavity with the superconducting cavity wall thickness as a parameter, obtain curves of the superconducting cavity wall thickness and the Lorentz detuning factor when scanning different parameters, and select the superconducting cavity model corresponding to the minimum value of the Lorentz detuning factor lower than the design requirement value as the optimal model of the superconducting cavity, including: performing parameterized modeling of the three-dimensional initial model of the superconducting cavity with the superconducting cavity wall thickness as a parameter; respectively calculating the Lorentz detuning factor corresponding to each parameterized model; selecting the minimum value of the Lorentz detuning factor corresponding to each parameterized model that is lower than the design requirement value, and outputting the three-dimensional superconducting cavity model under this parameter as the optimal model of the superconducting cavity.

6. A processing device, comprising at least a processor and a memory, wherein a computer program is stored in the memory, wherein: When the processor runs the computer program, the processor executes the steps of implementing the COMSOL-based superconducting cavity optimization method according to any one of claims 1 to 4.

7. A computer storage medium, characterized in that: Computer-readable instructions are stored thereon, and the computer-readable instructions can be executed by a processor to implement the steps of the COMSOL-based superconducting cavity optimization method according to any one of claims 1 to 4.