Coupling method, device and equipment for thermal hydraulic model based on Newton-Raphson solver

Through the thermal-hydraulic model coupling method based on the Newton-Raphson solver, the difficult-to-solve problem between the three-dimensional and one-dimensional modules is solved, and the precise response simulation of the reactor core and main loop of the nuclear power plant is realized, improving the accuracy and accuracy of the simulation. efficiency.

CN117290642BActive Publication Date: 2024-09-17STATE POWER INVESTMENT CORPORATION RESEARCH INSTITUTE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211332231.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-28
Publication Date
2024-09-17
Estimated Expiration
2042-10-28

AI Technical Summary

Technical Problem

The existing three-dimensional sub-channel thermal hydraulic model and the one-dimensional system thermal hydraulic model are difficult to solve directly due to different scales during calculation, resulting in the simulation of the transient response in the coolant loop of the nuclear power plant and the simulation of thermal hydraulic phenomena during the accident. Not accurate enough.

Method used

The thermal-hydraulic model coupling method based on Newton-Raphson solver is used to determine the target discrete momentum equation and mass-energy equation, construct the velocity-pressure relationship and the initial mass-energy residual equation, obtain the revised terms and initial pressure matrix, and then solve the target pressure Matrix to realize coupled calculations between three-dimensional and one-dimensional modules.

Benefits of technology

It can correctly calculate the transient response of the reactor core and main loop of the nuclear power plant, provide precise target parameters for the flow field and temperature field distribution in the pressure vessel, and improve the accuracy and calculation efficiency of the simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117290642B
    Figure CN117290642B
Patent Text Reader

Abstract

The present disclosure proposes a coupling method, device, electronic device and medium for a thermal hydraulic model based on a Newton-Raphson solver. The specific scheme is: determine the target discrete momentum equation and target discrete mass-energy equation of the control body in the thermal hydraulic model, and transform the target discrete momentum equation according to the solution characteristics of the Newton-Raphson solver to construct the velocity-pressure relationship between the nodes at the coupling, and then transform the target discrete mass-energy equation to form an initial mass-energy residual equation at the coupling node, and then target the initial mass-energy residual equation to obtain the target revision item and the initial pressure matrix, and then determine the target pressure matrix according to the velocity-pressure relationship, the target revision item and the initial pressure matrix, and then solve the target pressure matrix to obtain the target parameters. Through the present disclosure, the transient response of the reactor core and the main loop of a real nuclear power plant can be correctly calculated, and the target parameters of the flow field and temperature field distribution in the pressure vessel can be given.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of nuclear reactor thermal hydraulic technology, and in particular to a coupling method, device and equipment of a thermal hydraulic model based on a Newton-Raphson solver. Background Art

[0002] In the coolant loop of a nuclear power plant, the reactor pressure vessel part loaded with nuclear fuel has complex thermal-hydraulic phenomena in transient and accident processes. In order to more accurately simulate the response of the complete nuclear power plant coolant loop with an acceptable computational cost, the best estimation program can use a three-dimensional sub-channel thermal-hydraulic model to simulate the pressure vessel, and a one-dimensional system thermal-hydraulic model to simulate the pipelines and equipment in the loop except the pressure vessel.

[0003] In the related art, a three-dimensional thermal hydraulic model is usually established based on the two-fluid model in the two-phase flow model. Since the conservation equations described by the calculation nodes are different, the corresponding solvers are also different. Usually, the two calculation modules with different scales cannot be solved directly together, but need to be coupled through the interaction information between the three-dimensional calculation modules. Summary of the invention

[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0005] To this end, the purpose of the present invention is to propose a coupling method, device, electronic equipment and storage medium for a thermal-hydraulic model based on a Newton-Raphson solver, which can correctly calculate the transient response of the reactor core and main loop of a real nuclear power plant, and can provide precise target parameters for the flow field and temperature field distribution in the pressure vessel.

[0006] The coupling method of a thermal-hydraulic model based on a Newton-Raphson solver proposed in an embodiment of the first aspect of the present disclosure includes: determining a target discrete momentum equation and a target discrete mass-energy equation of a control volume in the thermal-hydraulic model; transforming the target discrete momentum equation according to the solving characteristics of the Newton-Raphson solver to construct a velocity-pressure relationship between nodes at the coupling point; transforming the target discrete mass-energy equation to form an initial mass-energy residual equation at the coupling node; performing target processing on the initial mass-energy residual equation to obtain a target revision term and an initial pressure matrix; determining a target pressure matrix according to the velocity-pressure relationship, the target revision term and the initial pressure matrix; and solving the target pressure matrix to obtain target parameters.

[0007] The coupling device of the thermal-hydraulic model based on the Newton-Raphson solver proposed in the second aspect of the embodiment of the present disclosure includes: a first determination module, used to determine the target discrete momentum equation and the target discrete mass-energy equation of the control body in the thermal-hydraulic model; a construction module, used to transform the target discrete momentum equation according to the solution characteristics of the Newton-Raphson solver to construct the velocity-pressure relationship between the nodes at the coupling; a first processing module, used to transform the target discrete mass-energy equation to form an initial mass-energy residual equation at the coupling node; a second processing module, used to target process the initial mass-energy residual equation to obtain target revision terms and an initial pressure matrix; a second determination module, used to determine the target pressure matrix according to the velocity-pressure relationship, the target revision terms and the initial pressure matrix; an acquisition module, used to solve the target pressure matrix to obtain target parameters.

[0008] The coupling device of the thermal-hydraulic model based on the Newton-Raphson solver proposed in the second aspect of the embodiment of the present disclosure determines the target discrete momentum equation and the target discrete mass-energy equation of the control body in the thermal-hydraulic model, and transforms the target discrete momentum equation according to the solving characteristics of the Newton-Raphson solver to construct the velocity-pressure relationship between the nodes at the coupling, and transforms the target discrete mass-energy equation to form an initial mass-energy residual equation at the coupling node, and performs target processing on the initial mass-energy residual equation to obtain target revision items and an initial pressure matrix, and then determines the target pressure matrix according to the velocity-pressure relationship, the target revision items and the initial pressure matrix; solves the target pressure matrix to obtain target parameters. Through the present disclosure, the transient response of the reactor core and the main loop of a real nuclear power plant can be correctly calculated, and the target parameters of the flow field and temperature field distribution in the precise pressure vessel can be given.

[0009] The third aspect of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver proposed in the first aspect of the present disclosure is implemented.

[0010] The fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver as proposed in the first aspect embodiment of the present disclosure.

[0011] The fifth aspect embodiment of the present disclosure proposes a computer program product. When the instruction processor in the computer program product executes, it executes the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver proposed in the first aspect embodiment of the present disclosure.

[0012] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0014] Figure 1 It is a flow chart of a coupling method of a thermal hydraulic model based on a Newton-Raphson solver proposed in one embodiment of the present disclosure;

[0015] Figure 2 is a schematic diagram of a thermal hydraulic model proposed in an embodiment of the present disclosure;

[0016] Figure 3 It is a structural schematic diagram of a coupling device of a thermal hydraulic model based on a Newton-Raphson solver proposed in an embodiment of the present disclosure;

[0017] Figure 4 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0018] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and are not to be construed as limitations of the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and connotation of the appended claims.

[0019] Figure 1 It is a flow chart of a coupling method of a thermal-hydraulic model based on a Newton-Raphson solver proposed in one embodiment of the present disclosure.

[0020] It should be noted that the executor of the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver in this embodiment is a coupling device of the thermal-hydraulic model based on the Newton-Raphson solver, which can be implemented by software and / or hardware, and can be configured in an electronic device, which may include but is not limited to a terminal, a server, etc.

[0021] like Figure 1 As shown, the coupling method of the thermal hydraulic model based on the Newton-Raphson solver includes:

[0022] S101: Determine the target discrete momentum equation and target discrete mass-energy equation of the control volume in the thermal-hydraulic model.

[0023] In the embodiment of the present disclosure, the thermal hydraulic model may include a one-dimensional calculation module and a three-dimensional calculation module. The thermal hydraulic model may be Figure 2 As shown, Figure 2 is a schematic diagram of a thermal hydraulic model proposed in an embodiment of the present disclosure, defining the control body of the one-dimensional calculation module as Oi, the control body of the three-dimensional calculation module as Ti, and the control body between the two as Figure 2 Shown as dotted box.

[0024] Among them, the one-dimensional node is perpendicular to the coupling interface. When the flow goes from three-dimensional to one-dimensional at the coupling point, the droplets and the liquid phase are merged into the one-dimensional liquid phase, and when the flow goes from one-dimensional to three-dimensional, the liquid phase enters the three-dimensional liquid phase. The initial state, combined variables, and boundary information exchanged at each step that need to be set in the respective solvers of the one-dimensional calculation module and the three-dimensional calculation module can be initialized and updated to obtain the initial parameters of the thermal-hydraulic model. Then, based on the initial parameters of the thermal-hydraulic model, the target discrete momentum equation and target discrete mass-energy equation of the control volume in the thermal-hydraulic model can be determined.

[0025] S102: According to the solving characteristics of the Newton-Raphson solver, the target discrete momentum equation is transformed to construct the velocity-pressure relationship between the nodes at the coupling point.

[0026] Optionally, in some embodiments, the target discrete momentum equation is transformed according to the solving characteristics of the Newton-Raphson solver to construct the velocity-pressure relationship between the nodes at the coupling point, and the target discrete momentum equation of the control volume in the thermal hydraulic model can be determined according to the initial parameters;

[0027] The target discrete momentum equation is transformed to determine the velocity-pressure relationship, where the velocity-pressure relationship is as follows:

[0028]

[0029] Among them, u n+1 represents the velocity of the control body, p represents the pressure of the control body, C′ pm ,C′ pp , C′ is a constant coefficient vector, the subscripts im and ip represent the upstream and downstream velocities respectively, and the superscript n+1 represents the new time step.

[0030] For each phase k, through transformation:

[0031]

[0032] The pressure change δp n+1 =p n+1 -p n ,coefficient:

[0033] γ k,i =C′ 0,k

[0034] β k,i =C′ pm,k .

[0035] χ k,i =C′ pp,k

[0036] S103: Transform the target discrete mass-energy equation to form an initial mass-energy residual equation at the coupling node.

[0037] The initial mass-energy residual equation is as follows:

[0038] Jδy w =-ε 0

[0039] =-(ε w -J wg (J gg ) -1 ε g );

[0040] Among them, y w =[α g p nc α g α g h v (1-α g )h f p] T is the non-condensable gas solution vector, the main variables p, α, and h represent the pressure, cavitation fraction, and specific enthalpy of the control volume, respectively, the subscripts g, f, and nc represent the gas phase, liquid phase, and non-condensable gas, respectively, the superscript T represents the matrix transpose, and J wg , J gg is the liquid-gas and gas-gas local part in the Jacobian matrix J, εg , ε w Represents the non-condensable gas part and the non-condensable gas part of the residual.

[0041] S104: Target processing is performed on the initial mass-energy residual equation to obtain target revision terms and an initial pressure matrix.

[0042] Optionally, in some embodiments, the initial mass-energy residual equation is subjected to target processing to obtain a target revision term, and the initial mass-energy residual equation may be subjected to implicit processing to obtain a target revision term.

[0043] Optionally, in some embodiments, the initial mass-energy residual equation is implicitly processed to obtain the target revision term, which can be the initial mass-energy residual ε of the non-condensable gas g Revised to:

[0044]

[0045] Where, the subscript ncNC is the number of non-condensable gas species, and the coefficient D T g i,j The values ​​are:

[0046]

[0047] Among them, the subscript i ranges from 1 to the number of three-dimensional boundaries Nbound, the subscript j ranges from 1 to ncNC, the subscripts O and T represent one and three dimensions respectively, and ξ CV,jun When the direction of the outer surface of the main control body is the same as the positive direction of the velocity on the surface interface, the value is 1, otherwise it is -1. The variables ρ, α, and A represent the density, cavitation fraction, and flow area of ​​the control body, respectively.

