CN116579205A - A Calculation Method of PWR Nuclear-Heat Coupling - Google Patents
A Calculation Method of PWR Nuclear-Heat Coupling Download PDFInfo
- Publication number
- CN116579205A CN116579205A CN202310486446.9A CN202310486446A CN116579205A CN 116579205 A CN116579205 A CN 116579205A CN 202310486446 A CN202310486446 A CN 202310486446A CN 116579205 A CN116579205 A CN 116579205A
- Authority
- CN
- China
- Prior art keywords
- grid
- phase
- residual
- equations
- equation set
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000010168 coupling process Methods 0.000 title claims abstract description 43
- 230000008878 coupling Effects 0.000 title claims abstract description 41
- 238000005859 coupling reaction Methods 0.000 title claims abstract description 41
- 238000004364 calculation method Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 claims abstract description 94
- 239000011159 matrix material Substances 0.000 claims abstract description 49
- 238000007781 pre-processing Methods 0.000 claims abstract description 36
- 230000008569 process Effects 0.000 claims abstract description 35
- 238000004088 simulation Methods 0.000 claims abstract description 27
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 17
- 238000009792 diffusion process Methods 0.000 claims abstract description 15
- 239000012071 phase Substances 0.000 claims description 74
- 239000007791 liquid phase Substances 0.000 claims description 62
- 239000012808 vapor phase Substances 0.000 claims description 60
- 239000013598 vector Substances 0.000 claims description 41
- 230000004907 flux Effects 0.000 claims description 27
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 230000004992 fission Effects 0.000 claims description 13
- 230000003111 delayed effect Effects 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 6
- 239000007788 liquid Substances 0.000 claims description 6
- 239000002243 precursor Substances 0.000 claims description 6
- 238000011144 upstream manufacturing Methods 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 4
- 238000010521 absorption reaction Methods 0.000 claims description 3
- 230000000593 degrading effect Effects 0.000 claims 2
- 238000004519 manufacturing process Methods 0.000 claims 1
- 238000012546 transfer Methods 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 239000012530 fluid Substances 0.000 description 3
- 230000001052 transient effect Effects 0.000 description 3
- 238000000354 decomposition reaction Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000446 fuel Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000009834 vaporization Methods 0.000 description 2
- 230000008016 vaporization Effects 0.000 description 2
- ZOXJGFHDIHLPTG-UHFFFAOYSA-N Boron Chemical compound [B] ZOXJGFHDIHLPTG-UHFFFAOYSA-N 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 229910052796 boron Inorganic materials 0.000 description 1
- 239000002826 coolant Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 230000001575 pathological effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
- G06F17/12—Simultaneous equations, e.g. systems of linear equations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/28—Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
-
- G—PHYSICS
- G21—NUCLEAR PHYSICS; NUCLEAR ENGINEERING
- G21D—NUCLEAR POWER PLANT
- G21D3/00—Control of nuclear power plant
- G21D3/001—Computer implemented control
- G21D3/002—Core design; core simulations; core optimisation
-
- G—PHYSICS
- G21—NUCLEAR PHYSICS; NUCLEAR ENGINEERING
- G21D—NUCLEAR POWER PLANT
- G21D3/00—Control of nuclear power plant
- G21D3/001—Computer implemented control
- G21D3/005—Thermo-hydraulic simulations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/08—Fluids
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/08—Thermal analysis or thermal optimisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E30/00—Energy generation of nuclear origin
- Y02E30/30—Nuclear fission reactors
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Data Mining & Analysis (AREA)
- High Energy & Nuclear Physics (AREA)
- Algebra (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- Computer Hardware Design (AREA)
- Plasma & Fusion (AREA)
- Operations Research (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Fluid Mechanics (AREA)
- Computing Systems (AREA)
- Monitoring And Testing Of Nuclear Reactors (AREA)
Abstract
本发明公开一种压水堆核热耦合的计算方法,方案可以包括:建立待分析的压水堆堆芯的中子扩散方程组和热工水利方程组,将所述中子扩散方程组和所述热工水利方程组进行耦合,得到核热耦合方程组;动态调整预处理矩阵及残差方程组格式;动态更新预处理矩阵及残差方程组;结合预处理矩阵的JFNK求解核热耦合残差方程组;判断JFNK求解收敛性并调节仿真步长;判断仿真过程是否结束。
The invention discloses a calculation method for nuclear thermal coupling of a pressurized water reactor. The scheme may include: establishing a neutron diffusion equation group and a thermal hydraulic equation group of the pressurized water reactor core to be analyzed, and combining the neutron diffusion equation group and The thermal hydraulic equations are coupled to obtain the nuclear thermal coupling equations; the format of the preprocessing matrix and the residual equations is dynamically adjusted; the preprocessing matrix and the residual equations are dynamically updated; the JFNK combined with the preprocessing matrix is used to solve the nuclear thermal coupling Residual equations; judging the convergence of JFNK solution and adjusting the simulation step size; judging whether the simulation process is over.
Description
技术领域technical field
本发明涉及核反应堆堆芯技术领域,具体而言,涉及一种压水堆核热耦合的计算方法。The invention relates to the technical field of nuclear reactor cores, in particular to a calculation method for nuclear-thermal coupling of a pressurized water reactor.
背景技术Background technique
反应核热耦合技术能够将反应堆中复杂的中子扩散方程组和热工水利方程组联立,以完成对堆芯中子和热工水力等物理场的仿真。当前,传统的耦合技术主要是通过算符分解(Operator Splitting,OS)方法或Picard迭代方法。OS方法将中子扩散方程组模块和热工水利方程组模块分别求解后的部分解作为对方边界条件的新估计,在每个时间步内交替计算直到仿真结束。该方法由于在瞬态计算中各物理场参数的更新存在滞后,要求耦合时间步长较小,否则将引起较大误差。而Picard迭代方法在每个时间步内,要求中子扩散方程组和热工水力方程组迭代收敛后,再推进下一个时间步。Picard迭代方法是一种支持全隐式耦合的方法,能够确保每个时间步内完成收敛,可以适当增大时间步长,但是存在计算速度慢、计算稳定性较弱的问题。Reactor-nuclear-thermal coupling technology can combine the complex neutron diffusion equations and thermal-hydraulic equations in the reactor to complete the simulation of core neutrons, thermal-hydraulic and other physical fields. Currently, the traditional coupling technology is mainly through the Operator Splitting (OS) method or the Picard iteration method. In the OS method, the partial solutions of the neutron diffusion equation module and the thermal-hydraulic equation module are used as new estimates of the boundary conditions of the other side, and are alternately calculated in each time step until the end of the simulation. Due to the lag in updating the physical field parameters in the transient calculation, this method requires a small coupling time step, otherwise it will cause a large error. The Picard iterative method requires neutron diffusion equations and thermal-hydraulic equations to iteratively converge in each time step before advancing to the next time step. The Picard iterative method is a method that supports full implicit coupling, which can ensure that the convergence is completed within each time step, and the time step size can be increased appropriately, but there are problems of slow calculation speed and weak calculation stability.
无雅可比克雷洛夫子空间方法(Jacobian-Free Newton–Krylov,JFNK)方法是一种强耦合算法,其将待耦合的扩散方程组和热工水利方程组置于大型矩阵中统一求解,以保证迭代求解过程中参数的统一更新,从而提高收敛速度并减小迭代误差。一般而言,JFNK方法相较于传统的算符分解法或Picard迭代法,具有更快的收敛速度、更高的收敛精度、更好的计算稳定性。因此,采用JFNK方法有利于提高压水堆核热耦合仿真的计算效率。但是在瞬态仿真中,压水堆冷却剂相变时,若统一使用两相流体方程兼容单相流体方程,则可能会出现病态,甚至退化为不定方程组而造成失真的现象。而如果在出现相变时,根据具体情况列出相应方程,再联立求解可以解决病态方程组和不定方程组的问题。但是JFNK方法本身在大型矩阵联立求解时,其计算流程较为复杂,且扩展能力不强。当物理场方程组数目和格式均发生变化时,使得整个待解矩阵发生变化,对JFNK算法而言是一项挑战。因此,如何利用JFNK方法稳定高效地求解压水堆两相核热耦合是一个待解决的技术问题。The Jacobian-Free Newton–Krylov (JFNK) method is a strong coupling algorithm, which puts the diffusion equations and thermal hydraulic equations to be coupled in a large matrix for unified solution, so as to Guarantee the unified update of parameters during the iterative solution process, thereby improving the convergence speed and reducing the iterative error. Generally speaking, compared with the traditional operator decomposition method or Picard iteration method, the JFNK method has faster convergence speed, higher convergence accuracy, and better calculation stability. Therefore, the use of JFNK method is beneficial to improve the calculation efficiency of nuclear thermal coupling simulation of PWR. However, in the transient simulation, when the PWR coolant phase changes, if the two-phase fluid equation is used to be compatible with the single-phase fluid equation, it may appear ill-conditioned, or even degenerate into an indeterminate equation system, resulting in distortion. However, if the phase transition occurs, the corresponding equations are listed according to the specific situation, and then the simultaneous solution can solve the problems of ill-conditioned equations and indeterminate equations. However, when the JFNK method itself solves large-scale matrices simultaneously, its calculation process is relatively complicated, and its expansion ability is not strong. When the number and format of the physical field equations change, the entire matrix to be solved will change, which is a challenge for the JFNK algorithm. Therefore, how to use the JFNK method to solve the two-phase nuclear thermal coupling of the PWR stably and efficiently is a technical problem to be solved.
发明内容Contents of the invention
本发明提供一种压水堆核热耦合的计算方法,用以克服现有技术中存在的至少一个技术问题。The invention provides a calculation method for nuclear heat coupling of a pressurized water reactor, which is used to overcome at least one technical problem existing in the prior art.
本发明实施例提供一种压水堆核热耦合的计算方法,包括:An embodiment of the present invention provides a calculation method for nuclear thermal coupling of a pressurized water reactor, including:
步骤S1、建立待分析的压水堆堆芯的中子扩散方程组和热工水利方程组,将所述中子扩散方程组和所述热工水利方程组进行耦合,得到核热耦合方程组;利用扩展节块法对所述中子扩散方程组进行离散化处理,得到第一网格集和,以及利用子通道法对所述热工水利方程组进行离散化处理,得到第二网格集和;建立所述第一网格集和所述第二网格集和之间的映射关系;所述第一网格集和和所述第二网格集和基于对所述压水堆堆芯采用相同的网格划分方式而得到;Step S1, establishing the neutron diffusion equation group and the thermal hydraulic equation group of the pressurized water reactor core to be analyzed, coupling the neutron diffusion equation group and the thermal hydraulic equation group to obtain the nuclear thermal coupling equation group ; Using the extended node method to discretize the neutron diffusion equations to obtain the first grid set sum, and using the sub-channel method to discretize the thermal and hydraulic equations to obtain the second grid set and; establish the mapping relationship between the first grid set and the second grid set; the first grid set and the second grid set are based on the PWR The core is obtained by using the same grid division method;
根据所述压水堆堆芯的物理场的边界条件和初始条件,初始化所述堆芯的物理场的参数,利用少群截面库初始化包括输运截面、散射截面、吸收截面、裂变截面、中子产生截面等反应截面在内的物理量;According to the boundary conditions and initial conditions of the physical field of the pressurized water reactor core, initialize the parameters of the physical field of the core, and utilize the few-group cross-section library initialization to include transport cross-section, scattering cross-section, absorption cross-section, fission cross-section, middle The physical quantity including the reaction cross section such as sub-generation cross section;
根据下述公式计算初始的时间步长,计算公式如下:The initial time step is calculated according to the following formula, which is calculated as follows:
其中,符号Δt表示允许的最大时间步长;符号Δxi表示单元网格尺寸,单位为m;符号Ui表示单元网格中的最大速度,单位为m/s;符号η表示大于0经验系数;Among them, the symbol Δt represents the maximum allowable time step; the symbol Δxi represents the unit grid size, the unit is m; the symbol U i represents the maximum velocity in the unit grid, the unit is m/s; the symbol η represents the empirical coefficient greater than 0 ;
步骤S2、动态调整预处理矩阵及残差方程组格式,具体包括:Step S2, dynamically adjust the format of the preprocessing matrix and residual equations, specifically including:
步骤S21、读取相对于待分析时刻的上一时刻的各物理参数,计算出过程参数,将所述过程参数存入计算机内存;Step S21, read the physical parameters at the previous moment relative to the moment to be analyzed, calculate the process parameters, and store the process parameters in the computer memory;
步骤S22、判断所述第一网格集和和所述第二网格集和中各个网格的相态,对于其中的第一任意一个网格,若所述第一任意一个网格为液相,则该网格对应的两相残差方程组退化为液相残差方程组,对应的待解向量中汽相物理量删除;若所述第一任意一个网格为汽相,则该网格对应的两相残差方程组退化为汽相残差方程组,对应的待解向量中液相物理量删除;若所述第一任意一个网格为两相,则两相残差方程组和待解向量不变;遍历所述第一网格集和和所述第二网格集和中所有网格的相态参数,统计待解方程和待解物理量的数目,确定对应的预处理矩阵和残差方程组规模及生成形式;Step S22, judging the phase state of each grid in the first grid set and the second grid set, for the first arbitrary grid, if the first arbitrary grid is liquid phase, then the two-phase residual equations corresponding to the grid degenerate into liquid phase residual equations, and the vapor phase physical quantity in the corresponding vector to be solved is deleted; if the first arbitrary grid is a vapor phase, then the grid The two-phase residual equations corresponding to the grid degenerate into vapor-phase residual equations, and the liquid-phase physical quantities in the corresponding unsolved vectors are deleted; if the first arbitrary grid is two-phase, the two-phase residual equations and The vector to be solved remains unchanged; the phase state parameters of all grids in the first grid set and the second grid set are traversed, the number of equations to be solved and physical quantities to be solved is counted, and the corresponding preprocessing matrix is determined and the scale and generation form of residual equations;
步骤S3、动态更新预处理矩阵及残差方程组,具体包括:Step S3, dynamically updating the preprocessing matrix and residual equations, specifically including:
步骤S31、从内存中读取所述上一时刻的各物理参数及过程参数;Step S31, reading the physical parameters and process parameters at the previous moment from the memory;
步骤S32、判断所述第一网格集和和所述第二网格集和中各个网格的相态,对于其中的第二任意一个网格,若所述第二任意一个网格为两相,则基于两相物理参数数据库填写该网格的残差方程组和待解向量,若所述第二任意一个网格为液相,基于液相物理参数数据库填写该网格的残差方程组和待解向量,若所述第二任意一个网格为汽相,基于汽相物理参数数据库填写该网格的残差方程组和待解向量,直至完成残差方程组和待解向量;Step S32, judging the phase state of each grid in the first grid set and the second grid set, for the second arbitrary grid, if the second arbitrary grid is two phase, then fill in the grid’s residual equations and vectors to be solved based on the two-phase physical parameter database; if the second arbitrary grid is liquid phase, fill in the grid’s residual equation based on the liquid phase physical parameter Group and vectors to be solved, if the second arbitrary grid is a vapor phase, fill in the residual equations and the vectors to be solved of the grid based on the vapor phase physical parameter database, until the residual equations and the vectors to be solved are completed;
步骤S4、结合预处理矩阵的JFNK求解核热耦合残差方程组;Step S4, combining the JFNK of the preprocessing matrix to solve the nuclear thermal coupling residual equation group;
步骤S5、判断JFNK求解收敛性并调节仿真步长;Step S5, judging the convergence of the JFNK solution and adjusting the simulation step size;
步骤S6、判断仿真过程是否结束。Step S6, judging whether the simulation process ends.
优选的,所述若所述第二任意一个网格为两相,则基于两相物理参数数据库填写该网格的残差方程组和待解向量,具体包括:Preferably, if the second arbitrary grid is two-phase, fill in the grid's residual equations and vectors to be solved based on the two-phase physical parameter database, specifically including:
基于从所述内存中读取出的关于所述上一时刻的包括中子通量密度以及两相的压力、温度、流速、截面含气率在内的物理参数,计算出包括中子流密度、宏观反应截面、总热功率密度以及两相的换热系数、壁面热功率、壁面阻力系数在内的过程参数。Based on physical parameters including neutron flux density and two-phase pressure, temperature, flow velocity, and cross-sectional gas fraction read out from the memory at the previous moment, calculate neutron flux density , macroscopic reaction cross-section, total heat power density, and process parameters including two-phase heat transfer coefficient, wall heat power, and wall resistance coefficient.
优选的,所述若所述第二任意一个网格为液相,基于液相物理参数数据库填写该网格的残差方程组和待解向量,具体包括:Preferably, if the second arbitrary grid is a liquid phase, fill in the grid's residual equations and vectors to be solved based on the liquid phase physical parameter database, specifically including:
基于从所述内存中读取出的关于所述上一时刻的包括中子通量密度以及液相的压力、温度、流速在内的物理参数,计算出包括中子流密度、宏观反应截面、总热功率密度以及液相的换热系数、壁面热功率、壁面阻力系数在内的过程参数。Based on the physical parameters including neutron flux density, liquid phase pressure, temperature, and flow velocity read from the memory at the last moment, calculate neutron flux density, macroscopic reaction cross section, Process parameters including the total heat power density, heat transfer coefficient of the liquid phase, wall heat power, and wall resistance coefficient.
优选的,所述若所述第二任意一个网格为汽相,基于汽相物理参数数据库填写该网格的残差方程组和待解向量,具体包括:Preferably, if the second arbitrary grid is a vapor phase, fill in the grid's residual equations and vectors to be solved based on the vapor phase physical parameter database, specifically including:
基于从所述内存中读取出的关于所述上一时刻的包括中子通量密度以及汽相的压力、温度、流速在内的物理参数,计算出包括中子流密度、宏观反应截面、总热功率密度以及汽相的换热系数、壁面热功率、壁面阻力系数在内的过程参数。Based on the physical parameters including neutron flux density, vapor phase pressure, temperature, and flow rate read from the memory about the previous moment, calculate neutron flux density, macroscopic reaction cross section, Process parameters including the total heat power density, heat transfer coefficient of the vapor phase, wall heat power, and wall resistance coefficient.
优选的,当相态为两相时,所述核热耦合方程组为:Preferably, when the phase state is two phases, the nuclear thermal coupling equations are:
x=[Φ,C,Q,P,αg,ug,ul,wg,wl,hg,hl]T x=[Φ,C,Q,P,α g ,u g ,u l ,w g ,w l ,h g ,h l ] T
其中,fΦ表示中子通量残差方程组;fC表示缓发中子浓度残差方程组;fQ表示裂变能量残差方程组;fP表示汽相质量残差方程组;表示液相质量残差方程组;/>表示汽相轴向动量残差方程组;/>表示液相轴向动量残差方程组;/>表示汽相横向动量残差方程组;表示液相横向动量残差方程组;/>表示汽相能量残差方程组;/>表示液相能量残差方程组;上标n+1为本时间步长的变量值,上标n为上一时间步长的变量值;Δt是时间步长,单位为s;Φ是中子通量密度,单位为cm-2s-1;v是中子运动速度,单位为cm/s;C是缓发中子先驱核的密度,单位为cm-3;J是中子流密度,单位为cm-2s-1;a1、a2、a3、a4是扩展节块法相关系数;λd是缓发中子先驱核的衰变常数,单位为t-1;Σf是裂变截面,单位为cm-1;β、keff分别是缓发中子份额和有效增殖因子;Ef是单次裂变产生能量,单位为J;Q是裂变产生能量,单位为W;V是所述网格的体积,单位为m3;Au、Aw分别是正交于轴向和横向速度的流通面积,单位为m2;ρg、ρl分别是汽相和液相的密度,单位为kg/m3;αg、αl分别是截面含汽率和截面含液率;hg、hl分别是汽相和液相的比焓,单位为kJ/kg;ug、ul分别是汽相和液相的轴向流速,单位为m/s;wg、wl分别是汽相和液相的横向流速,m/s;Γ是液相汽化为汽相的相变质量流量,单位为kg/s;PJ、PJ+1分别是轴向上游和下游网格的压力,单位为Pa;Pii、Pjj分别是横向上游和下游网格的压力,单位为Pa;τwg,u、τwl,u分别是轴向汽相和液相的壁面阻力,单位为kg·m/s2;τwg,w、τwl,w分别是横向汽相和液相的壁面阻力,单位为kg·m/s2;τgl是汽液两相间阻力,单位为kg·m/s2;qg、ql分别是网格内传递给汽相和液相的总热量,单位为W;nj表示轴向方向相邻网格总数;ngap表示横向方向相邻网格总数。Among them, f Φ represents the neutron flux residual equation group; f C represents the delayed neutron concentration residual equation group; f Q represents the fission energy residual equation group; f P represents the vapor phase mass residual equation group; Represents the liquid phase mass residual equation group; /> Represents the vapor phase axial momentum residual equations; /> Represents the liquid phase axial momentum residual equations; /> Represents the residual equations of the vapor phase transverse momentum; Represents the liquid phase lateral momentum residual equations; /> Represents the vapor phase energy residual equations; /> Indicates the liquid phase energy residual equations; the superscript n+1 is the variable value of the current time step, and the superscript n is the variable value of the previous time step; Δt is the time step, and the unit is s; Φ is the neutron Flux density, the unit is cm -2 s -1 ; v is the neutron velocity, the unit is cm/s; C is the density of the delayed neutron precursor nucleus, the unit is cm -3 ; J is the neutron flux density, The unit is cm -2 s -1 ; a 1 , a 2 , a 3 , and a 4 are the correlation coefficients of the extended nodal method; λ d is the decay constant of the delayed neutron precursor nucleus, and the unit is t -1 ; Σ f is The fission cross section is in cm -1 ; β and k eff are the proportion of delayed neutrons and the effective multiplication factor respectively; E f is the energy produced by a single fission in J; Q is the energy produced by fission in W; V is The volume of the grid, the unit is m 3 ; A u and A w are the flow areas perpendicular to the axial and transverse velocities, the unit is m 2 ; ρ g , ρ l are the densities of the vapor phase and the liquid phase, respectively , the unit is kg/m 3 ; α g , α l are the vapor content and liquid content of the section respectively; h g , h l are the specific enthalpy of the vapor phase and the liquid phase respectively, and the unit is kJ/kg; u g , u l is the axial flow velocity of vapor phase and liquid phase respectively, the unit is m/s; w g , w l are the transverse flow velocity of vapor phase and liquid phase respectively, m/s; Γ is the phase of vaporization from liquid phase Variable mass flow rate, the unit is kg/s; P J , P J+1 are the axial upstream and downstream grid pressures, the unit is Pa; P ii , P jj are the horizontal upstream and downstream grid pressures, the unit is is Pa; τ wg,u , τ wl,u are the wall resistances of the axial vapor phase and liquid phase, respectively, in kg m/s 2 ; τ wg,w , τ wl,w are the transverse vapor phase and liquid The wall resistance of phase, the unit is kg · m / s 2 ; τ gl is the resistance between vapor and liquid, the unit is kg·m/s 2 ; Total heat, in W; n j represents the total number of adjacent grids in the axial direction; n gap represents the total number of adjacent grids in the lateral direction.
本说明书一个实施例至少能够达到以下有益效果:One embodiment of this specification can at least achieve the following beneficial effects:
(1)本发明的压水堆核热耦合计算方法能够高效稳定地计算压水堆两相核热耦合问题,避免出现病态、不定解等问题。(1) The PWR nuclear-thermal coupling calculation method of the present invention can efficiently and stably calculate the two-phase nuclear-thermal coupling problem of the PWR, and avoid problems such as ill-conditioned and uncertain solutions.
(2)本发明利用JFNK方法对压水堆堆芯进行两相核热耦合联立求解,各物理场变量在JFNK迭代中同时更新,相比于传统的OS方法、Picard等方法,具有更高的收敛精度、更快的收敛速度和更好的稳定性。(2) The present invention utilizes the JFNK method to carry out two-phase nuclear thermal coupling simultaneous solution to the PWR core, and each physical field variable is updated simultaneously in the JFNK iteration, compared with traditional OS methods, methods such as Picard, has higher Convergence accuracy, faster convergence speed and better stability.
(3)本发明的动态Jacobi预处理方法和动态残差方程组方法,依据各离散网格中的相态以动态调整预处理矩阵和残差方程组规模及格式,规避无穷小量,减小病态,消除不定方程组,避免出现不定解。(3) The dynamic Jacobi preprocessing method and the dynamic residual equation group method of the present invention dynamically adjust the scale and format of the preprocessing matrix and the residual equation group according to the phase state in each discrete grid, avoid infinitesimal quantities, and reduce pathological conditions , to eliminate indefinite equations and avoid indefinite solutions.
(4)本发明提出智能的计算时间步长方案,充分利用JFNK算法支持的全隐式迭代特性,提高仿真时间步长,减少仿真次数,大幅提升计算效率。(4) The present invention proposes an intelligent calculation time step scheme, fully utilizes the fully implicit iterative feature supported by the JFNK algorithm, increases the simulation time step, reduces the number of simulations, and greatly improves calculation efficiency.
(5)本发明不需要限定中子扩散方程和热工水力方程组的离散形式,仅需要用离散方程描述单元格间物理变量关系,以构建相应的Jacobi预处理矩阵和差分方程组即可。(5) The present invention does not need to limit the discrete form of the neutron diffusion equation and thermal-hydraulic equations, but only needs to use discrete equations to describe the physical variable relationship between cells to construct the corresponding Jacobi preconditioning matrix and difference equations.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1表示本发明提供的一种压水堆核热耦合的计算方法的方法流程示意图;Fig. 1 represents the method flow diagram of the computing method of a kind of pressurized water reactor nuclear thermal coupling provided by the present invention;
图2表示本发明提供的一种压水堆核热耦合的计算方法中动态调整预处理矩阵和待解方程组格式的流程图;Fig. 2 represents the flow chart of dynamically adjusting the preprocessing matrix and the format of equations to be solved in a kind of calculation method of PWR nuclear thermal coupling provided by the present invention;
图3表示本发明提供的一种压水堆核热耦合的计算方法中动态更新预处理矩阵和待解方程组的流程图。Fig. 3 shows a flow chart of dynamically updating the preprocessing matrix and the equations to be solved in a calculation method for nuclear thermal coupling of a PWR provided by the present invention.
具体实施方式Detailed ways
为使本说明书一个或多个实施例的目的、技术方案和优点更加清楚,下面将结合本说明书具体实施例及相应的附图对本说明书一个或多个实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本说明书一个或多个实施例保护的范围。In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification more clear, the following will clearly and completely describe the technical solutions of one or more embodiments of this specification in conjunction with specific embodiments of this specification and corresponding drawings . Apparently, the described embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of one or more embodiments in this specification.
应当理解,尽管在本申请文件中可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。It should be understood that although the terms first, second, third, etc. may be used in this application document to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another.
如前文陈述,当前系统仿真由于传统的管路节点和热力构件建模方法,难以对高维、多物理场对象扩展。于是,如何高效地将各对象以各自合适的方式建模并耦合,以形成多对象、多尺度、多物理场系统是当前的研究热点。经典的耦合方法有算符分解法(OS)和Picard迭代法等。采用传统的OS耦合方法可能导致时间步长内各物理场参数不收敛,使得精细的模型算出来不精确甚至错误的结果。而采用Picard方法可以使得各步长内物理场参数收敛,但是计算量较大、收敛稳定性较差、计算效率较低。因此,兼容多对象、多尺度、多物理场的高收敛速度高稳定性的系统仿真方法值得研究。本发明提供一种压水堆核热耦合的计算方法,用以解决现有技术中的技术问题。As stated above, current system simulations are difficult to extend to high-dimensional, multi-physics objects due to the traditional modeling methods of piping nodes and thermal components. Therefore, how to efficiently model and couple each object in an appropriate way to form a multi-object, multi-scale, multi-physics system is a current research hotspot. The classic coupling methods include operator decomposition method (OS) and Picard iteration method. Using the traditional OS coupling method may lead to non-convergence of the physical field parameters within the time step, making the fine model calculate inaccurate or even wrong results. However, the Picard method can make the physical field parameters converge in each step, but the calculation amount is large, the convergence stability is poor, and the calculation efficiency is low. Therefore, a system simulation method with high convergence speed and high stability compatible with multiple objects, multiple scales, and multiple physical fields is worth studying. The invention provides a calculation method for nuclear heat coupling of a pressurized water reactor, which is used to solve the technical problems in the prior art.
如图1所示,该仿真方法流程可以包括如下几个步骤:As shown in Figure 1, the flow of the simulation method may include the following steps:
步骤S1:初始化方程组、时间步长和物理场参数:Step S1: Initialize equations, time step and physical field parameters:
步骤S11:初始化方程组。本发明可以将中子扩散方程组和热工水力方程组合并为一个大型核热耦合方程组。以压水堆典型堆芯建模为例,可以利用扩展节块法对中子扩散方程组进行离散化处理,得到第一网格集和,以及,利用子通道法对热工水利方程组进行离散化处理,得到第二网格集和,然后建立该第一网格集和该第二网格集和之间的映射关系。在进行具体的网格划分时,可以基于对压水堆堆芯采用相同的网格划分方式而得到第一网格集和和第二网格集和,从而便于建立扩展节块法的离散网格和子通道的离散网格之间的映射关系。其中,当相态为两相的所述核热耦合方程如下所示:Step S11: Initialize the equation group. The invention can combine neutron diffusion equations and thermal hydraulic equations into a large nuclear-heat coupled equations. Taking the typical core modeling of PWR as an example, the neutron diffusion equations can be discretized using the extended block method to obtain the first grid set sum, and the thermal and hydraulic equations can be processed using the sub-channel method The discretization process obtains the sum of the second grid set, and then establishes a mapping relationship between the first grid set and the second grid set. When performing specific grid division, the first grid set sum and the second grid set sum can be obtained based on the same grid division method for the pressurized water reactor core, so as to facilitate the establishment of the discrete network of the extended nodal method The mapping relationship between the grid and the discrete grid of sub-channels. Wherein, when the phase state is two phases, the nuclear thermal coupling equation is as follows:
x=[Φ,C,Q,P,αg,ug,ul,wg,wl,hg,hl]T x=[Φ,C,Q,P,α g ,u g ,u l ,w g ,w l ,h g ,h l ] T
其中,fΦ表示中子通量残差方程组;fC表示缓发中子浓度残差方程组;fQ表示裂变能量残差方程组;fP表示汽相质量残差方程组;表示液相质量残差方程组;/>表示汽相轴向动量残差方程组;/>表示液相轴向动量残差方程组;/>表示汽相横向动量残差方程组;表示液相横向动量残差方程组;/>表示汽相能量残差方程组;/>表示液相能量残差方程组;上标n+1为本时间步长的变量值,上标n为上一时间步长的变量值;Δt是时间步长,单位为s;Φ是中子通量密度,单位为cm-2s-1;v是中子运动速度,单位为cm/s;C是缓发中子先驱核的密度,单位为cm-3;J是中子流密度,单位为cm-2s-1;a1、a2、a3、a4是扩展节块法相关系数;λd是缓发中子先驱核的衰变常数,单位为t-1;Σf是裂变截面,单位为cm-1;β、keff分别是缓发中子份额和有效增殖因子;Ef是单次裂变产生能量,单位为J;Q是裂变产生能量,单位为W;V是所述网格的体积,单位为m3;Au、Aw分别是正交于轴向和横向速度的流通面积,单位为m2;ρg、ρl分别是汽相和液相的密度,单位为kg/m3;αg、αl分别是截面含汽率和截面含液率;hg、hl分别是汽相和液相的比焓,单位为kJ/kg;ug、ul分别是汽相和液相的轴向流速,单位为m/s;wg、wl分别是汽相和液相的横向流速,m/s;Γ是液相汽化为汽相的相变质量流量,单位为kg/s;PJ、PJ+1分别是轴向上游和下游网格的压力,单位为Pa;Pii、Pjj分别是横向上游和下游网格的压力,单位为Pa;τwg,u、τwl,u分别是轴向汽相和液相的壁面阻力,单位为kg·m/s2;τwg,w、τwl,w分别表示横向汽相和液相的壁面阻力,单位为kg·m/s2;τgl是汽液两相间阻力,单位为kg·m/s2;qg、ql分别是网格内传递给汽相和液相的总热量,单位为W;nj表示轴向方向相邻网格总数;ngap表示横向方向相邻网格总数。Among them, f Φ represents the neutron flux residual equation group; f C represents the delayed neutron concentration residual equation group; f Q represents the fission energy residual equation group; f P represents the vapor phase mass residual equation group; Represents the liquid phase mass residual equation group; /> Represents the vapor phase axial momentum residual equations; /> Represents the liquid phase axial momentum residual equations; /> Represents the residual equations of the vapor phase transverse momentum; Represents the liquid phase lateral momentum residual equations; /> Represents the vapor phase energy residual equations; /> Indicates the liquid phase energy residual equations; the superscript n+1 is the variable value of the current time step, and the superscript n is the variable value of the previous time step; Δt is the time step, and the unit is s; Φ is the neutron Flux density, the unit is cm -2 s -1 ; v is the neutron velocity, the unit is cm/s; C is the density of the delayed neutron precursor nucleus, the unit is cm -3 ; J is the neutron flux density, The unit is cm -2 s -1 ; a 1 , a 2 , a 3 , and a 4 are the correlation coefficients of the extended nodal method; λ d is the decay constant of the delayed neutron precursor nucleus, and the unit is t -1 ; Σ f is The fission cross section is in cm -1 ; β and k eff are the proportion of delayed neutrons and the effective multiplication factor respectively; E f is the energy produced by a single fission in J; Q is the energy produced by fission in W; V is The volume of the grid, the unit is m 3 ; A u and A w are the flow areas perpendicular to the axial and transverse velocities, the unit is m 2 ; ρ g , ρ l are the densities of the vapor phase and the liquid phase, respectively , the unit is kg/m 3 ; α g , α l are the vapor content and liquid content of the section respectively; h g , h l are the specific enthalpy of the vapor phase and the liquid phase respectively, and the unit is kJ/kg; u g , u l is the axial flow velocity of vapor phase and liquid phase respectively, the unit is m/s; w g , w l are the transverse flow velocity of vapor phase and liquid phase respectively, m/s; Γ is the phase of vaporization from liquid phase Variable mass flow rate, the unit is kg/s; P J , P J+1 are the axial upstream and downstream grid pressures, the unit is Pa; P ii , P jj are the horizontal upstream and downstream grid pressures, the unit is is Pa; τ wg,u , τ wl,u are the wall resistances of the axial vapor phase and liquid phase, respectively, in kg m/s 2 ; τ wg,w , τ wl,w represent the lateral vapor phase and liquid phase resistance The wall resistance of phase, the unit is kg · m / s 2 ; τ gl is the resistance between vapor and liquid, the unit is kg·m/s 2 ; Total heat, in W; n j represents the total number of adjacent grids in the axial direction; n gap represents the total number of adjacent grids in the lateral direction.
步骤S12:初始化物理场参数。根据堆芯物理场的边界条件和初始条件,初始化堆芯物理场的参数,再利用少群宏观截面库初始化反应截面等物理量。堆芯物理场边界条件和初始条件一般为流速、压力、温度、比焓等物理量,本例选为堆芯入口处流速、比焓和堆芯出口出为压力。少群宏观反应截面一般包括输运截面、散射截面、吸收截面、裂变截面、中子产生截面等。少群宏观截面库能够根据流体的密度、温度、硼浓度以及燃料的温度等信息查询出相应的截面数据。Step S12: Initializing physical field parameters. According to the boundary conditions and initial conditions of the core physical field, the parameters of the core physical field are initialized, and then physical quantities such as the reaction cross section are initialized by using the few-group macroscopic cross-section library. The boundary conditions and initial conditions of the physical field of the core are generally physical quantities such as flow velocity, pressure, temperature, and specific enthalpy. In this example, the flow velocity and specific enthalpy at the core inlet and the pressure at the core outlet are selected. The small group macroscopic reaction cross-section generally includes transport cross-section, scattering cross-section, absorption cross-section, fission cross-section, neutron generation cross-section and so on. The small-group macroscopic cross-section library can query the corresponding cross-section data according to the information of fluid density, temperature, boron concentration and fuel temperature.
步骤S13:初始化时间步长。根据库朗数计算初始的时间步长,并存于内存之中,以便后续计算调用。时间步长的计算公式如下:Step S13: Initialize the time step. Calculate the initial time step according to the Courant number, and store it in memory for subsequent calculation calls. The formula for calculating the time step is as follows:
其中,Δt是允许的最大时间步长;Δxi是单元网格尺寸,m;Ui是单元网格中的最大速度,m/s;η是经验系数,大于0,当方程组为全隐格式时,可以取值为3甚至更高。Among them, Δt is the maximum allowed time step; Δx i is the unit grid size, m; U i is the maximum velocity in the unit grid, m/s; η is the empirical coefficient, greater than 0, when the equations are fully implicit format, it can take a value of 3 or even higher.
步骤S2:动态调整预处理矩阵及残差方程组格式,如图2所示,具体可以包括:Step S2: Dynamically adjust the format of the preprocessing matrix and residual equations, as shown in Figure 2, which may specifically include:
步骤S21:读取上一时刻的解向量参数,并计算出过程参数,并存入内存方便别的步骤读取。因为核热耦合是多物理场的仿真,考虑到网格数目和方程组待解量数目,若将所有的物理量作为待解量并写成大型待解向量,则残差方程和预处理矩阵将非常巨大,计算困难。而本发明将燃料棒、控制棒导管、定位格架等固体结构件的导热方程组作为过程参数方程组,有利于保证计算精度同时减少计算量,提高计算效率。因为过程参数方程组将在每次JFNK核热耦合的非精确牛顿迭代后完成更新求解,并参与下一次非精确牛顿迭代直至收敛,待解向量和过程参数都完成了更新,满足全隐式耦合的要求,计算精度较小。而将过程参数方程组独立求解,有利于减少核热耦合方程组规模,大幅减少JFNK核热耦合计算量,有利于提高计算效率。Step S21: Read the solution vector parameters at the previous moment, and calculate the process parameters, and store them in memory for other steps to read. Because nuclear thermal coupling is a multi-physics simulation, considering the number of grids and the number of equations to be solved, if all the physical quantities are used as the number of solutions to be solved and written as large vectors to be solved, the residual equation and preprocessing matrix will be very large. Huge and difficult to calculate. However, in the present invention, the heat conduction equations of solid structural parts such as fuel rods, control rod conduits, and positioning grids are used as process parameter equations, which is beneficial to ensure calculation accuracy while reducing calculation amount and improving calculation efficiency. Because the process parameter equations will be updated and solved after each inexact Newton iteration of JFNK nuclear thermal coupling, and participate in the next inexact Newton iteration until convergence, the vector to be solved and the process parameters have been updated, satisfying the full implicit coupling requirements, the calculation accuracy is small. Solving the process parameter equations independently will help reduce the scale of the nuclear-thermal coupling equations, greatly reduce the amount of JFNK nuclear-thermal coupling calculations, and improve computational efficiency.
步骤S22:确定预处理矩阵及残差方程组的组成格式。由于瞬态计算中各单元格中相态会发生变化而导致残差方程组数目及格式变化,以及对应的待解向量发生变化。从而使得预处理矩阵也发生变化。因此,需要遍历所有网格的相态参数,统计待解方程和待解物理量的数目,确定对应的预处理矩阵和残差方程组规模及生成形式。Step S22: Determine the composition format of the preprocessing matrix and residual equations. Due to the change of the phase state in each cell in the transient calculation, the number and format of the residual equations will change, and the corresponding vectors to be solved will change. As a result, the preprocessing matrix also changes. Therefore, it is necessary to traverse the phase state parameters of all grids, count the number of equations and physical quantities to be solved, and determine the size and generation form of the corresponding preprocessing matrix and residual equations.
本步骤中,可以判断第一网格集和和第二网格集和中各个网格的相态,对于其中的第一任意一个网格,若该第一任意一个网格为液相,则该网格对应的两相残差方程组退化为液相残差方程组,对应的待解向量中汽相物理量删除;若该第一任意一个网格为汽相,则该网格对应的两相残差方程组退化为汽相残差方程组,对应的待解向量中液相物理量删除;若该第一任意一个网格为两相,则两相残差方程组和待解向量不变;遍历所述第一网格集和和所述第二网格集和中所有网格的相态参数,统计待解方程和待解物理量的数目,确定对应的预处理矩阵和残差方程组规模及生成形式。In this step, the phase state of each grid in the first grid set and the second grid set can be judged. For the first arbitrary grid, if the first arbitrary grid is a liquid phase, then The two-phase residual equations corresponding to this grid degenerate into liquid-phase residual equations, and the vapor phase physical quantity in the corresponding vector to be solved is deleted; The phase residual equations degenerate into vapor phase residual equations, and the liquid phase physical quantities in the corresponding vectors to be solved are deleted; if the first arbitrary grid is two-phase, the two-phase residual equations and the vectors to be solved remain unchanged ; Traverse the first grid set and the phase state parameters of all grids in the second grid set and count the number of equations to be solved and physical quantities to be solved, and determine the corresponding preprocessing matrix and residual equations size and form.
更具体的,本发明可以根据上一步每个网格的截面含汽率数值结果,判断该网格处于何种相态,并动态调整相应的方程组形式。若为两相,则两相残差方程组和待解向量不变。若为液相,则该网格对应的两相残差方程组退化为液相残差方程组,对应待解向量中汽相物理量删除,如下式所示:More specifically, the present invention can judge which phase state the grid is in according to the numerical results of the cross-sectional vapor content of each grid in the previous step, and dynamically adjust the corresponding equations. If it is two-phase, the two-phase residual equations and the vector to be solved remain unchanged. If it is a liquid phase, the two-phase residual equations corresponding to the grid degenerate into a liquid phase residual equations, corresponding to the deletion of the vapor phase physical quantities in the vector to be solved, as shown in the following formula:
同理,若为汽相,则该网格对应的两相残差方程组退化为汽相残差方程组,对应待解向量中液相物理量删除,如下式所示:Similarly, if it is a vapor phase, the two-phase residual equations corresponding to the grid degenerate into vapor phase residual equations, corresponding to the deletion of liquid phase physical quantities in the vector to be solved, as shown in the following formula:
本发明采用Jacobi矩阵作为JFNK预处理矩阵,该预处理矩阵由所有网格的离散方程组和待解变量经过求偏导生成,其块矩阵形式如下:The present invention adopts the Jacobi matrix as the JFNK preprocessing matrix, and the preprocessing matrix is generated by partial derivatives of the discrete equations of all grids and the variables to be solved, and its block matrix form is as follows:
当某网格相态为单相时,其残差方程仅为单相的方程。在形成Jacobi矩阵时,使用所述单相残差方程对其自变量求偏导以得到偏导项,并将偏导项置于所述Jacobi矩阵相应位置即可。When a grid phase state is single-phase, its residual equation is only a single-phase equation. When forming the Jacobi matrix, use the single-phase residual equation to obtain partial derivatives of its independent variables to obtain partial derivatives, and place the partial derivatives in corresponding positions of the Jacobi matrix.
由此可见,本发明在存在单相状态的网格时,由于两相方程组退化成了单相方程,整体的残差方程组和预处理矩阵规模会减小,因此减小了计算量,能够提升计算速度。It can be seen that when there is a single-phase grid in the present invention, since the two-phase equations degenerate into single-phase equations, the overall residual equations and preprocessing matrix scale will be reduced, thus reducing the amount of calculation. can increase the calculation speed.
步骤S3:动态更新预处理矩阵及残差方程组,如图3所示,具体可以包括:Step S3: Dynamically update the preprocessing matrix and residual equations, as shown in Figure 3, which may specifically include:
步骤S31:从内存中读取所述上一时刻的解向量参数、过程参数以及时间步长。Step S31: Read the solution vector parameters, process parameters and time step at the last moment from the memory.
步骤S32:根据第2步中生成的残差方程组格式,更新残差方程组参数。利用所述从内存中读取的上一时刻的解向量参数、过程参数和时间步长,更新残差方程组。Step S32: Update the parameters of the residual equations according to the format of the residual equations generated in the second step. Using the solution vector parameters, process parameters and time steps read from the memory at the previous moment, the residual equations are updated.
具体的,如图3所示,若第一网格集和和第二网格集和和中的第二任意一个网格为两相,则基于两相物理参数数据库填写该网格的残差方程组和待解向量,具体可以包括:Specifically, as shown in Figure 3, if any second grid in the sum of the first grid set and the sum of the second grid is two-phase, fill in the residual of the grid based on the two-phase physical parameter database Equations and vectors to be solved, which can specifically include:
基于从所述内存中读取出的关于所述上一时刻的包括中子通量密度以及两相的压力、温度、流速、截面含气率在内的物理参数,计算出包括中子流密度、宏观反应截面、总热功率密度以及两相的换热系数、壁面热功率、壁面阻力系数在内的过程参数。Based on physical parameters including neutron flux density and two-phase pressure, temperature, flow velocity, and cross-sectional gas fraction read out from the memory at the previous moment, calculate neutron flux density , macroscopic reaction cross-section, total heat power density, and process parameters including two-phase heat transfer coefficient, wall heat power, and wall resistance coefficient.
若该第二任意一个网格为液相,基于液相物理参数数据库填写该网格的残差方程组和待解向量,具体可以包括:If the second arbitrary grid is a liquid phase, fill in the grid's residual equations and vectors to be solved based on the liquid phase physical parameter database, which may specifically include:
基于从所述内存中读取出的关于所述上一时刻的包括中子通量密度以及液相的压力、温度、流速在内的物理参数,计算出包括中子流密度、宏观反应截面、总热功率密度以及液相的换热系数、壁面热功率、壁面阻力系数在内的过程参数。Based on the physical parameters including neutron flux density, liquid phase pressure, temperature, and flow velocity read from the memory at the last moment, calculate neutron flux density, macroscopic reaction cross section, Process parameters including the total heat power density, heat transfer coefficient of the liquid phase, wall heat power, and wall resistance coefficient.
若该第二任意一个网格为汽相,基于汽相物理参数数据库填写该网格的残差方程组和待解向量,具体可以包括:If the second arbitrary grid is a vapor phase, fill in the grid's residual equations and vectors to be solved based on the vapor phase physical parameter database, which may specifically include:
基于从所述内存中读取出的关于所述上一时刻的包括中子通量密度以及汽相的压力、温度、流速在内的物理参数,计算出包括中子流密度、宏观反应截面、总热功率密度以及汽相的换热系数、壁面热功率、壁面阻力系数在内的过程参数。Based on the physical parameters including neutron flux density, vapor phase pressure, temperature, and flow rate read from the memory about the previous moment, calculate neutron flux density, macroscopic reaction cross section, Process parameters including the total heat power density, heat transfer coefficient of the vapor phase, wall heat power, and wall resistance coefficient.
步骤S33:根据第2步中生成的预处理矩阵格式,更新预处理矩阵。利用所述从内存中读取的上一时刻的解向量参数、过程参数和时间步长,更新预处理矩阵。本例采用Jacobi矩阵作为预处理矩阵。Jacobi矩阵是由各残差方程组对待解向量中所有元素求偏导形成的大型矩阵。其格式如下:Step S33: Update the preprocessing matrix according to the format of the preprocessing matrix generated in the second step. The preprocessing matrix is updated by using the solution vector parameters, process parameters and time steps read from the memory at the previous moment. This example uses the Jacobi matrix as the preprocessing matrix. The Jacobi matrix is a large matrix formed by taking partial derivatives of all the elements in the solution vector for each residual equation system. Its format is as follows:
该Jacobi矩阵用于JFNK中Krylov子空间的预处理计算,以提高Krylov子空间法的计算效率。如果使用左预处理,则将该Jacobi矩阵经不完全LU分解后取逆运算,再左乘于待解矩阵上。The Jacobi matrix is used in the preprocessing calculation of the Krylov subspace in JFNK to improve the calculation efficiency of the Krylov subspace method. If the left preprocessing is used, the Jacobi matrix is incompletely decomposed by LU and then inverted, and then left multiplied on the matrix to be solved.
步骤S4:结合预处理矩阵,利用JFNK求解核热耦合残差方程组包括:Step S4: Combining with the preprocessing matrix, using JFNK to solve the residual equations of nuclear thermal coupling includes:
步骤S41:非精确牛顿迭代。非精确牛顿迭代法是JFNK迭代求解的外循环,非精确牛顿迭代包括:构建Jacobi矩阵向量积线性方程组、迭代解列的更新和迭代收敛的判断等过程。其中,迭代解列更新包括对Krylov子空间解的更新以及过程参数的更新。迭代收敛判断指在外循环中通过判断方程残差是否满足收敛要求,若满足要求则退出循环,若不满足要求则继续外循环。构建Jacobi矩阵向量积线性方程组指将非线性方程组按照非精确牛顿方程的形式变形,并对Jacobi矩阵向量积差分,形成线性方程组,以便Krylov子空间迭代求解。非精确牛顿方程如下式所示:Step S41: Non-exact Newton iteration. The non-exact Newton iteration method is the outer loop of the JFNK iterative solution. The non-exact Newton iteration includes: constructing the Jacobi matrix-vector product linear equation system, updating the iterative solution, and judging the convergence of the iterative process. Among them, the update of iterative decoupling includes the update of the Krylov subspace solution and the update of the process parameters. Iterative convergence judgment refers to judging whether the residual of the equation meets the convergence requirements in the outer loop, and exits the loop if the requirements are met, and continues the outer loop if the requirements are not met. Constructing the Jacobi matrix-vector product linear equation system refers to transforming the nonlinear equation system in the form of an inexact Newton equation, and taking the difference of the Jacobi matrix-vector product to form a linear equation system for iterative solution of the Krylov subspace. The inexact Newton equation looks like this:
其中,F(xk)是第k次迭代函数值,F′(xk)是第k次迭代的Jacobi矩阵值,是需要求解的迭代步长,ηk是强制项。但是,由于Jacobi矩阵求解较为困难,且非精确牛顿方程中Jacobi矩阵是与迭代步长以矩阵向量积的形式出现,所以JFNK方法采用差分近似处理如下:Among them, F(x k ) is the function value of the kth iteration, F′(x k ) is the Jacobi matrix value of the kth iteration, is the iteration step size to be solved, and η k is a mandatory item. However, since it is difficult to solve the Jacobi matrix, and the Jacobi matrix in the inexact Newton equation appears in the form of matrix-vector product with the iterative step size, the JFNK method adopts the differential approximation as follows:
其中,ε是较小的常数。由此便将复杂的非精确牛顿方程转换为线性方程组,便于下一步利用Krylov子空间方法高效求解方程组。Among them, ε is a small constant. In this way, the complex inexact Newton equations are transformed into linear equations, which is convenient for the next step to use the Krylov subspace method to efficiently solve the equations.
步骤S42:Krylov子空间迭代求解线性方程组。在JFNK求解过程中,Krylov子空间迭代法是JFNK迭代求解的内循环算法,用于求解大型线性方程组。本发明使用第3步的预处理矩阵并结合Krylov子空间迭代法便可以稳定高效地求解出迭代步长。记左预处理矩阵为M,经左预处理后的非精确牛顿方程为:Step S42: Krylov subspace iteratively solves the system of linear equations. In the process of solving JFNK, the Krylov subspace iteration method is an inner loop algorithm of JFNK iterative solution, which is used to solve large linear equations. The present invention uses the preprocessing matrix in the third step and combines the Krylov subspace iteration method to solve the iteration step size stably and efficiently. Record the left preprocessing matrix as M, and the non-exact Newton equation after left preprocessing is:
上式在一个迭代步中,除了迭代步长是未知数外,其他数均已知。使用Krylov子空间迭代法便可以以较高的收敛速度完成迭代步的计算。The above formula is in an iteration step, except for the iteration step size is unknown, all other numbers are known. Using the Krylov subspace iteration method can complete the calculation of the iteration step with a high convergence speed.
步骤S5:判断JFNK求解收敛性并调节仿真步长包括:Step S5: Judging the convergence of the JFNK solution and adjusting the simulation step size includes:
JFNK求解收敛性的判断。在JFNK求解过程中,若预设的迭代次数(如在一种可能的实施例技术方案中,可以将该迭代次数设置为1千次)并未收敛,则认定为方程求解不收敛。当方程计算不收敛时,将当前仿真时间步长除以2,并更新内存中的时间步长值,重新执行第3步(动态更新预处理矩阵及残差方程组),以更新预处理矩阵及残差方程组。若方程计算收敛,则认为完成本仿真时刻的物理场参数计算,进行下一步。Judgment of JFNK solution convergence. During the JFNK solving process, if the preset number of iterations (for example, in a technical solution of a possible embodiment, the number of iterations can be set to 1,000 times) does not converge, it is determined that the solution of the equation does not converge. When the equation calculation does not converge, divide the current simulation time step by 2, update the time step value in the memory, and re-execute step 3 (dynamically update the preprocessing matrix and residual equations) to update the preprocessing matrix and residual equations. If the calculation of the equation converges, it is considered that the calculation of the physical field parameters at this simulation moment is completed, and the next step is performed.
步骤S6:对仿真结束时间的判断,并做相应仿真进程调整,具体可以包括:Step S6: Judging the end time of the simulation, and making corresponding adjustments to the simulation process, which may specifically include:
对仿真结束时间的判断:比较当前仿真时间和需求的仿真时间,若未达到需求的仿真时间,则根据库朗数计算仿真步长,执行第2步(确定预处理矩阵及残差方程组的组成形式)。若达到需求的仿真时间则程序终止。Judgment of the simulation end time: compare the current simulation time with the required simulation time, if the required simulation time is not reached, calculate the simulation step size according to the Courant number, and execute the second step (determine the formation). The program terminates when the required simulation time is reached.
本申请技术方案中在使用JFNK方法求解前述大型核热耦合方程组过程时,中子场、温度场、压力场、流速场等物理量将在每个非精确牛顿迭代步中同时更新,相比于将物理场分开求解的OS方法及Picard方法,有更高的核热耦合计算精度。而且相比于OS方法及Picard方法的一阶收敛速度,本发明采用的JFNK方法具有二阶收敛速度,有更快的计算速度。此外,本发明根据离散网格的相态动态调整对应方程组,相比对各网格相态不加区分地使用两相方程建模,本发明方程个数更少,计算量更小,且能够避免两相方程计算单相物理场时产生的病态问题。In the technical solution of this application, when using the JFNK method to solve the aforementioned large-scale nuclear-thermal coupled equations process, physical quantities such as neutron field, temperature field, pressure field, and flow velocity field will be updated simultaneously in each non-exact Newton iteration step, compared to The OS method and Picard method, which solve the physical fields separately, have higher calculation accuracy of nuclear thermal coupling. Moreover, compared with the first-order convergence speed of the OS method and the Picard method, the JFNK method adopted in the present invention has a second-order convergence speed and faster calculation speed. In addition, the present invention dynamically adjusts the corresponding equations according to the phase state of the discrete grid. Compared with using two-phase equations to model the phase states of each grid without distinction, the present invention has fewer equations and a smaller amount of calculation, and It can avoid ill-conditioned problems when calculating single-phase physical fields with two-phase equations.
本领域普通技术人员可以理解:附图只是一个实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of an embodiment, and the modules or processes in the accompanying drawing are not necessarily necessary for implementing the present invention.
本领域普通技术人员可以理解:实施例中的装置中的模块可以按照实施例描述分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that: the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description in the embodiment, and can also be changed and located in one or more devices different from the embodiment. The modules in the above embodiments can be combined into one module, and can also be further split into multiple sub-modules.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310486446.9A CN116579205A (en) | 2023-04-28 | 2023-04-28 | A Calculation Method of PWR Nuclear-Heat Coupling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310486446.9A CN116579205A (en) | 2023-04-28 | 2023-04-28 | A Calculation Method of PWR Nuclear-Heat Coupling |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116579205A true CN116579205A (en) | 2023-08-11 |
Family
ID=87535155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310486446.9A Pending CN116579205A (en) | 2023-04-28 | 2023-04-28 | A Calculation Method of PWR Nuclear-Heat Coupling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116579205A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117473873A (en) * | 2023-11-13 | 2024-01-30 | 上海交通大学 | Nuclear thermal coupling realization method based on deep M & Mnet neural network |
-
2023
- 2023-04-28 CN CN202310486446.9A patent/CN116579205A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117473873A (en) * | 2023-11-13 | 2024-01-30 | 上海交通大学 | Nuclear thermal coupling realization method based on deep M & Mnet neural network |
CN117473873B (en) * | 2023-11-13 | 2024-04-26 | 上海交通大学 | Nuclear thermal coupling realization method based on DeepM & Mnet neural network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107122546B (en) | A Multiphysics Coupling Method for Steady-State Calculation of Pressurized Water Reactors | |
CN111414722B (en) | Simulation method for physical and thermal coupling of nuclear reactor core | |
Carlson et al. | Solution of the transport equation by the Sn method | |
CN112906271B (en) | Reactor transient physical thermal full-coupling fine numerical simulation method and system | |
CN107066745A (en) | The method for obtaining the three-dimensional netron-flux density distribution of fast neutron reactor reactor core transient process | |
CN106202866B (en) | A kind of accurate reactor physics thermal technology coupling calculation of stabilization | |
CN115859851B (en) | Calculation method for conjugate heat transfer of liquid metal coupling supercritical carbon dioxide | |
CN116090260B (en) | A fully coupled system simulation method for reactors | |
CN112906272B (en) | Reactor steady-state physical thermal full-coupling fine numerical simulation method and system | |
Yu et al. | Fuel performance analysis of BEAVRS benchmark Cycle 1 depletion with MCS/FRAPCON coupled system | |
CN116579205A (en) | A Calculation Method of PWR Nuclear-Heat Coupling | |
CN118114581A (en) | Nuclear thermal material coupling simulation method for lead-bismuth cooling nuclear reactor | |
Yoon et al. | A multiscale and multiphysics PWR safety analysis at a subchannel scale | |
García et al. | Serpent2-SUBCHANFLOW pin-by-pin modelling capabilities for VVER geometries | |
CN117672430B (en) | Second moment calculation method for turbulent heat flux of liquid metal | |
US20250156608A1 (en) | Nuclear-thermal coupling implementation method based on deepm&mnet neural network | |
CN113657049B (en) | Heat transfer and flow quick simulation method for pool type sodium-cooled fast reactor main coolant system | |
CN110543705A (en) | An Acceleration Method for Solving Simulation of Boiling in a Typical Channel of Nuclear Reactor | |
CN116504431A (en) | A Sodium Cooled Fast Reactor Core Core Thermal Coupling Method | |
CN114169203B (en) | Two-phase flow total hidden numerical method for transient safety analysis of nuclear power plant | |
Ellis et al. | Progress in the development of an implicit steady state solution in the coupled code TRACE/PARCS | |
CN116072238A (en) | A Design Method of Fusion Reactor Solid Cladding Based on Topology Optimization | |
Zhang et al. | Calculation of two-fluid subchannels model of pressurized water reactor: Picard Krylov method | |
CN116956770B (en) | Multi-physical field coupling method for reactor core of heat pipe reactor | |
CN116484764A (en) | A Multidimensional Coupling Calculation Method for Sodium Cooled Fast Reactor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |