Grid mapping method and device for multi-physics field coupling of reactor core
By determining the target and source grid field in the full -pile of the reactor pile core, build a basic grid set and calculate the weight coefficient of volume rights, solve the problem of low efficiency and insufficient accuracy of the existing grid mapping method, and achieved it. High -efficiency, high -precision grid mapping.
Patent Information
- Application Number
- CN202411313237.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2025-01-28
AI Technical Summary
Due to the large scale and large calculation volume, existing grid mapping methods lead to low mapping efficiency and difficult to meet the application scenarios of high-precision requirements.
Determine the target mesh field and source grid field in the full -pile of core grid field, build a basic grid set, calculate the weight coefficient of volume rights, and set the volume weight of each grid in the whole grid field based on these coefficients. The coefficient, complete the space mapping between the source grid field and the target mesh field.
It improves the efficiency and accuracy of grid mapping, and meets the demand for high -precision grid mapping.
Smart Images

Figure CN119378422A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of numerical computing technology, and in particular to a grid mapping method and device for multi-physical field coupling in a reactor core. Background Art
[0002] The reactor core is a complex system composed of fuel, structural materials, fluids, etc. When designing the reactor core, it is necessary to perform reactor physics calculations, thermal hydraulic calculations, fuel performance calculations, structural mechanics calculations, etc. In the early days, due to the limitation of computing resources, each discipline had to calculate independently and consider the influence between disciplines through data interfaces. In recent years, with the rapid development of supercomputers, it supports the design and analysis concept of fine multi-field coupling to realize the coupling calculation of multiple disciplines of the whole reactor, fully consider the feedback and coupling effects between different physical fields, and more realistic and accurate various states of the reactor core, and support the satisfaction of higher requirements for the accuracy of calculation results, such as reactor life extension, safety evaluation under extreme accidents, etc.
[0003] The significant characteristics of reactor core fine multi-field coupling calculation are: (1) The grid scale is very large. Taking a typical cell-level coupling calculation as an example, the reactor physics grid is in the tens of millions, the thermal subchannel grid is in the tens of millions, and the fuel grid is in the hundreds of millions; (2) The grid forms of each physical field are very different. The reactor physics grid is mostly structured grid, the thermal subchannel grid is arc-shaped unstructured grid, and the fuel performance analysis is mostly tetrahedral unstructured grid; (3) The resource demand is very large and the calculation efficiency is low; (4) The accuracy of grid mapping has a great influence on fine coupling calculation. It can be seen that efficient and high-precision grid mapping is the key technology for reactor core fine multi-field coupling calculation.
[0004] In the related technology, the existing grid mapping methods include two categories: search method and weight method. The search method is to find the source field grid (one or more grids) closest to the target field grid, and simply process the value of the grid closest to the source field to obtain the value of the target field; the weight method is to establish a mapping relationship between each grid of the target field and each grid of the source field. Typical spatial mapping methods include KD tree search method, inverse distance weighted interpolation method and Kriging interpolation method, etc. Inverse distance weighted interpolation method and Kriging interpolation method have been widely used in the field of geographic information.
[0005] In the process of implementing the relevant technology, the applicant realizes that the relevant technology has at least the following technical problems:
[0006] At present, all grid mapping methods consider the entire computational grid, that is, the three-dimensional / two-dimensional grid of the entire core is used for mapping. However, this mapping method has a low overall mapping efficiency due to its large scale. Moreover, if the grid is large or there is a large gradient in the physical field, the results obtained by using only the search method will have a large deviation. In addition, most weight methods require large-scale matrix calculations, and the large amount of calculations leads to reduced grid mapping efficiency, especially for large-scale grid mapping. The efficiency is even lower, and the choice of weight odd function has a great influence on the accuracy of the grid mapping results, which makes it difficult to meet the needs of application scenarios with high requirements for grid mapping accuracy. Summary of the invention
[0007] In view of this, the present application provides a grid mapping method and device for reactor core multi-physical field coupling. The main purpose is to solve the current problems of low overall mapping efficiency, poor mapping result accuracy, and difficulty in meeting the needs of application scenarios with high requirements for grid mapping accuracy.
[0008] According to a first aspect of the present application, a grid mapping method for multi-physics field coupling of a reactor core is provided, the method comprising:
[0009] Determining a target grid field and a source grid field involved in grid mapping in the full core grid field;
[0010] Identifying the smallest grid constituting the target grid field to construct a first basic grid set of the target grid field, and identifying the smallest grid constituting the source grid field to construct a second basic grid set of the source grid field;
[0011] constructing a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculating a volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair;
[0012] According to the volume weight coefficient of each second basic grid, setting a volume weight coefficient for each grid in the full core grid field;
[0013] Determine the grid field parameters associated with the source grid field, calculate the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtain the mapping result of the grid field parameters in the target grid field, and complete the spatial mapping between the source grid field and the target grid field.
[0014] Optionally, determining the target grid field and the source grid field involved in the grid mapping in the full core grid field includes:
[0015] Taking the grid field to be parameter mapped in the full core grid field as the target grid field;
[0016] A grid field parameter to be mapped to the full core grid field is determined, and a grid field associated with the grid field parameter in the full core grid field is used as the source grid field.
[0017] Optionally, the minimum grids constituting the grid field are identified to construct a basic grid set of the grid field, including:
[0018] Determine a plurality of components located in the grid field, and count the grid information of each component in units of components, wherein the grid information includes the number of grids included in the component, the grid number of each grid included in the component, and the grid coordinates of each grid included in the component, wherein the grid number of each grid includes an absolute number and a relative number, and the grid coordinates of each grid include an absolute coordinate and a relative coordinate;
[0019] Creating a component set, and adding components to the component set with reference to the grid information of each of the components;
[0020] Using the number of grids corresponding to each component included in the component set as a grid name, defining at least one basic grid, and numbering each of the basic grids;
[0021] Referring to the number of grids corresponding to each of the basic grids, a component to be associated is determined for each of the multiple components and an association relationship is established, and the at least one associated basic grid is used as a basic grid set of the grid field, wherein, for each of the basic grids, the number of grids contained in the grid information of the component that has an association relationship with the basic grid is equal to the number of grids corresponding to the basic grid.
[0022] Optionally, referring to the grid information of each component to add a component to the component set includes:
[0023] Extract any component from the multiple components as the component to be compared, and determine, based on the grid information of the component to be compared, whether there is a specified component in the multiple components that has the same grid number, relative label, and relative coordinates as the component to be compared;
[0024] When it is determined that there is at least one designated component in the multiple components that has the same grid number, relative number and relative coordinates as the component to be compared, the component to be compared is added to the component set, and any component in the multiple components other than the component to be compared and the at least one designated component is re-extracted as the component to be compared and compared, until each of the components is traversed;
[0025] When it is determined that there is no component among the multiple components that has the same grid number, relative label and relative coordinates as the component to be compared, the component to be compared is added to the component set, and any component other than the component to be compared among the multiple components is re-extracted as the component to be compared and compared until each of the components is traversed.
[0026] Optionally, constructing a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculating a volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair, comprises:
[0027] Among the multiple first basic grids included in the first basic grid set, determining a corresponding first basic grid for each second basic grid included in the second basic grid set and establishing a corresponding relationship;
[0028] According to the corresponding relationship, associating the first basic grid in the first basic grid set with the second basic grid in the second basic grid set to obtain the basic grid mapping relationship pair;
[0029] Referring to the basic grid mapping relationship pair, a volume weight method is used to calculate the volume weight coefficient of each second basic grid in the second basic grid set.
[0030] Optionally, referring to the basic grid mapping relationship pair and using a volume weight method to calculate the volume weight coefficient of each second basic grid in the second basic grid set includes:
[0031] identifying parameter attributes of the grid field parameters;
[0032] When the parameter attribute indicates that the grid field parameter is an intensity quantity, calculating the first intersection volume of each first basic grid in the first basic grid set and the second basic grid corresponding to the first basic grid mapping relationship pair according to the calculation strategy of the volume weight method, counting the first volume sum of the first intersection volumes of all the first basic grids in the first basic grid set, and taking the ratio of the first intersection volume to the first volume sum as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid;
[0033] When the parameter attribute indicates that the grid field parameter is an extensive quantity, the second intersection volume of each second basic grid and the corresponding first basic grid in the basic grid mapping relationship pair is calculated according to the calculation strategy of the volume weight method, the second volume sum of the second intersection volumes of all second basic grids in the second basic grid set is counted, and the ratio of the first intersection volume of each first basic grid to the sum of the second volumes is calculated as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid.
[0034] Optionally, setting a volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid includes:
[0035] For each of the second basic grids, determining at least one related component associated with the second basic grid;
[0036] The grid in the at least one related component is queried in the full core grid field, and the volume weight coefficient of the second basic grid is used as the volume weight coefficient of the grid in the at least one related component.
[0037] According to a second aspect of the present application, a grid mapping device for multi-physical field coupling of a reactor core is provided, the device comprising:
[0038] A determination module, used for determining a target grid field and a source grid field participating in grid mapping in the full core grid field;
[0039] A construction module, used to identify the minimum grid constituting the target grid field, construct a first basic grid set of the target grid field, and to identify the minimum grid constituting the source grid field, and construct a second basic grid set of the source grid field;
[0040] A calculation module, configured to construct a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculate a volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair;
[0041] A setting module, configured to set a volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid;
[0042] A mapping module is used to determine the grid field parameters associated with the source grid field, calculate the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtain the mapping result of the grid field parameters in the target grid field, and complete the spatial mapping between the source grid field and the target grid field.
[0043] Optionally, the determination module is used to take the grid field to be parameter mapped in the full core grid field as the target grid field; determine the grid field parameters to be mapped to the full core grid field, and take the grid field associated with the grid field parameters in the full core grid field as the source grid field.
[0044] Optionally, the construction module is used to determine multiple components located in the grid field, count the grid information of each component in units of components, the grid information including the number of grids included in the component, the grid number of each grid included in the component, and the grid coordinates of each grid included in the component, wherein the grid number of each grid includes an absolute number and a relative number, and the grid coordinates of each grid include an absolute coordinate and a relative coordinate; create a component set, add components to the component set with reference to the grid information of each component; define at least one basic grid with the number of grids corresponding to each component included in the component set as the grid name, and number each basic grid; determine the component to be associated for each basic grid in the multiple components and establish an association relationship with reference to the number of grids corresponding to each basic grid, and use the at least one associated basic grid as the basic grid set of the grid field, wherein, for each basic grid, the number of grids contained in the grid information of the component that has an association relationship with the basic grid is equal to the number of grids corresponding to the basic grid.
[0045] Optionally, the construction module is used to extract any component from the multiple components as a component to be compared, and determine whether there is a specified component in the multiple components that is consistent with the grid number, relative label and relative coordinate of the component to be compared according to the grid information of the component to be compared; when it is determined that there is at least one specified component in the multiple components that is consistent with the grid number, relative label and relative coordinate of the component to be compared, the component to be compared is added to the component set, and any component is re-extracted from the multiple components other than the component to be compared and the at least one specified component as a component to be compared and compared until each of the components is traversed; when it is determined that there is no component in the multiple components that is consistent with the grid number, relative label and relative coordinate of the component to be compared, the component to be compared is added to the component set, and any component is re-extracted from the multiple components other than the component to be compared as a component to be compared and compared until each of the components is traversed.
[0046] Optionally, the calculation module is used to determine a corresponding first basic grid for each second basic grid included in the second basic grid set among multiple first basic grids included in the first basic grid set and establish a corresponding relationship; according to the corresponding relationship, associate the first basic grid in the first basic grid set with the second basic grid in the second basic grid set to obtain the basic grid mapping relationship pair; and refer to the basic grid mapping relationship pair to calculate the volume weight coefficient of each second basic grid in the second basic grid set using the volume weight method.
[0047] Optionally, the calculation module is used to identify the parameter attribute of the grid field parameter; when the parameter attribute indicates that the grid field parameter is an intensity quantity, the first intersection volume of each first basic grid in the first basic grid set and the corresponding second basic grid in the basic grid mapping relationship pair is calculated according to the calculation strategy of the volume weight method, the first volume sum of the first intersection volumes of all the first basic grids in the first basic grid set is counted, and the ratio of the first intersection volume to the first volume sum is used as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid; when the parameter attribute indicates that the grid field parameter is an extensive quantity, the second intersection volume of each second basic grid and the corresponding first basic grid in the basic grid mapping relationship pair is calculated according to the calculation strategy of the volume weight method, the second volume sum of the second intersection volumes of all the second basic grids in the second basic grid set is counted, and the ratio of the first intersection volume of each first basic grid to the second volume sum is calculated as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid.
[0048] Optionally, the setting module is used to determine, for each second basic grid, at least one related component that has an association relationship with the second basic grid; query the grid within the at least one related component in the full core grid field, and use the volume weight coefficient of the second basic grid as the volume weight coefficient of the grid within the at least one related component.
[0049] According to a third aspect of the present application, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the methods described in the first aspect when executing the computer program.
[0050] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods described in the first aspect are implemented.
[0051] By means of the above technical scheme, the present application provides a grid mapping method and device for multi-physical field coupling of a reactor core. The present application determines the target grid field and the source grid field involved in the grid mapping in the full core grid field, identifies the minimum grid constituting the target grid field, constructs a first basic grid set of the target grid field, and identifies the minimum grid constituting the source grid field, constructs a second basic grid set of the source grid field, constructs a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculates the volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair, and calculates the volume weight coefficient of each second basic grid according to the volume of each second basic grid. Weight coefficient, set volume weight coefficient for each grid in the full core grid field, determine the grid field parameters associated with the source grid field, use the volume weight coefficient of each grid in the full core grid field to calculate the grid field parameters, obtain the mapping result of the grid field parameters in the target grid field, and complete the spatial mapping between the source grid field and the target grid field. By abstracting the target grid field and the source grid field, only the spatial mapping of the minimum grid set is required, avoiding direct three-dimensional spatial mapping of large-scale grids. While improving the spatial mapping efficiency of large-scale grids of the reactor, the accuracy of the grid mapping results is improved to meet the needs of application scenarios with high requirements for grid mapping accuracy.
[0052] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] 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 application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0054] Figure 1 A schematic flow chart of a grid mapping method for multi-physical field coupling in a reactor core provided in an embodiment of the present application is shown;
[0055] Figure 2A A schematic flow chart of another grid mapping method for multi-physical field coupling in a reactor core provided in an embodiment of the present application is shown;
[0056] Figure 2B A schematic diagram of a source grid field provided by an embodiment of the present application is shown;
[0057] Figure 2CA schematic diagram of a target grid field provided in an embodiment of the present application is shown;
[0058] Figure 3 A schematic structural diagram of a grid mapping device for multi-physical field coupling of a reactor core provided in an embodiment of the present application is shown;
[0059] Figure 4 A schematic diagram of the device structure of a computer device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0060] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0061] The present application embodiment provides a grid mapping method for multi-physics field coupling in a reactor core, such as Figure 1 As shown, the method includes:
[0062] 101. Determine the target grid field and source grid field involved in grid mapping in the full core grid field.
[0063] In the complex computing environment of the reactor core, the simulation of multiple physical processes depends on their own specific grid fields, which not only reflect the subdivision of the spatial position, but also carry the key parameter information of different physical processes. In order to achieve comprehensive evaluation and optimization of core performance, it is often necessary to map the key parameters in one grid field to another grid field so that they can be considered uniformly in the multi-physics field coupling analysis. Among them, the grid fields involved in the reactor core calculation include grid fields for neutron physics calculations, grid fields for fluid calculations, grid fields for structural mechanics calculations, grid fields for solid thermal conductivity calculations, etc., and attached to these grid fields are a large number of physical parameter fields, such as power, water temperature, fuel temperature, stress, etc.
[0064] Grid mapping is one of the key steps to achieve multi-physics field coupling analysis. By reasonably determining the source grid field and the target grid field, it is possible to ensure that the parameter transfer between different physical processes is smooth and unimpeded, providing strong support for the comprehensive evaluation and optimization of core performance. In the embodiment of the present application, it is necessary to determine which grid field is the target grid field and which grid field is the source grid field before grid mapping, that is, to determine the target grid field and source grid field involved in grid mapping in the full core grid field. Among them, when determining the target grid field and the source grid field, it is necessary to deeply analyze the specific needs of the current computing task and clarify which physical processes or parameters need to be focused on and transferred. For example, if the goal is to evaluate the impact of the thermal hydraulic performance in the core on the fuel temperature, it is particularly important to use the fluid calculation grid field (including parameters such as water temperature) as the source grid field and the solid heat conduction calculation grid field (focusing on the fuel temperature) as the target grid field. That is, which grid parameter needs to be mapped, then the corresponding grid field on the physical grid field of the reactor core to which the grid parameter is attached is the source grid field, and accordingly, the grid field to which the parameter needs to be mapped is the target field.
[0065] In this way, by accurately determining the source grid field and the target grid field, the accuracy and consistency of the parameters in the mapping process can be ensured, thereby improving the accuracy of the overall calculation results; moreover, after clarifying the starting point and end point of the mapping, the mapping algorithm and data processing flow can be optimized in a targeted manner to reduce unnecessary calculations and improve calculation efficiency, which not only helps to improve the accuracy and efficiency of the grid mapping process, but also lays a solid foundation for subsequent multi-physics field coupling analysis.
[0066] It should be noted that at different stages of reactor design and optimization, different physical processes and parameters may need to be focused on. By flexibly adjusting the selection of source grid fields and target grid fields, different computing needs can be quickly adapted to improve the adaptability and flexibility of the calculation.
[0067] 102. Identify the smallest grid constituting the target grid field to construct a first basic grid set of the target grid field, and identify the smallest grid constituting the source grid field to construct a second basic grid set of the source grid field.
[0068] In the embodiment of the present application, constructing a basic grid set is the basis for realizing multi-physics field coupling analysis. By ensuring the correspondence and consistency of grid units between different grid fields, the parameter transfer between different physical processes can be made smoother and more accurate. In order to achieve this goal, it is necessary to identify and classify the smallest grid units in the target grid field and the source grid field in detail.
[0069] For the target grid field, we first need to determine the smallest grid unit that it is composed of. These grid units constitute the basic skeleton of the target grid field. Furthermore, by traversing the entire target grid field, we can collect the grid information of each grid unit. Specifically, we need to count the grid information in each component in units of components. The grid information in each component includes the number of grids contained in each component, the grid label and the grid coordinates. The grid coordinates include absolute coordinates and relative coordinates. The absolute coordinates are the actual coordinates in the entire core grid field, and the relative coordinates are the coordinates of each grid relative to the origin of the component. The grid label includes absolute labels and relative labels. The absolute labels are the actual labels of the entire core grid field, and the relative labels are the re-labels in the component. Subsequently, based on these grid information, we determine that the physical field is composed of several types of grid components, and define the basic grid set, including the serial number, name, grid field and the serial number of the components contained (which component uses the basic grid is included in the information of the basic grid). Through such a definition, these basic grids can be easily referenced and operated in subsequent calculations and analyses. By counting each component, the basic grids can be sorted and classified to obtain the first basic grid set of the target grid field.
[0070] Similarly, for the source grid field, the same grid identification and classification work is also required. However, in this process, special attention should be paid to the correspondence between the source grid field and the target grid field, so that the parameters of the source grid field can be accurately transferred to the target grid field in the subsequent mapping process.
[0071] By identifying and classifying grid cells in detail and constructing a basic grid set, it can be ensured that each basic grid can be accurately represented and processed during the mapping process, thereby improving the accuracy of the mapping. Moreover, the construction of the basic grid set helps to reduce redundancy and duplication of work in the calculation process. By pre-organizing and classifying grid cell information, the subsequent mapping algorithm can be made more efficient and concise. Furthermore, assigning a unique serial number and name to the basic grid set and clarifying the grid field and component serial number to which it belongs can improve the manageability and traceability of the data, and help to quickly locate and query related grid information in a complex computing environment.
[0072] 103. Construct a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculate a volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair.
[0073] After completing the construction of the first basic grid set of the target grid field and the second basic grid set of the source grid field, the next key step is to establish a mapping relationship between the two to form a basic grid mapping relationship pair. This step is the core of the grid mapping process, which directly affects the accuracy and efficiency of subsequent parameter transfer.
[0074] In order to construct the basic grid mapping relationship pairs, it is first necessary to analyze the spatial position relationship between the first basic grid set and the second basic grid set. By comparing the relative coordinates in the grid coordinates of the two, it is possible to determine which first basic grids and which second basic grids overlap or are adjacent in space. Based on this spatial relationship, a one-to-one, one-to-many, or many-to-one mapping relationship pair can be established. These mapping relationship pairs clearly indicate which basic grids are related to each other between the source grid field and the target grid field.
[0075] Next, it is necessary to calculate the volume weight coefficient of each second basic grid in the second basic grid set. The volume weight coefficient reflects the contribution of each second basic grid to the parameter value in the target grid field during the mapping process. There are many ways to calculate the volume weight coefficient. One common method is to use the geometric overlap method, that is, to calculate the proportion or weight of each second basic grid based on the degree of spatial overlap between the second basic grid and the corresponding grid unit in the target grid field. The volume weight coefficient will be used in the subsequent parameter mapping process to ensure that the parameters in the source grid field can be transferred to the target grid field in the correct proportion.
[0076] In the process of constructing the basic grid mapping relationship pair and calculating the volume weight coefficient in the embodiment of the present application, the spatial position and overlap degree between the grids are taken into account, thereby avoiding the errors that may be caused by simple point-to-point mapping and ensuring that the parameter value of each grid unit can be accurately transmitted during the mapping process; moreover, by pre-calculating and storing the volume weight coefficient, the weighted summation of the parameter values can be quickly performed in the subsequent mapping process, thereby improving the efficiency of parameter transmission.
[0077] It should be noted that, whether it is a regular grid or an irregular grid, effective mapping can be achieved by constructing a basic grid mapping relationship pair and calculating the volume weight coefficient.
[0078] 104. According to the volume weight coefficient of each second basic grid, a volume weight coefficient is set for each grid in the whole core grid field.
[0079] After completing the calculation of the volume weight coefficients of each grid in the second basic grid set, the next step is to reasonably expand these volume weight coefficients to each grid in the entire core grid field to ensure that the entire core grid field can accurately reflect the influence of the source grid field parameters in subsequent calculations and analyses, which is of great significance for achieving accurate simulation of complex reactor cores and multi-physical field coupling analysis.
[0080] To achieve this goal, the entire core grid field must first be carefully traversed to ensure that each component in the entire core grid field is accurately identified and located. Then, based on the spatial position relationship between each component and each second basic grid in the second basic grid set, the components are classified into the second basic grids associated with them. For a component corresponding to a second basic grid, the volume weight coefficient of the grid within the component will directly inherit the volume weight coefficient of the second basic grid.
[0081] In this way, by setting a volume weight coefficient for each grid in the full core grid field, it can be ensured that the entire grid field can maintain global consistency in parameter transfer in subsequent calculations and analyses, which helps to avoid global errors caused by improper local grid processing; moreover, the setting of the volume weight coefficient enables each grid to obtain the corresponding parameter contribution ratio according to its actual relationship with the source grid field. This refined processing method helps to improve the precision and accuracy of the calculation results.
[0082] It should be noted that since the volume weight coefficient is dynamically calculated based on the actual relationship between the grids, the method for calculating the volume weight coefficient in the embodiment of the present application can adapt to various complex core geometries and grid division methods, making the calculation method more adaptable and flexible in practical applications.
[0083] 105. Determine the grid field parameters associated with the source grid field, calculate the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtain the mapping result of the grid field parameters in the target grid field, and complete the spatial mapping between the source grid field and the target grid field.
[0084] After successfully setting the volume weight coefficient for each grid in the full core grid field, the next step is to use these coefficients to perform a mapping calculation of the grid field parameters to complete the spatial mapping between the source grid field and the target grid field.
[0085] Since the purpose of the embodiment of the present application is to map the grid field parameters associated in the source grid field to the target grid field, it is necessary to determine the grid field parameters associated with the source grid field. For example, assuming that the source grid field is a power field, the grid field parameter is power. Then, according to the setting of the volume weight coefficient, the grid field parameters in the source grid field are distributed to each grid of the full core grid field in the corresponding proportion. This process is similar to an interpolation or weighted average operation, but the difference is that it relies on the spatial relationship between the grids and the volume weight coefficient to determine the parameter value that each grid should obtain.
[0086] By traversing all the grids of the full core grid field and completing the mapping calculation of the grid field parameters, the mapping results of the grid field parameters in the target grid field can be obtained. This result not only reflects the spatial distribution of the source grid field parameters in the target grid field, but also retains the relative relationship and change trend between them. By achieving accurate spatial mapping between the source grid field and the target grid field, it can be ensured that the parameter transfer between different physical fields can be carried out in the correct proportion, thereby achieving more accurate and efficient multi-physical field coupling analysis.
[0087] The method provided in the embodiment of the present application determines the target grid field and the source grid field involved in grid mapping in the full core grid field, identifies the minimum grid constituting the target grid field, constructs the first basic grid set of the target grid field, and identifies the minimum grid constituting the source grid field, constructs the second basic grid set of the source grid field, constructs a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculates the volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair, sets the volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid, determines the grid field parameters associated with the source grid field, calculates the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtains the mapping result of the grid field parameters in the target grid field, completes the spatial mapping between the source grid field and the target grid field, and by abstracting the target grid field and the source grid field, only the spatial mapping of the minimum grid set needs to be performed, thereby avoiding the direct three-dimensional spatial mapping of large-scale grids, improving the spatial mapping efficiency of large-scale grids of the reactor, and improving the accuracy of the grid mapping results, meeting the needs of application scenarios with high requirements for grid mapping accuracy.
[0088] Further, as a refinement and extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, the embodiment of the present application provides another grid mapping method for multi-physical field coupling of a reactor core, such as Figure 2A As shown, the method includes:
[0089] 201. Taking a grid field to be parameter mapped in the full core grid field as a target grid field, determining grid field parameters to be mapped to the full core grid field, and taking a grid field associated with the grid field parameters in the full core grid field as a source grid field.
[0090] In the complex computing environment of the reactor core, the simulation of multiple physical processes depends on their own specific grid fields, which not only reflect the subdivision of the spatial position, but also carry the key parameter information of different physical processes. In order to achieve comprehensive evaluation and optimization of core performance, it is often necessary to map the key parameters in one grid field to another grid field so that they can be considered uniformly in the multi-physics field coupling analysis. Among them, the grid fields involved in the reactor core calculation include grid fields for neutron physics calculations, grid fields for fluid calculations, grid fields for structural mechanics calculations, grid fields for solid thermal conductivity calculations, etc., and attached to these grid fields are a large number of physical parameter fields, such as power, water temperature, fuel temperature, stress, etc.
[0091] In the embodiment of the present application, before grid mapping, it is necessary to determine which grid field is the target grid field and which grid field is the source grid field, that is, determine the target grid field and source grid field involved in grid mapping in the full core grid field. Among them, when determining the target grid field and the source grid field, it is necessary to use the grid field to be parameter mapped in the full core grid field as the target grid field, determine the grid field parameters to be mapped to the full core grid field, and use the grid field associated with the grid field parameters in the full core grid field as the source grid field. The grid field parameters can be power, temperature, pressure, concentration, neutron flux density, etc., depending on the research problem and simulation requirements.
[0092] 202. Identify the smallest grid constituting the target grid field to construct a first basic grid set of the target grid field, and identify the smallest grid constituting the source grid field to construct a second basic grid set of the source grid field.
[0093] In the embodiment of the present application, constructing a basic grid set is the basis for realizing multi-physics field coupling analysis. By ensuring the correspondence and consistency of grid units between different grid fields, the parameter transfer between different physical processes can be made smoother and more accurate. In order to achieve this goal, it is necessary to identify and classify the smallest grid units in the target grid field and the source grid field in detail. The following describes the generation process of the basic grid set using a certain grid field as an example. The grid field can be a target grid field or a source grid field. For details, refer to the following steps 1 to 3:
[0094] Step 1: Count the grid information.
[0095] Determine multiple components located in the grid field, take the component as the unit, and count the grid information of each component, the grid information includes the number of grids contained in the component, the grid number of each grid contained in the component, and the grid coordinates of each grid contained in the component, wherein the grid number of each grid includes an absolute number and a relative number, and the grid coordinates of each grid include an absolute coordinate and a relative coordinate. The absolute coordinate is the actual coordinate in the entire full core grid field, and the relative coordinate is the coordinate of each grid relative to the origin of the component; the absolute number is the actual number in the entire full core grid field, and the relative number is the re-numbering in the component.
[0096] In the embodiment of the present application, the numbering of the basic grids is performed in the order from top to bottom and from left to right. Figure 2B In ①, it is assumed that the current source grid field includes four components A1, A2, A3 and A4, where the grid division of each component is as follows: Figure 2B As shown by the dotted line in ②, A1 includes 4 grids, A2 includes 4 grids, A3 includes 4 grids, and A4 includes 1 grid. When the side length of the component is 10 cm and the height is 100 cm, the grid information in the source grid field component is summarized as shown in Table 1 below:
[0097] Table 1
[0098]
[0099] Continue to see Figure 2C In ①, it is assumed that the current target grid field also includes four components A1, A2, A3 and A4, where the grid division of each component is as follows Figure 2C As shown by the dotted line in ②, A1 includes 4 grids, A2 includes 4 grids, A3 includes 4 grids, and A4 includes 4 grids. When the side length of the component is 10 cm and the height is 100 cm, the grid information in the target grid field component is summarized as shown in Table 2 below:
[0100] Table 2
[0101]
[0102] Step 2: Generate component set.
[0103] After obtaining the grid information through statistics, the grid information can be used to generate the component set of the grid field. The process of generating the component set is to determine whether the current grid field is composed of components of several grid types, and to classify the identified components into the component set. The specific process of generating the component set is as follows:
[0104] First, create a component set, and then add components to the component set with reference to the grid information of each component. Specifically, it is necessary to extract any component from multiple components as the component to be compared, and determine whether there is a specified component in the multiple components that is consistent with the number of grids, relative numbers and relative coordinates of the component to be compared according to the grid information of the component to be compared. When it is determined that there is at least one specified component in the multiple components that is consistent with the number of grids, relative numbers and relative coordinates of the component to be compared, the component to be compared is added to the component set, and any component is re-extracted from the components other than the component to be compared and at least one specified component in the multiple components as the component to be compared and compared, until each component is traversed; when it is determined that there is no component in the multiple components that is consistent with the number of grids, relative numbers and relative coordinates of the component to be compared, the component to be compared is added to the component set, and any component is re-extracted from the components other than the component to be compared in the multiple components as the component to be compared and compared, until each component is traversed. That is to say, if there are multiple components with the same number of grids, relative labels and relative coordinates, these components can be considered to be the same components, and any one of them can be recorded in the component set. If a component does not have other components with the same number of grids, relative labels and relative coordinates, it can be considered that there are no other components that are the same as this component, and the component can be directly recorded in the component set.
[0105] Continuing to take the grid information in Table 1 and Table 2 as an example, by comparing the grid information in Table 1, it can be found that the number of grids, relative numbers and relative coordinates of components A1, A2 and A3 are consistent, while component A4 does not have a component with the same number of grids, relative numbers and relative coordinates, so components A1 and A4 are first recorded in the component set; similarly, by comparing the grid information in Table 2, it can be found that the number of grids, relative numbers and relative coordinates of components A1 and A2 are consistent, and the number of grids, relative numbers and relative coordinates of components A3 and A4 are consistent, so components A1 and A3 can be recorded in the component set. It should be noted that different grid fields need to construct different component sets, that is, the source grid field corresponds to one component set, and the target grid field corresponds to another component set.
[0106] Step 3: Generate a basic mesh set.
[0107] After the component set is generated, continue to define at least one basic grid using the number of grids corresponding to each component included in the component set as the grid name, and number each basic grid; at the same time, refer to the number of grids corresponding to each basic grid, determine the components to be associated for each basic grid in multiple components and establish an association relationship, and use at least one associated basic grid as the basic grid set of the grid field, wherein, for each basic grid, the number of grids contained in the grid information of the component that has an association relationship with the basic grid is equal to the number of grids corresponding to the basic grid. Continuing with the above Table 1 and Table 2 as an example, it can be seen from Table 1 in the above step 2 that the component set of the source grid field records two components, namely component A1 and component A4. The number of grids of component A1 is 4, and components A2 and A3 are the same components as component A1. Therefore, a basic grid called "4 grids" can be defined, the basic grid is numbered, its basic grid set number is set to 1, and components A1, A2 and A3 are associated with the "4 grids"; similarly, the number of grids of component 4 is 1, therefore, a basic grid called "1 grid" can be defined, the basic grid is numbered, its basic grid set number is set to 2, and component A4 is associated with the "1 grid". In the actual application process, a table as shown in Table 3 can be maintained to store information related to the basic grid set:
[0108] Table 3
[0109] Base grid set number name Mesh Field Parameters Components 1 4 Grid power A1, A2 and A3 2 1 Grid power A4
[0110] It should be noted that, since the source grid field is associated with the grid field parameters, the grid field parameters may also be reflected in the basic grid set as shown in Table 3 above, and this application does not specifically limit this.
[0111] Correspondingly, from Table 2 in the above step 2, it can be seen that the component set of the target grid field records two components, namely component A1 and component A3. The number of grids of component A1 is 4, and component A2 is the same component as component A1. Considering that the number of grids of component A1 and component A3 is 4, but the internal layout of the grids is different, the layout characteristics of the grid can be used here to define a basic grid called "vertical grid", number the basic grid, set its basic grid set number to 1, and associate components A1 and A2 with the "vertical grid"; similarly, according to the grid layout of component 3, a basic grid called "horizontal grid" can be defined, number the basic grid, set its basic grid set number to 2, and associate components A3 and A4 with the "horizontal grid". In the actual application process, a table as shown in Table 4 can be maintained to store information related to the basic grid set:
[0112] Table 4
[0113] Base grid set number name Mesh Field Parameters Components 1 Vertical Grid Fuel temperature A1, A2 2 Horizontal grid Fuel temperature A3, A4
[0114] 203. Determine a corresponding first basic grid for each second basic grid included in the second basic grid set among the multiple first basic grids included in the first basic grid set and establish a corresponding relationship. According to the corresponding relationship, associate the first basic grid in the first basic grid set with the second basic grid in the second basic grid set to obtain a basic grid mapping relationship pair.
[0115] In the embodiment of the present application, after the first basic grid set and the second basic grid set are generated, it is necessary to establish a corresponding relationship for the basic grids included in the first basic grid set and the second basic grid set, and generate a basic grid mapping relationship pair. The process of establishing the corresponding relationship is to screen which basic grids in the first basic grid set of the target grid field and the second basic grid set of the source grid field need to be mapped, and the screening basis is whether the two basic grid sets contain the same component serial number. If they contain the same component serial number, it means that there is a component composed of the basic grids of the target grid field and the source grid field at the same time.
[0116] Continuing to take the above Table 3 and Table 4 as an example, by screening Table 3 and Table 4, the basic grid 1 in the source grid field includes components A1, A2 and A3, the basic grid 1 in the target grid field includes components A1 and A2, and the basic grid 2 in the target grid field includes component A3. Therefore, the basic grid 1 in the source grid field and the basic grids 1 and 2 in the source grid field include the same components; similarly, the basic grid 2 in the source grid field includes component A4, and the basic grid 2 in the target grid field also includes component A4. Therefore, the basic grid 2 in the source grid field and the basic grid 2 in the target grid field include the same components.
[0117] Thus, according to the above screening results, a basic grid mapping relationship pair can be obtained, which includes three corresponding relationships, as shown in Table 5:
[0118] Table 5
[0119] Serial number The base grid number of the source grid field The base grid number of the target grid field 1 1 1 2 1 2 3 2 2
[0120] 204. Referring to the basic grid mapping relationship pair, a volume weight method is used to calculate a volume weight coefficient of each second basic grid in the second basic grid set.
[0121] In the embodiment of the present application, after obtaining the basic grid mapping relationship pair, it is necessary to refer to the basic grid mapping relationship pair and use the volume weight method to calculate the volume weight coefficient of each second basic grid in the second basic grid set. Specifically, the embodiment of the present application uses different calculation strategies to calculate the volume weight coefficient for grid field parameters with different parameter attributes. The specific process is as follows:
[0122] First, it is necessary to identify the parameter attributes of the grid field parameters, which are used to indicate whether the grid field parameters are intensity quantities or extensive quantities. Among them, for intensity quantities (such as temperature, pressure, etc.), their values do not change with the change of grid volume, so it is only necessary to consider the proportion of the part where the target basic grid and the source field grid intersect to the total volume of the source field grid; while extensive quantities (such as mass, energy, power, etc.) are related to the grid volume, and their values change with the change of the grid volume. When calculating the volume weight coefficient of the extensive quantity, it is necessary to consider the intersection of the target grid and all intersecting source field grids, and calculate the proportion of the intersection volume of the target grid and each intersecting source field grid to the total intersection volume of the target grid and all intersecting source field grids.
[0123] Therefore, when the parameter attribute indicates that the grid field parameter is an intensity quantity, the first intersection volume of each first basic grid in the first basic grid set and the corresponding second basic grid in the basic grid mapping relationship pair is calculated according to the calculation strategy of the volume weight method, and the first volume sum of the first intersection volumes of all the first basic grids in the first basic grid set is counted, and the ratio of the first intersection volume to the first volume sum is used as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid. Assuming that a first basic grid intersects with N second basic grids, the parameters of all intersecting grids in the second basic grid set are volume-weighted averaged, and the average calculation result is the value mapped to the target field. Therefore, it is necessary to calculate the first intersection volume (dV) of each first basic grid and the corresponding second basic grid in the basic grid mapping relationship pair. n , where n is used to indicate the base grid number of the first base grid, and the value range is 1 to N; then the first volume sum of the first intersection volumes of all the first base grids is calculated, and the sum of the first intersection volume and the first volume is used as the volume weight coefficient of the corresponding second base grid, where the volume coefficient w of the second base grid can be calculated using the following formula 1:
[0124] Formula 1:
[0125] When the parameter attribute indicates that the grid field parameter is an extensive quantity, the second intersection volume of each second basic grid and the corresponding first basic grid in the basic grid mapping relationship pair is calculated according to the calculation strategy of the volume weight method, the second volume sum of the second intersection volumes of all second basic grids in the second basic grid set is counted, and the ratio of the first intersection volume of each first basic grid to the sum of the second volumes is calculated as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid. Assuming that a first basic grid intersects with N second basic grids, and among these N second basic grids, assuming that a second basic grid intersects with M first basic grids, the proportion of the volume intersecting with the first basic grid to the total intersection volume is the value that the second basic grid needs to map to the target field, and adding up all the values is the final value of all source grid field intersection grids mapped to the target grid. Therefore, it is necessary to calculate the first intersection volume (dV) of each first basic grid and the second basic grid n , the second intersection volume (dV) of each second base grid with the first base grid is also calculated m , where m is used to indicate the base grid number of the second base grid, and the value range is 1 to M; then the second volume sum of the second intersection volumes of all the second base grids in the second base grid set is counted, and the ratio of the first intersection volume of each first base grid to the second volume sum is calculated as the volume weight coefficient of the second base grid corresponding to the corresponding first base grid, where the volume coefficient w of the second base grid can be calculated using the following formula 2:
[0126] Formula 2:
[0127] Continuing with the above example, assuming that the source grid field is a power field, its associated grid field parameter is also power, and power is an extensive quantity, the weight coefficient of each second basic grid calculated by the above method is shown in Table 6 below:
[0128] Table 6
[0129]
[0130]
[0131] 205. According to the volume weight coefficient of each second basic grid, set a volume weight coefficient for each grid in the entire core grid field.
[0132] In an embodiment of the present application, after the volume weight coefficient of each second basic grid is calculated, it is necessary to set the volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid. Specifically, for each second basic grid, it is necessary to determine at least one related component that has an association relationship with the second basic grid, query the grid in at least one related component in the full core grid field, and use the volume weight coefficient of the second basic grid as the volume weight coefficient of the grid in at least one related component. In the actual application process, if the above Table 6 is generated, the intersection of the full core target grid field and the source grid field and the volume weight coefficient can be obtained according to the conversion between the relative serial number and the absolute serial number. The result obtained after assigning the volume weight coefficient according to Table 6 is shown in the following Table 7:
[0133] Table 7
[0134]
[0135]
[0136] 206. Determine the grid field parameters associated with the source grid field, calculate the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtain the mapping result of the grid field parameters in the target grid field, and complete the spatial mapping between the source grid field and the target grid field.
[0137] In the embodiment of the present application, after the volume weight coefficient of each grid is determined, the grid field parameters associated with the source grid field can be determined, and the grid field parameters are calculated using the volume weight coefficient of each grid in the full core grid field to obtain the mapping result of the grid field parameters in the target grid field, thereby completing the spatial mapping between the source grid field and the target grid field. Specifically, the mapping result can be calculated using the following formula 3:
[0138] Formula 3: φ T =wφ s
[0139] Among them, φ T It is used to indicate the mapping result of each grid in the full core grid field, w is used to represent the volume weight coefficient of each grid in the full core grid field, φ s Used to represent the grid field parameters associated with the source grid field. Continuing with the above example, assuming that the power of the source grid field is 1.0, and the power is the grid field parameter, the mapping result is shown in the following Table 8:
[0140] Table 8
[0141]
[0142] In this way, the spatial mapping of the source field grid and the target grid of the entire core is realized through the above process. It should be noted that the mapping method proposed in the embodiment of the present application can realize grid mapping between two-dimensional or three-dimensional structured grids without being limited by the number of grids; it can also be applicable to grid mapping between two-dimensional or three-dimensional unstructured grids; it can also be applicable to grid mapping between two-dimensional or three-dimensional unstructured grids.
[0143] The method provided in the embodiment of the present application determines the target grid field and the source grid field involved in grid mapping in the full core grid field, identifies the minimum grid constituting the target grid field, constructs the first basic grid set of the target grid field, and identifies the minimum grid constituting the source grid field, constructs the second basic grid set of the source grid field, constructs a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculates the volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair, sets the volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid, determines the grid field parameters associated with the source grid field, calculates the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtains the mapping result of the grid field parameters in the target grid field, completes the spatial mapping between the source grid field and the target grid field, and by abstracting the target grid field and the source grid field, only the spatial mapping of the minimum grid set needs to be performed, thereby avoiding the direct three-dimensional spatial mapping of large-scale grids, improving the spatial mapping efficiency of large-scale grids of the reactor, and improving the accuracy of the grid mapping results, meeting the needs of application scenarios with high requirements for grid mapping accuracy.
[0144] Further, as Figure 1 In a specific implementation of the method, the present application provides a grid mapping device for multi-physical field coupling in a reactor core, such as Figure 3 As shown, the device includes: a determination module 301, a construction module 302, a calculation module 303, a setting module 304 and a mapping module 305.
[0145] The determination module 301 is used to determine the target grid field and the source grid field participating in the grid mapping in the full core grid field;
[0146] The construction module 302 is used to identify the minimum grid constituting the target grid field, construct a first basic grid set of the target grid field, and to identify the minimum grid constituting the source grid field, and construct a second basic grid set of the source grid field;
[0147] The calculation module 303 is used to construct a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculate the volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair;
[0148] The setting module 304 is used to set a volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid;
[0149] The mapping module 305 is used to determine the grid field parameters associated with the source grid field, calculate the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtain the mapping result of the grid field parameters in the target grid field, and complete the spatial mapping between the source grid field and the target grid field.
[0150] In a specific application scenario, the determination module 301 is used to take the grid field to be parameter mapped in the full core grid field as the target grid field; determine the grid field parameters to be mapped to the full core grid field, and take the grid field associated with the grid field parameters in the full core grid field as the source grid field.
[0151] In a specific application scenario, the construction module 302 is used to determine multiple components located in the grid field, and count the grid information of each component in units of components, wherein the grid information includes the number of grids included in the component, the grid number of each grid included in the component, and the grid coordinates of each grid included in the component, wherein the grid number of each grid includes an absolute number and a relative number, and the grid coordinates of each grid include an absolute coordinate and a relative coordinate; create a component set, and add components to the component set with reference to the grid information of each component; define at least one basic grid with the number of grids corresponding to each component included in the component set as the grid name, and number each basic grid; determine the component to be associated for each basic grid in the multiple components and establish an association relationship with reference to the number of grids corresponding to each basic grid, and use the at least one associated basic grid as the basic grid set of the grid field, wherein, for each basic grid, the number of grids included in the grid information of the component that has an association relationship with the basic grid is equal to the number of grids corresponding to the basic grid.
[0152] In a specific application scenario, the construction module 302 is used to extract any component from the multiple components as a component to be compared, and determine whether there is a specified component in the multiple components that is consistent with the grid number, relative label and relative coordinate of the component to be compared according to the grid information of the component to be compared; when it is determined that there is at least one specified component in the multiple components that is consistent with the grid number, relative label and relative coordinate of the component to be compared, the component to be compared is added to the component set, and any component is re-extracted from the components of the multiple components except the component to be compared and the at least one specified component as the component to be compared and compared, until each of the components is traversed; when it is determined that there is no component in the multiple components that is consistent with the grid number, relative label and relative coordinate of the component to be compared, the component to be compared is added to the component set, and any component is re-extracted from the components of the multiple components except the component to be compared and compared, until each of the components is traversed.
[0153] In a specific application scenario, the calculation module 303 is used to determine the corresponding first basic grid for each second basic grid included in the second basic grid set among the multiple first basic grids included in the first basic grid set and establish a corresponding relationship; according to the corresponding relationship, the first basic grid in the first basic grid set is associated with the second basic grid in the second basic grid set to obtain the basic grid mapping relationship pair; with reference to the basic grid mapping relationship pair, the volume weight coefficient of each second basic grid in the second basic grid set is calculated using the volume weight method.
[0154] In a specific application scenario, the calculation module 303 is used to identify the parameter attribute of the grid field parameter; when the parameter attribute indicates that the grid field parameter is an intensity quantity, the first intersection volume of each first basic grid in the first basic grid set and the corresponding second basic grid in the basic grid mapping relationship pair is calculated according to the calculation strategy of the volume weight method, the first volume sum of the first intersection volumes of all the first basic grids in the first basic grid set is counted, and the ratio of the first intersection volume to the first volume sum is used as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid; when the parameter attribute indicates that the grid field parameter is an extensive quantity, the second intersection volume of each second basic grid and the corresponding first basic grid in the basic grid mapping relationship pair is calculated according to the calculation strategy of the volume weight method, the second volume sum of the second intersection volumes of all the second basic grids in the second basic grid set is counted, and the ratio of the first intersection volume of each first basic grid to the second volume sum is calculated as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid.
[0155] In a specific application scenario, module 304 is set to determine, for each second basic grid, at least one related component that has an associated relationship with the second basic grid; query the grid within the at least one related component in the full core grid field, and use the volume weight coefficient of the second basic grid as the volume weight coefficient of the grid within the at least one related component.
[0156] The device provided in the embodiment of the present application determines the target grid field and the source grid field involved in grid mapping in the full core grid field, identifies the minimum grid constituting the target grid field, constructs the first basic grid set of the target grid field, and identifies the minimum grid constituting the source grid field, constructs the second basic grid set of the source grid field, constructs a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculates the volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair, sets the volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid, determines the grid field parameters associated with the source grid field, calculates the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtains the mapping result of the grid field parameters in the target grid field, completes the spatial mapping between the source grid field and the target grid field, and by abstracting the target grid field and the source grid field, only the spatial mapping of the minimum grid set needs to be performed, thereby avoiding the direct three-dimensional spatial mapping of large-scale grids, improving the spatial mapping efficiency of large-scale grids of the reactor, and improving the accuracy of the grid mapping results, meeting the needs of application scenarios with high requirements for grid mapping accuracy.
[0157] It should be noted that for other corresponding descriptions of the functional units involved in the grid mapping device for multi-physical field coupling of a reactor core provided in the embodiment of the present application, reference can be made to Figure 1 and FIG. 2A to FIG. 2C The corresponding description in will not be repeated here.
[0158] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0159] The above embodiments and the technical features in the embodiments can be arbitrarily combined with each other. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0160] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
[0161] In an exemplary embodiment, see Figure 4 , and also provides a computer device, which includes a bus, a processor, a memory and a communication interface, and may also include an input and output interface and a display device, wherein each functional unit can communicate with each other through the bus. The memory stores a computer program, and the processor is used to execute the program stored in the memory and execute the grid mapping method for multi-physical field coupling of the reactor core in the above embodiment.
[0162] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the grid mapping method for multi-physical field coupling in a reactor core.
[0163] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by hardware, or by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0164] Those skilled in the art will appreciate that the accompanying drawings are merely schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily required for implementing the present application.
[0165] Those skilled in the art will appreciate that the modules in the device in the implementation scenario can be distributed in the device in the implementation scenario according to the implementation scenario description, or can be changed accordingly and located in one or more devices different from the implementation scenario. The modules in the above implementation scenario can be combined into one module, or can be further split into multiple sub-modules.
[0166] The above application serial numbers are for description only and do not represent the advantages or disadvantages of the implementation scenarios.
[0167] The above disclosure only discloses several specific implementation scenarios of the present application. However, the present application is not limited thereto, and any changes that can be conceived by technicians in this field should fall within the scope of protection of the present application.
Claims
1. A grid mapping method for multi-physics field coupling in a reactor core, characterized in that: include: Determining a target grid field and a source grid field involved in grid mapping in the full core grid field; Identifying the smallest grid constituting the target grid field to construct a first basic grid set of the target grid field, and identifying the smallest grid constituting the source grid field to construct a second basic grid set of the source grid field; constructing a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculating a volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair; According to the volume weight coefficient of each second basic grid, setting a volume weight coefficient for each grid in the full core grid field; Determine the grid field parameters associated with the source grid field, calculate the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtain the mapping result of the grid field parameters in the target grid field, and complete the spatial mapping between the source grid field and the target grid field.
2. The method according to claim 1, characterized in that The step of determining the target grid field and the source grid field involved in the grid mapping in the full core grid field includes: Taking the grid field to be parameter mapped in the full core grid field as the target grid field; A grid field parameter to be mapped to the full core grid field is determined, and a grid field associated with the grid field parameter in the full core grid field is used as the source grid field.
3. The method according to claim 1, characterized in that: Identify the smallest grid that makes up the grid field and construct the basic grid set of the grid field, including: Determine a plurality of components located in the grid field, and count the grid information of each component in units of components, wherein the grid information includes the number of grids included in the component, the grid number of each grid included in the component, and the grid coordinates of each grid included in the component, wherein the grid number of each grid includes an absolute number and a relative number, and the grid coordinates of each grid include an absolute coordinate and a relative coordinate; Creating a component set, and adding components to the component set with reference to the grid information of each of the components; Using the number of grids corresponding to each component included in the component set as a grid name, defining at least one basic grid, and numbering each of the basic grids; Referring to the number of grids corresponding to each of the basic grids, a component to be associated is determined for each of the multiple components and an association relationship is established, and the at least one associated basic grid is used as a basic grid set of the grid field, wherein, for each of the basic grids, the number of grids contained in the grid information of the component that has an association relationship with the basic grid is equal to the number of grids corresponding to the basic grid.
4. The method according to claim 3, characterized in that The adding a component to the component set by referring to the grid information of each component comprises: Extract any component from the multiple components as the component to be compared, and determine, based on the grid information of the component to be compared, whether there is a specified component in the multiple components that has the same grid number, relative label, and relative coordinates as the component to be compared; When it is determined that there is at least one designated component in the multiple components that has the same grid number, relative number and relative coordinates as the component to be compared, the component to be compared is added to the component set, and any component in the multiple components other than the component to be compared and the at least one designated component is re-extracted as the component to be compared and compared, until each of the components is traversed; When it is determined that there is no component among the multiple components that has the same grid number, relative label and relative coordinates as the component to be compared, the component to be compared is added to the component set, and any component other than the component to be compared among the multiple components is re-extracted as the component to be compared and compared until each of the components is traversed.
5. The method according to claim 1, characterized in that: The step of constructing a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculating a volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair, comprises: Among the multiple first basic grids included in the first basic grid set, determining a corresponding first basic grid for each second basic grid included in the second basic grid set and establishing a corresponding relationship; According to the corresponding relationship, associating the first basic grid in the first basic grid set with the second basic grid in the second basic grid set to obtain the basic grid mapping relationship pair; Referring to the basic grid mapping relationship pair, a volume weight method is used to calculate the volume weight coefficient of each second basic grid in the second basic grid set.
6. The method according to claim 5, characterized in that The step of calculating the volume weight coefficient of each second basic grid in the second basic grid set by using a volume weight method with reference to the basic grid mapping relationship pair includes: identifying parameter attributes of the grid field parameters; When the parameter attribute indicates that the grid field parameter is an intensity quantity, calculating the first intersection volume of each first basic grid in the first basic grid set and the second basic grid corresponding to the first basic grid mapping relationship pair according to the calculation strategy of the volume weight method, counting the first volume sum of the first intersection volumes of all the first basic grids in the first basic grid set, and taking the ratio of the first intersection volume to the first volume sum as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid; When the parameter attribute indicates that the grid field parameter is an extensive quantity, the second intersection volume of each second basic grid and the corresponding first basic grid in the basic grid mapping relationship pair is calculated according to the calculation strategy of the volume weight method, the second volume sum of the second intersection volumes of all second basic grids in the second basic grid set is counted, and the ratio of the first intersection volume of each first basic grid to the sum of the second volumes is calculated as the volume weight coefficient of the second basic grid corresponding to the corresponding first basic grid.
7. The method according to claim 1, characterized in that The step of setting a volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid comprises: For each of the second basic grids, determining at least one related component associated with the second basic grid; The grid in the at least one related component is queried in the full core grid field, and the volume weight coefficient of the second basic grid is used as the volume weight coefficient of the grid in the at least one related component.
8. A grid mapping device for multi-physics field coupling in a reactor core, characterized in that: include: A determination module, used for determining a target grid field and a source grid field participating in grid mapping in the full core grid field; A construction module, used to identify the minimum grid constituting the target grid field, construct a first basic grid set of the target grid field, and to identify the minimum grid constituting the source grid field, and construct a second basic grid set of the source grid field; A calculation module, configured to construct a basic grid mapping relationship pair based on the first basic grid set and the second basic grid set, and calculate a volume weight coefficient of each second basic grid in the second basic grid set with reference to the basic grid mapping relationship pair; A setting module, configured to set a volume weight coefficient for each grid in the full core grid field according to the volume weight coefficient of each second basic grid; A mapping module is used to determine the grid field parameters associated with the source grid field, calculate the grid field parameters using the volume weight coefficient of each grid in the full core grid field, obtain the mapping result of the grid field parameters in the target grid field, and complete the spatial mapping between the source grid field and the target grid field.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Space curve calculation result mapping method of multi-physics field numerical calculation software
CN119989444A
Spatial Curve Calculation Result Mapping Method for Multi-Physical Field Numerical Calculation Software
CN119989444B
Parallel communication mapping construction method based on double marking
CN119996197A