[0048] The residual ε of the mass-energy equation of non-condensable gas w Revised to

[0049]

[0050]

[0051] in and is a constant coefficient, ε p , ε c,l , ε c,g , ε e,l , ε e,g are the residuals of the five equations of non-condensable gas, liquid mass, gas mass, liquid energy, and gas energy. 0 have:

[0052]

[0053] Among them, J wg , J gg is the local Jacobian matrix, and F is the constant coefficient matrix.

[0054] Optionally, in some embodiments, the initial mass-energy residual equation is subjected to target processing to obtain a target revision term, and the initial mass-energy residual equation may be subjected to explicit processing to obtain a target revision term.

[0055] Optionally, in some embodiments, the initial mass-energy residual equation is explicitly processed to obtain the target revision term, which can be the initial mass-energy residual ε of the non-condensable gas g Revised to:

[0056]

[0057] The superscript n represents the previous time step.

[0058] The residual ε of the mass-energy equation of non-condensable gas w Revised to

[0059]

[0060]

[0061] Among them, the coefficient and The middle speed is the known speed u at the previous moment. n ,coefficient The values ​​are:

[0062] The revised ε 0 have:

[0063]

[0064] S105: Determine a target pressure matrix according to the velocity-pressure relationship, the target revision item, and the initial pressure matrix.

[0065] Optionally, in some embodiments, the initial mass-energy residual equation at the coupling is implicitly processed, and the velocity-pressure relationship is substituted into it, and the revised target revision term can be organized as follows:

[0066]

[0067] in,

[0068]

[0069] Vector coefficients:

[0070]

[0071] Substitute into the combined initial mass-energy residual equation:

[0072]

[0073] Among them, y w =[α g p nc α g α g h v (1-α g )h f p] T is the solution vector of non-condensable gas. Perform elimination transformation on the matrix, in:

[0074]

[0075] The subscript Njun represents the number of all other mass-energy control bodies connected to the current mass-energy control body. Taking the last row, we can get the pressure equation on the one-dimensional boundary main control body:

[0076]

[0077] The right side Shifting the terms to the left gives:

[0078]

[0079] The pressure equations of all boundary main control volumes and the pressure equations of the remaining non-boundary main control volumes are combined to form the target pressure matrix:

[0080] A P δp=B P -R′ P δp T

[0081] Among them, A P , B P , R′ P is the coefficient matrix, δp T =[δp T1 δp T2 ...δp TNbound ] T , Nbound is the number of three-dimensional boundaries.

[0082] Optionally, in some embodiments, the initial mass-energy residual equation at the coupling is explicitly processed, and the velocity-pressure relationship is substituted into it, then the revised target revision term can be calculated as a known vector:

[0083]

[0084] Substitute into the combined initial mass-energy residual equation:

[0085]

[0086] Among them, y w =[α g p nc α g α g h v (1-α g )h f p] T is the solution vector of non-condensable gas. Perform elimination transformation on the matrix, in:

[0087]

[0088] The subscript Njun represents the number of all other mass-energy control bodies connected to the current mass-energy control body. Taking the last row, we can get the pressure equation on the one-dimensional boundary main control body:

[0089]

[0090] The pressure equations of all boundary main control volumes and the pressure equations of the remaining non-boundary main control volumes are combined to form the target pressure matrix:

[0091] A P δp=B P ;

[0092] Among them A P , B P is the coefficient matrix.

[0093] S106: Solve the target pressure matrix to obtain target parameters.

[0094] In the disclosed embodiment, the target pressure matrix may be transformed.

[0095] Optionally, in some embodiments, the initial mass-energy residual equation at the coupling is implicitly processed, and the left and right sides of the target pressure matrix are multiplied by the inverse of the target pressure matrix, and then:

[0096]

[0097] For a specific boundary control volume, we have

[0098]

[0099] The coefficients are:

[0100]

[0101] Then, this relationship is passed to the coupled partner, and the solvable pressure matrix of the partner is established and solved. The upper triangular mass-energy conservation residual matrix that has been eliminated on each mass-energy control body is back-substituted to solve the target parameter: α g p nc1 , …, α g p ncNC , α g p nc , α g h v , (1-α g )h f , α g , δp=A P -1 B P -A P -1 R′ P δp T , after the other party solves it, it then solves its own pressure matrix and performs back substitution.

[0102] Optionally, in some embodiments, the initial mass-energy residual equation at the coupling is explicitly processed, and the pressure matrices of the two coupling parties only contain their own unknown pressure variables, which can be solved and back-substituted separately. In the embodiment of the present disclosure, by determining the target discrete momentum equation and the target discrete mass-energy equation of the control body in the thermal-hydraulic model, and according to the solution characteristics of the Newton-Raphson solver, the target discrete momentum equation is transformed to construct the velocity-pressure relationship between the nodes at the coupling; the target discrete mass-energy equation is transformed to form the initial mass-energy residual equation at the coupling node; the initial mass-energy residual equation is targeted to obtain the target revision item and the initial pressure matrix; the target pressure matrix is ​​determined according to the velocity-pressure relationship, the target revision item and the initial pressure matrix; the target pressure matrix is ​​solved to obtain the target parameters. Through the present disclosure, the transient response of the reactor core and the main loop of the real nuclear power plant can be correctly calculated, and the target parameters of the flow field and temperature field distribution in the pressure vessel can be given.

[0103] Figure 3 It is a structural schematic diagram of a coupling device of a thermal-hydraulic model based on a Newton-Raphson solver proposed in one embodiment of the present disclosure.

[0104] like Figure 3 As shown, the coupling device 30 of the thermal hydraulic model based on the Newton-Raphson solver includes:

[0105] The first determination module 301 is used to determine the target discrete momentum equation and the target discrete mass-energy equation of the control volume in the thermal hydraulic model;

[0106] A construction module 302 is used to transform the target discrete momentum equation according to the solving characteristics of the Newton-Raphson solver to construct the velocity-pressure relationship between the nodes at the coupling location;

[0107] The first processing module 303 is used to transform the target discrete mass-energy equation to form an initial mass-energy residual equation at the coupling node;

[0108] The second processing module 304 is used to perform target processing on the initial mass-energy residual equation to obtain a target revision term and an initial pressure matrix;

[0109] A second determination module 305 is used to determine a target pressure matrix according to the speed-pressure relationship, the target revision item and the initial pressure matrix;

[0110] The acquisition module 306 is used to solve the target pressure matrix to obtain target parameters.

[0111] In some embodiments of the present disclosure, both coupling parties use a Newton-Raphson solver;

[0112] Among them, according to the solving characteristics of the Newton-Raphson solver, the target discrete momentum equation is transformed to construct the velocity-pressure relationship between the nodes at the coupling point, including:

[0113] According to the initial parameters, the target discrete momentum equation of the control volume in the thermal hydraulic model is determined;

[0114] The target discrete momentum equation is transformed to determine the velocity-pressure relationship, where the velocity-pressure relationship is as follows:

[0115]

[0116] Among them, u n+1 represents the velocity of the control body, p represents the pressure of the control body, C′ pm ,C′ pp , C′ is a constant coefficient vector, the subscripts im and ip represent the upstream and downstream velocities respectively, and the superscript n+1 represents the new time step.

[0117] In some embodiments of the present disclosure, the initial mass-energy residual equation is as follows:

[0118] Jδy w =-ε 0

[0119] =-(ε w -J wg (J gg ) -1 ε g ),

[0120] Among them, y w =[α g p nc α g α g h v (1-α g )h f p] T is the non-condensable gas solution vector, the main variables p, α, and h represent the pressure, cavitation fraction, and specific enthalpy of the control volume, respectively, the subscripts g, f, and nc represent the gas phase, liquid phase, and non-condensable gas, respectively, the superscript T represents the matrix transpose, and J wg , J gg is the liquid-gas and gas-gas local part in the Jacobian matrix J, ε g , ε w Represents the non-condensable gas part and the non-condensable gas part of the residual.

[0121] In some embodiments of the present disclosure, the second processing module 304 is further configured to:

[0122] implicitly treat the initial mass-energy residual equation to obtain the target revision term; or

[0123] The initial mass-energy residual equation is explicitly treated to obtain the target revision term.

[0124] In some embodiments of the present disclosure, the second processing module 304 is further configured to:

[0125] The residual ε of the initial mass-energy equation of the non-condensable gas g Revised to:

[0126]

[0127] The subscript ncNC is the number of non-condensable gas species, and the coefficient The values ​​are:

[0128] The subscript i ranges from 1 to the number of three-dimensional boundaries Nbound, the subscript j ranges from 1 to ncNC, the subscripts O and T represent one and three dimensions respectively, and ξ CV,jun The value is 1 when the direction of the outer surface of the main control body is the same as the positive direction of the velocity on the surface interface, otherwise it is -1. The variables ρ, α, and A represent the density, cavitation fraction, and flow area of ​​the control body, respectively;

[0129] The residual ε of the mass-energy equation of non-condensable gas w Revised to

[0130]

[0131] in, and is a constant coefficient, ε p , ε c,l , ε c,g , ε e,l , ε e,g are the residuals of the five equations of non-condensable gas, liquid mass, gas mass, liquid energy, and gas energy. 0 have:

[0132]

[0133]

[0134] Among them J wg , J gg is the local Jacobian matrix, and F is the constant coefficient matrix.

[0135] In some embodiments of the present disclosure, the second processing module 304 is further configured to:

[0136] The residual ε of the initial mass-energy equation of the non-condensable gas g Revised to:

[0137] The superscript n represents the previous time step.

[0138] The residual ε of the mass-energy equation of non-condensable gas w Revised to

[0139]

[0140] The coefficient and The middle speed is the known speed u at the previous moment. n ,coefficient The values ​​are:

[0141] The revised ε 0 have:

[0142]

[0143] In some embodiments of the present disclosure, the target pressure matrix under implicit processing of the mass-energy equation at the coupling is as follows:

[0144] A P δp=B P -R′ P δp T ;

[0145] In some embodiments of the present disclosure, the target pressure matrix under explicit processing of the mass-energy equation at the coupling is as follows:

[0146] A P δp=B P ;

[0147] Among them A P , B P , R′ P is the coefficient matrix, δp T =[δp T1 δp T2 …δp TNbound ] T , Nbound is the number of three-dimensional boundaries.

[0148] With the above Figure 1 to Figure 2 Corresponding to the coupling method of the thermal hydraulic model based on the Newton-Raphson solver provided in the embodiment, the present disclosure also provides a coupling device of the thermal hydraulic model based on the Newton-Raphson solver. Figure 1 to Figure 2 The coupling method of the thermal-hydraulic model based on the Newton-Raphson solver provided in the embodiment corresponds to the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver. Therefore, the implementation method of the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver is also applicable to the coupling device of the thermal-hydraulic model based on the Newton-Raphson solver provided in the embodiment of the present disclosure, and will not be described in detail in the embodiment of the present disclosure.

[0149] In this embodiment, the target discrete momentum equation and the target discrete mass-energy equation of the control body in the thermal-hydraulic model are determined, and the target discrete momentum equation is transformed according to the solving characteristics of the Newton-Raphson solver to construct the velocity-pressure relationship between the nodes at the coupling point; the target discrete mass-energy equation is transformed to form an initial mass-energy residual equation at the coupling node; the initial mass-energy residual equation is subjected to target processing to obtain target revision items and an initial pressure matrix; the target pressure matrix is ​​determined according to the velocity-pressure relationship, the target revision items and the initial pressure matrix; the target pressure matrix is ​​solved to obtain target parameters. Through the present disclosure, the transient response of the reactor core and the main loop of a real nuclear power plant can be correctly calculated, and the target parameters of the flow field and the temperature field distribution in the precise pressure vessel can be given.

[0150] In order to implement the above embodiments, the present disclosure further proposes an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver proposed in the above embodiments of the present disclosure is implemented.

[0151] In order to implement the above embodiments, the present disclosure also proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it implements the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver as proposed in the aforementioned embodiments of the present disclosure.

[0152] In order to implement the above embodiments, the present disclosure further proposes a computer program product. When the instruction processor in the computer program product executes, the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver proposed in the above embodiments of the present disclosure is executed.

[0153] Figure 4 A block diagram of an exemplary electronic device suitable for implementing embodiments of the present disclosure is shown. Figure 4 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0154] like Figure 4 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0155] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.

[0156] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0157] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 Not shown, often called a "hard drive").

[0158] although Figure 4 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (hereinafter referred to as: CD-ROM), a digital versatile disc read only memory (hereinafter referred to as: DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0159] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0160] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 12, and / or communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 through a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0161] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the coupling method of the thermal-hydraulic model based on the Newton-Raphson solver mentioned in the above-mentioned embodiment.

[0162] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0163] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

[0164] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.

[0165] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0166] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0167] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0168] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0169] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0170] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0171] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A coupling method for a thermal hydraulic model based on a Newton-Raphson solver, characterized in that: include: Determine the target discrete momentum equation and target discrete mass-energy equation of the control volume in the thermal hydraulic model; According to the solving characteristics of the Newton-Raphson solver, the target discrete momentum equation is transformed to construct the velocity-pressure relationship between the nodes at the coupling point; Transforming the target discrete mass-energy equation to form an initial mass-energy residual equation at a coupling node; Performing target processing on the initial mass-energy residual equation to obtain a target revision term and an initial pressure matrix; Determining a target pressure matrix according to the velocity-pressure relationship, the target revision term and the initial pressure matrix; Solving the target pressure matrix to obtain target parameters; The initial mass-energy residual equation is shown as follows: Jdy w =-e 0 =-(e w -J wg (J gg ) -1 e g ), Among them, y w =[α g p nc α g α g h v (1-α g )h f p] T is the non-condensable gas solution vector, the main variables p, α, and h represent the pressure, cavitation fraction, and specific enthalpy of the control volume, respectively, the subscripts g, f, and nc represent the gas phase, liquid phase, and non-condensable gas, respectively, the superscript T represents the matrix transpose, and J wg , J gg is the liquid-gas local and gas-gas local in the Jacobian matrix J, ε g , ε w Represents the non-condensable gas part and the non-condensable gas part of the residual; The initial mass-energy residual equation is implicitly processed to obtain the target revision term, which includes: The residual ε of the initial mass-energy equation of the non-condensable gas g Revised to: Among them, the subscripts ncNC and g represent the number of non-condensable gas species and gas phase, respectively, the superscript n+1 represents the new time step, u represents the velocity, and the coefficient The values ​​are: Among them, the subscript i ranges from 1 to the number of three-dimensional boundaries Nbound, the subscript j ranges from 1 to ncNC, the subscripts O and T represent one and three dimensions respectively, and ξ CV,jun When the direction on the outer surface of the main control body is the same as the positive direction of the velocity on the outer surface of the main control body, the value is 1, otherwise it is -1, the variable ρ represents the density of the control body, α represents the cavitation fraction of the control body, and A represents the flow area of ​​the control body; The residual ε of the initial mass-energy equation of the non-condensable gas w Revised to in, and is a constant coefficient, ε p , ε c,l , ε c,g , ε e,l , ε e,g The residuals of the five equations are respectively non-condensable gas, liquid mass, gas mass, liquid energy, and gas energy. 0 have: Where F is a constant coefficient matrix.

2. The method according to claim 1, characterized in that A Newton-Raphson solver is used on both coupling sides; The target discrete momentum equation is transformed according to the solving characteristics of the Newton-Raphson solver to construct the velocity-pressure relationship between the nodes at the coupling point, including: The target discrete momentum equation is transformed to determine the velocity-pressure relationship, wherein the velocity-pressure relationship is as shown in the following formula: Among them, u n+1 represents the velocity of the control body, p represents the pressure of the control body, C′ pm ,C′ pp , C′ is a constant coefficient vector, the subscripts im and ip represent the upstream and downstream velocities respectively, and the superscript n+1 represents the new time step.

3. The method according to claim 2, characterized in that The target processing of the initial mass-energy residual equation to obtain a target revision term includes: The initial mass-energy residual equation is explicitly processed to obtain the target revision term.

4. The method according to claim 1, characterized in that The explicitly processing the initial mass-energy residual equation to obtain the target revision term includes: The residual ε of the initial mass-energy equation of the non-condensable gas g Revised to: The superscript n represents the previous time step, The residual ε of the initial mass-energy equation of the non-condensable gas w Revised to The coefficient and The middle speed is the known speed u at the previous moment. n ,coefficient The values ​​are: The revised ε 0 have:

5. The method of claim 1, wherein: The initial mass-energy residual equation is implicitly processed, and the target pressure matrix is ​​shown as follows: A P δp=B P -R′ P δp T ; The initial mass-energy residual equation is explicitly processed, and the target pressure matrix is ​​shown as follows: A P δp=B P ; Among them A P , B P , R′ P is the coefficient matrix, δp T =[δp T1 δp T2 ... δp TNbound ] T , Nbound is the number of three-dimensional boundaries.

6. A coupling device for a thermal hydraulic model based on a Newton-Raphson solver, characterized in that: include: The first determination module is used to determine the target discrete momentum equation and the target discrete mass-energy equation of the control volume in the thermal hydraulic model; A construction module is used to transform the target discrete momentum equation according to the solving characteristics of the Newton-Raphson solver to construct a velocity-pressure relationship between the nodes at the coupling location; A first processing module is used to transform the target discrete mass-energy equation to form an initial mass-energy residual equation at a coupling node; A second processing module is used to perform target processing on the initial mass-energy residual equation to obtain a target revision term and an initial pressure matrix; A second determination module is used to determine a target pressure matrix according to the speed-pressure relationship, the target revision item and the initial pressure matrix; An acquisition module, used for solving the target pressure matrix to obtain target parameters; Wherein, the initial mass-energy residual equation is as follows: Jdy w =-e 0 =-(e w -J wg (J gg ) -1 e g ), Among them, y w =[α g p nc α g α g h v (1-α g )h f p] T is the non-condensable gas solution vector, the main variables p, α, and h represent the pressure, cavitation fraction, and specific enthalpy of the control volume, respectively, the subscripts g, f, and nc represent the gas phase, liquid phase, and non-condensable gas, respectively, the superscript T represents the matrix transpose, and J wg , J gg is the liquid-gas local and gas-gas local in the Jacobian matrix J, ε g , ε w Represents the non-condensable gas part and the non-condensable gas part of the residual; The second processing module is further used to perform implicit processing on the initial mass-energy residual equation to obtain the target revision term, which includes: The residual ε of the initial mass-energy equation of the non-condensable gas g Revised to: Among them, the subscripts ncNC and g represent the number of non-condensable gas species and gas phase, respectively, the superscript n+1 represents the new time step, u represents the velocity, and the coefficient The values ​​are: Among them, the subscript i ranges from 1 to the number of three-dimensional boundaries Nbound, the subscript j ranges from 1 to ncNC, the subscripts O and T represent one and three dimensions respectively, and ξ CV,jun When the direction on the outer surface of the main control body is the same as the positive direction of the velocity on the outer surface of the main control body, the value is 1, otherwise it is -1, the variable ρ represents the density of the control body, α represents the cavitation fraction of the control body, and A represents the flow area of ​​the control body; The residual ε of the initial mass-energy equation of the non-condensable gas w Revised to in, and is a constant coefficient, ε p , ε c,l , ε c,g , ε e,l , ε e,g The residuals of the five equations are respectively non-condensable gas, liquid mass, gas mass, liquid energy, and gas energy. 0 have: Where F is a constant coefficient matrix.

7. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

8. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 5.