Abstract
Introduction:
To enhance the parallel efficiency of the conventional KBA spatial decomposition method, this study incorporates octant overlapping and angle-energy group expansion into the source iteration scheme for solving the discrete ordinate equations.
Methods:
The performance of various KBA-based methods is theoretically analyzed in terms of parallel efficiency and speedup ratio. Furthermore, the influence of different data structures on CPU cache hit ratio and calculation time is tested through three-dimensional benchmark problems.
Results and Discussion:
The results demonstrate that the source iteration method incorporating octant overlapping and angle-group expansion exhibits superior parallel characteristics. This enhancement can elevate the parallel efficiency of KBA for prevalent problems to over 97%. The impact of data structures on the cache hit ratio and calculation time is substantial. Organizing data according to its access order is shown to significantly improve the cache hit rate. The findings of the three-dimensional benchmark problem confirm that the proposed octant overlapping and angle-energy group expanding parallel method achieves a higher speedup ratio. This method aligns closely with the theoretical analysis results and can be employed for fine-grained, large-scale parallel computing and analysis.
1 Introduction
The discrete ordinate method, also known as the SN method, is a numerical technique for solving the neutron transport equation proposed by Carlson (1955) in the 1950s. It finds widespread application in areas such as reactor core design (Zhang et al., 2020), nuclear criticality safety analysis, and reactor shielding design (Young, 2016; Zong et al., 2023). In recent years, three-dimensional discrete ordinate (Chen et al., 2017) or one-dimensional discrete ordinate (Kochunas et al., 2013) have been successfully combined with method of characteristics (MOC) codes known for their strong geometric modeling capabilities (Guo et al., 2024; Guo et al., 2019). This combination has been applied to full-core calculations of large pressurized water reactors, obtaining detailed intra-pin power distributions and becoming a key component for achieving high-precision three-dimensional core calculations.
The discrete ordinate method (Liu et al., 2019; Qing-Lin et al., 2015) handles the angular variable of the neutron transport equation by discretizing it into a finite set of directions. Compared to the spherical harmonics method (PN), the equations of SN method are uncoupled, making them relatively easier to solve numerically. Consequently, several sophisticated discrete ordinate codes have been developed, such as ANISN (Engle, 1967), DORT (Rhoades and Childs, 1988), TORT (Rhoades and Simpson, 1997), DENOVO (Evans et al., 2010), NECP-Hydra (Wang et al., 2020), JSNT (Yang et al., 2020), SWEEP3D (Li et al., 2021), and TARS (Zhang and Zhang, 2024). Among these, DENOVO, NECP-Hydra, SWEEP3D and JSNT possess parallel computing capabilities. DENOVO, SWEEP3D and NECP-Hydra employ the KBA method for domain decomposition, while JSNT and TARS utilizes directed acyclic graphs (DAGs) for domain decomposition. Most existing discrete ordinate codes employ the source iteration method solved group-wise. Inner iterations update the scattering source, and outer iterations update the fission source and the effective multiplication factor, proceeding sequentially from high to low energy groups. This inherent dependency between energy groups introduced by the inner/outer iteration scheme limits the parallel potential of the discrete ordinate method.
The KBA (Koch-Baker-Alcouffe) spatial domain decomposition method (Koch et al., 1991) for three-dimensional discrete ordinate is a parallel approach capable of preserving the solving sequence, yielding computational results consistent with serial methods. However, the KBA method suffers from idle time (waiting time), which increases with the number of computational cores. This leads to a rapid decline in the parallel efficiency of the KBA method, significantly limiting the application of three-dimensional discrete ordinate in reactor physics. It is of great importance to carry out research on KBA parallel efficiency improvement to reduce the computation time for enabling massively parallel computing. Therefore, this paper conducts a theoretical analysis of the parallel efficiency for KBA method. To enhance the parallel characteristics of the discrete ordinate linear system, approaches involving octant overlapping and simultaneous solution over angles and energy groups are adopted. The impact of cache hit rates on the time is also investigated. Finally, a modified KBA spatial domain decomposition method incorporating octant overlapping and angle/energy group expansion is proposed. The parallel speedup achieved by this method is then validated through computational benchmarks.
2 Methodology
2.1 Parallel characteristics of the discrete ordinate method
The neutron angular flux is a function of six variables: spatial position r (x, y, z), energy group E, and direction Ī©(Īø, Ļ). Based on the discretization of neutron angular flux, this section analyzes the parallel characteristics of the discrete ordinate method in angle, energy group, and space, as well as the source iteration method.
The discrete ordinate method directly discretizes the angular variable in the neutron transport equation, resulting in multiple transport equations for independent directions. The scalar flux can be expressed as a weighted sum of angular fluxes in multiple directions (Equation 1):where is the scalar flux, is the angular flux, wm is the quadrature weight, M is the number of directions per octant in the quadrature set, and Ī© is the neutron direction of travelling.
The neutron transport equation for the discrete direction Ωm is Equation 2:
Rewriting the above in matrix form gives Equation 3:
The scattering and fission source terms on the right-hand side couple the discrete ordinate equations. It is evident that in a three-dimensional Cartesian coordinate system, different angular directions have no dependencies and can be solved independently. Although there are no dependencies between different angles, when the model has reflective or periodic boundary conditions, discrete angles within different octants are typically solved in a specific order to utilize the boundary angular fluxes already computed during iteration. To achieve better parallel characteristics, all octants are solved simultaneously, using the boundary incident angular fluxes obtained from the previous iteration step for the current step.
Based on the solution sequence of equations for different energy groups, the source iteration method in discrete ordinate can be divided into two types: group-simultaneous solving and group-wise successive solving. The group-wise successive method is currently the most commonly used approach. Its iteration scheme is shown in Equation 4:where h denotes the inner iteration index, v denotes the outer iteration index, L is the Legendre expansion order of the neutron scattering cross section, Pl is the Legendre polynomial, is the l-th Legendre moment of the scalar flux, is the l-th moment of the scattering cross section from group gā² to g, is the fission production cross section, ν is the average number of neutrons released per fission, Ļg is the fission spectrum, and Qe,g is the external neutron source. The group-wise successive iteration method treats the scattering source and fission source separately. It iterates sequentially from high to low energy groups. Inner iterations update the scattering source, while outer iterations update the fission source. The scattering source is divided into two parts: self-scattering (in-scatter), shown in Equation 5, and scattering from other groups (out-scatter), shown in Equation 6. And the total fission source is Equation 7.
This paper adopts the group-simultaneous source iteration method, which offers better parallel characteristics. Its iteration scheme is shown in Equations 8, 9:where v denotes the iteration index. The group-simultaneous solving approach couples the equations for different energy groups into a larger matrix system. It eliminates the need for iterations within groups, meaning that all energy groups are computed only once per outer iteration. Within each outer iteration, both the scattering source and fission source are updated simultaneously, and the external neutron source (if present) is accumulated. Although eliminating within-group iterations increases the number of outer iterations in the group-simultaneous method, the total computational time remains comparable to that of the group-wise successive method because both iteration schemes share the same spectral radius. Figure 1 illustrates the computational flowcharts for these two source iteration methods.
FIGURE 1
To demonstrate that the group-simultaneous solving approach does not increase computational time, its performance was tested against the group-wise successive method using the small Light Water Reactor (LWR) benchmark case 1 (Takeda and Ikeda, 1991) as shown in Figure 2. The results are presented in Table 1. The convergence criterion for the scalar flux in both inner and outer iterations was set to 1.00E-05. It can be observed that the computational times for both source iteration schemes are similar, with the group-simultaneous method being slightly faster than the group-wise successive method. However, the group-simultaneous method requires more outer iterations than the group-wise successive method. As the maximum number of inner iterations per group increases in the group-wise successive method, the number of required outer iterations gradually decreases. The total number of inner iterations initially decreases but then increases again. The shortest computational time for the group-wise successive method was achieved when the maximum inner iteration limit was set to 30.
FIGURE 2
TABLE 1
| keff | ĪĻ (pcm) | Outer iteration | Total inner iteration | Max. limit of inner iteration | Time(s) |
|---|---|---|---|---|---|
| 0.977202 | ā3.5 | 279 | - | - | 59.96 |
| 0.977206 | ā3.1 | 40 | 742 | 10 | 79.78 |
| 0.977208 | ā2.9 | 22 | 730 | 20 | 72.90 |
| 0.977209 | ā2.8 | 16 | 690 | 30 | 65.47 |
| 0.977207 | ā3.0 | 15 | 746 | 40 | 72.10 |
| 0.977207 | ā3.0 | 14 | 815 | 50 | 82.12 |
Calculation time of different source iteration method.
Monte Carlo reference keff = 0.977237 (0.000081).
Both the group-simultaneous and group-wise successive solving methods can also be applied to fixed-source problems. For fixed-source problems, adopting the group-simultaneous approach similarly yields superior parallel characteristics.
2.2 Theoretical parallel efficiency
Analysis of the discrete ordinate equation solving process reveals that different octants, different angles within the same octant, and different energy groups can all be solved in parallel. However, to preserve the original iteration scheme, dependencies exist between different grids during the spatial sweep. To enable parallel solution of the discrete ordinate method with inherent spatial dependencies, Koch, Baker, and Alcouffe proposed a domain decomposition strategy (Baker and Koch, 1998) known as the KBA parallel method.
In a Cartesian coordinate system, solving each grid cell during the spatial sweep involves three incoming angular fluxes and three outgoing angular fluxes. Grid cells for which the three outgoing angular fluxes serve as incoming fluxes for adjacent cells can be solved concurrently. This concurrency propagates wave-like through the domain, progressively increasing the number of grid cells that can be solved in parallel, as illustrated in Figure 3. The KBA algorithm exploits this characteristic to achieve parallelism in the discrete ordinate method without altering the iteration scheme.
FIGURE 3
As a domain decomposition method that follows a propagating wavefront, the KBA algorithm inherently incurs idle time (or waiting time) for computational cores, both before the wavefront reaches them and after it has passed. This paper begins with an analysis of the parallel efficiency of the traditional KBA method. Based upon the Pipeline parallel approach, an enhanced KBA method incorporating octant overlapping and parallelism in angle and energy group was introduced.
Assume the number of blocks along the three coordinate axes after domain decomposition are Nx, Ny, and Nz, respectively. The number of processors used in KBA parallelization is P=NxNy. Neglecting the data transfer time between processors, the computation time for KBA parallelization, TKBA, is given by Equation 10:
If the number of angles per octant is M and the number of energy groups is G, then the computation time for a single block is . The serial computation time is Equation 11:
Defining the Parallel Computing Efficiency E as the ratio of the serial computation time to the product of the parallel computation time and the number of processes, the parallel efficiency of the KBA method is:
If Nx = Ny = Nz = N, Equation 12 shows that the theoretical limit of parallel efficiency for the traditional KBA method approaches is 1/3 as the number of processes (P = N2) goes to infinity.
Adopting the source iteration method with simultaneous solution over angles and energy groups improves the parallel characteristics of the discrete ordinate method. For the angular variable, octant overlapping pipeline techniques and angle expansion can be employed to enhance the parallel efficiency of the KBA method. Similarly, for the energy group variable, group expansion can be utilized to improve KBA parallel efficiency.
2.2.1 Pipeline method with octant overlapping
Octants I and V, II and VI, III and VII, and IV and VIII share identical sweep orders in the x-y plane. Sweeping them in the sequence (I-V)-(II-VI)-(III-VII)-(IV-VIII) is equivalent to doubling the virtual height in the z-direction. The parallel efficiency of the KBA method using the Pipeline approach (Davidson et al., 2014) is given by Equation 13, with a theoretical efficiency limit of 1/2.
Sweeps for different octant pairs can overlap; the sweep for the next octant pair can be initiated before the current one completes. The sweeping process of overlapping octants is shown in Figure 4. When sweeping in the order I-II-III-IV, the sweep for octant II can start once the sweep for octant I has completed Nx blocks, and so on. This leads to the parallel efficiency Equation 14 for overlapping sweeps proceeding sequentially (e.g., counter-clockwise) by octant pair, with a parallel efficiency limit of 8/13.
FIGURE 4
2.2.2 Angle expansion method within the same octant
In a three-dimensional Cartesian coordinate system, different angular directions within the same octant share an identical sweep order in the x-y plane and exhibit no dependencies. Sweeping all angles sequentially within the same octant is equivalent to increasing the number of virtual blocks in the z-direction by a factor of M (the number of angles per octant). The parallel efficiency of the KBA method in this case is given by Equation 15, with a theoretical parallel efficiency limit of 8M/(5+8M).
2.2.3 Energy group expansion method
By expanding across different energy groups, the number of virtual blocks in the z-direction effectively increases by a factor of G (the total number of energy groups). The parallel efficiency of the KBA method then becomes Equation 16, with a theoretical parallel efficiency limit of 8MG/(5+8MG).
For typical neutron transport problems employing the S6 quadrature set and 4 energy groups, the theoretical parallel efficiency limit achieved by combining octant overlapping pipeline, angle expansion, and group expansion is 0.975. This value is very close to the theoretical maximum and represents a significant improvement compared to 0.33 (the limit of the traditional KBA method) and 0.50 (the limit of the pipeline method alone). Figure 5 illustrates the variation in parallel efficiency with the number of computational cores for the various KBA methods. It can be observed that the KBA_PACMG method achieves the highest parallel efficiency limit, and its efficiency exhibits the smallest decrease as the number of computational cores increases.
FIGURE 5
3 Results
3.1 Effect of data structure on CPU cache hit rate
Data, such as grid scalar fluxes and boundary angular fluxes, are stored as one-dimensional arrays in computer memory. To improve data access speed, the arrangement of variables must follow the CPU reading order to maximize the cache hit rate. The structure of mainstream CPU caches is illustrated in Figure 6. When the CPU issues a memory access request, it first checks whether the requested data resides in the cache. If a cache hit occurs, the data is returned directly from the cache without accessing main memory. If a cache miss occurs, the corresponding data is loaded from main memory into the cache before being returned. This caching mechanism effectively addresses the speed mismatch between the CPU and main memory, enhancing data read speeds. However, the L1 cache is very small; typically, CPU L1 caches range from 32 KB to 256 KB, meaning only very short segments of data can reside in the L1 cache. Consequently, arranging data like grid scalar fluxes according to the access order of the multi-layer loops will significantly increase the cache hit rate, thereby reducing computation time.
FIGURE 6
The sweep-solving process in the discrete ordinate method involves multi-layer nested loops, encompassing six levels: octant, angle, energy group, and spatial dimensions (x-direction, y-direction, and z-direction). Figure 7 presents the pseudo-code and corresponding data structure for the KBA method incorporating octant overlapping pipeline, angle expansion, and group expansion. To verify the impact of cache hit rate on computation time, the computation times for two different ordering schemes of angular flux data were measured. The program was implemented in FORTRAN using column-major order (Chapman, 2004), where variables appearing earlier in the index have smaller strides.
FIGURE 7
The computation times for the different angular flux data orderings are shown in Table 2. It can be observed that the cache hit rate is higher when the grid angular flux index order is (G, I, J, K, M). The computation time in this case is approximately 70% of the time required when the index order is (M, I, J, K, G), demonstrating that cache hit rate significantly impacts computation time. The tests utilized an Intel Xeon processor E7-4850 v3 with an L1 cache size of 32 KB. Cache hit behavior depends on the cache size, the scale of the computational problem, and the data structure; the same data structure may yield different cache hit rates on different processors. Nevertheless, the conclusion that employing a data structure aligned with the data access order during coding improves program execution efficiency holds universally.
TABLE 2
| Angular flux data structure | SN order | Number of energy groups | Grids | Sweep time(s) |
|---|---|---|---|---|
| (G, I, J, K, M) | 8 | 2 | 50 Ć 50 Ć 50 | 463 |
| (M, I, J, K, G) | 8 | 2 | 50 Ć 50 Ć 50 | 667 |
Calculation time of different angular flux index order for small LWR benchmark.
3.2 Tests of parallel efficiency
The theoretical parallel efficiency determines the speedup limit of the KBA method. However, for practical problems, the speedup achievable with different number of computational processors is of greater interest. Defining speedup as the ratio of serial computation time to parallel computation time, the speedup for the KBA method is:
Equation 17 shows that the speedup for a given problem is influenced by the block partitioning scheme, the number of quadrature directions M, and the number of energy groups G) Speedup can be improved by: (1) Keeping the number of blocks in the x- and y-directions as equal as possible; (2) Increasing the number of blocks in the z-direction (Nz); (3) Increasing the number of quadrature directions M or energy groups G. Note that, while increasing M or G improves the speedups, it generally does not reduce the time because more angles and groups require more computational costs.
Actual KBA algorithms inevitably incur communication overhead. Assuming the communication time per block computation is Tc and the calculation time per block is TB, the KBA method speedup considering communication time is:
The computation-to-communication ratio is defined as the ratio of single-block computation time to data communication time (TB/Tc). Equation 18 indicates that speedup decreases due to the computation-to-communication ratio. For the same problem, a larger number of blocks in the z-direction Nz reduces the computation per block, lowering the computation-to-communication ratio. Consequently, as the number of computational cores increases, the achieved speedup deviates significantly from the theoretical speedup.
First, the theoretical speedup of the algorithm was evaluated using the Small Light Water Reactor (LWR) Benchmark Case 1 (Takeda and Ikeda, 1991). This benchmark case was selected because, with a small number of computational cores, the communication-to-computation ratio is low, resulting in minimal deviation of the measured speedup from the theoretical value, thus facilitating verification. NBX, NBY, and NBZ denote the number of blocks in the x-, y-, and z-directions, respectively. To improve cache hit rates, all KBA method implementations employed data reordering based on the loop nesting sequence. The results show minor differences in single-process computation times, indicating cache hit rate had no significant impact on computational efficiency for this setup. For the S2 quadrature set, the actual and theoretical speedups agree well, and the speedup improvement from KBA_AC to KBA_PACMG is evident. As shown by the calculation results in Table 3, The KBA_PACMG algorithm indeed achieves a higher speedup using the same number of cores, and the measured speedup demonstrates good agreement with the theoretical prediction.
TABLE 3
| Method | SN order | NBX | NBY | NBZ | Number of processors | Sweep time(s) | Speedups | Theoretical speedups |
|---|---|---|---|---|---|---|---|---|
| KBA_AC | 2 | 1 | 1 | 1 | 1 | 54.40 | 1.00 | 1.00 |
| KBA_PAC | 2 | 1 | 1 | 1 | 1 | 53.55 | 1.00 | 1.00 |
| KBA_PACM | 2 | 1 | 1 | 1 | 1 | 53.72 | 1.00 | 1.00 |
| KBA_PACMG | 2 | 1 | 1 | 1 | 1 | 58.69 | 1.00 | 1.00 |
| KBA_AC | 2 | 5 | 5 | 5 | 25 | 6.74 | 8.07 | 12.50 |
| KBA_PAC | 2 | 5 | 5 | 5 | 25 | 3.48 | 15.39 | 16.67 |
| KBA_PACM | 2 | 5 | 5 | 5 | 25 | 3.41 | 15.76 | 16.67 |
| KBA_PACMG | 2 | 5 | 5 | 5 | 25 | 3.33 | 17.62 | 20.00 |
| KBA_AC | 8 | 5 | 5 | 5 | 25 | 40.73 | 11.68 | 12.50 |
| KBA_PAC | 8 | 5 | 5 | 5 | 25 | 33.85 | 15.52 | 16.67 |
| KBA_PACM | 8 | 5 | 5 | 5 | 25 | 24.14 | 20.91 | 23.81 |
| KBA_PACMG | 8 | 5 | 5 | 5 | 25 | 23.86 | 22.01 | 24.39 |
Calculation time of different KBA method for small LWR benchmark.
Subsequently, the parallel computing efficiency was tested using Case 2 (Takeda and Ikeda, 1991) of the Small Fast Breeder Reactor (FBR) benchmark with up to 128 cores, and a comparison was made with the TARS code. Figure 8 illustrates the core configuration of the Small FBR. The TARS code is a discontinuous finite element discrete ordinates method program employing DAG-based parallelism. For the TARS calculations, the mesh number was 4,515,840, the quadrature set order was S8, and the CPU used was an AMD EPYC 7452 @ 2.35 GHz. The code developed in this work utilizes the SN method with a structured mesh. The mesh number was 5,880,000 (140 Ć 140 Ć 300), the quadrature set order was S8 as well, and the CPU used was an Intel Xeon Platinum 8358P @ 2.60 GHz. Given the comparable performance between the CPUs used in our tests and those for the TARS code, the parallel efficiency results are summarized in Table 4. The results indicate that the parallel efficiency of KBA_PACMG is comparable to that of the TARS code when using 16, 32, and 64 CPU cores. Notably, super-linear speedup was observed with 32 cores, which can be attributed to performance variability between runs and improved cache utilization at this specific core count. During the testing in this work, the total number of physical cores across the two compute nodes was 128. The inherent overhead of the operating system contributed to a significant decrease in parallel efficiency when utilizing all 128 cores. Furthermore, for the same 50 iterations, the computation time of the structured-mesh SN method in this work was significantly lower than that of the discontinuous finite element SN method. Table 5 presents the keff and control rod worth calculation results for case 1 and case 2 of the small FBR benchmark. The results show good agreement with those obtained by the Monte Carlo method, with a relative deviation in control rod worth of ā0.82%.
FIGURE 8
TABLE 4
| Code | Number cores | 16 | 32 | 64 | 128 |
|---|---|---|---|---|---|
| KBA_PACMG (this work) | Times(s) | 263.4 | 120.6 | 71.9 | 54.9 |
| Parallel efficiency (%) | 100% | 109% | 92% | 60% | |
| Speedups | 1.00 | 2.19 | 3.66 | 4.79 | |
| TARS | Times(s) | 3657.5 | 1920.4 | 1013.9 | 578.7 |
| Parallel efficiency (%) | 100 | 95 | 90 | 79 | |
| Speedups | 1.00 | 1.90 | 3.61 | 6.32 |
Parallel efficiency of small FBR benchmark.
TABLE 5
| Code | Case 1 | Case 2 | CR worth (pcm) |
|---|---|---|---|
| Monte Carlo | 0.973727 ± 0.00064 | 0.959614 ± 0.00062 | 1,510 |
| KBA_PACMG | 0.973605 | 0.95961 | 1,498 |
keff and control rod worth of small FBR benchmark.
Finally, the KBA_PACMG algorithm was validated using a pin-by-pin model of a large commercial Pressurized Water Reactor (PWR). The core comprises 17 Ć 17 UO2 fuel assemblies of nine different types. The width of each pin cell is 1.26 cm, and the active core height is 365.76 cm. The radial and axial reflector regions each have a thickness equivalent to one fuel assembly. The model employs 8-group cell-homogenized cross-sections obtained from DRAGON calculations. The computational model is illustrated in Figure 9, and a more detailed description can be found in the reference (Xu, 2018). The KBA_PACMG calculations utilized the same mesh partitioning scheme, quadrature set order, and number of computational cores as the NECP-Hydra code, as detailed in Table 6. The single-core performance of the CPU 8358P used in this work is approximately twice that of the CPU E5-2620 used by NECP-Hydra. However, the computation time of the present KBA_PACMG program was approximately one-quarter that of NECP-Hydra.
FIGURE 9
TABLE 6
| Code | NECP-Hydra | KBA_PACMG (this work) |
|---|---|---|
| Quadrature | S4 | S4 |
| Mesh | Īx/Īy: 0.63 cm, Īz: 12.19 cm | Īx/Īy: 0.63 cm, Īz: 12.19 cm |
| CPU | Intel Xeon CPU E5-2620 v2 @2.10 GH | Intel Xeon Platinum 8358P @ 2.60 GHz |
| Number cores | 64 | 64 |
| keff | 1.01247 | 1.01267 |
| Time (min.) | 78.6 | 20.3 |
Results of large-scale PWR pin-by-pin model.
4 Conclusion
This study has presented a comprehensive analysis of the parallel characteristics of the three-dimensional discrete ordinate method in Cartesian geometry and proposed an enhanced KBA parallel method that incorporates octant overlapping, angle expansion, and group expansion (PACMG). Through theoretical analysis and benchmark verification, the following conclusions are drawn:
The proposed KBA parallel method with octant overlapping, angle expansion, and group expansion (PACMG) could achieve a theoretical parallel efficiency limit exceeding 97% for typical problems theoretically. This represents a significant improvement over the traditional KBA method. The results from the Small LWR benchmark tests demonstrate that the speedup of KBA_PACMG aligns well with theoretical expectations. Furthermore, in the larger-scale Small FBR and large-scale PWR benchmark tests, KBA_PACMG continues to exhibit favorable parallel efficiency, establishing it as a promising approach for large-scale parallel computing.
The discrete ordinate method using group-simultaneous solving exhibits superior parallel characteristics. While group expansion increases the number of outer iterations, the total computation time remains comparable to that of the group-wise successive iteration method.
Arranging variable data according to the access order of nested loops enhances cache hit rates, thereby reducing computation time. After optimizing for cache efficiency, the serial computation times of the different KBA parallel methods are found to be similar.
This study focuses on improving the computational efficiency of the discrete ordinate method from the perspective of KBA parallelism. Future work could explore the integration of numerical acceleration techniques, such as Diffusion Synthetic Acceleration (DSA) or Coarse-Mesh Finite Difference (CMFD), into the code to further reduce computational time.
Statements
Data availability statement
The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.
Author contributions
JG: Methodology, Writing ā original draft, Project administration, Writing ā review and editing. YZ: Supervision, Writing ā review and editing. XZ: Writing ā review and editing. RY: Writing ā review and editing.
Funding
The authors declare that financial support was received for the research and/or publication of this article. This work was supported by the Chinese Academy of Sciences Talent Introduction Youth Program (No. SINAP-YCJ202303) and the Natural Science Foundation of Shanghai (Grant No. 24ZR1478400).
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The authors declare that no Generative AI was used in the creation of this manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisherās note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1
BakerR. S.KochK. R. (1998). An Sn algorithm for the massively parallel CM-200 computer. Nucl. Sci. Eng.128, 312ā320. 10.13182/NSE98-1
2
CarlsonB. (1955). Solution of the transport equation by SN approximations (No. LA-1891, 4376236). 10.2172/4376236
3
ChapmanS. J. (2004). Fortran 90/95 for scientists and engineers. New York, NY: McGraw-Hill Higher Education.
4
ChenY.ZhangB.ZhangL.ZhengJ.ZhengY.LiuC. (2017). ARES: a parallel discrete ordinates transport code for radiation shielding applications and reactor physics analysis. Sci. Technol. Nucl. Installations2017, 1ā11. 10.1155/2017/2596727
5
DavidsonG. G.EvansT. M.JarrellJ. J.HamiltonS. P.PandyaT. M.SlaybaughR. N. (2014). Massively parallel, three-dimensional transport solutions for the k -eigenvalue problem. Nucl. Sci. Eng.177, 111ā125. 10.13182/NSE12-101
6
EngleW. W. (1967). A users manual for anisn: a one dimensional DISCRETE ordinates transport code with anisotropic scattering. (No. K--1693, 4448708). 10.2172/4448708
7
EvansT. M.StaffordA. S.SlaybaughR. N.ClarnoK. T. (2010). Denovo: a new three-dimensional parallel discrete ordinates code in SCALE. Nucl. Technol.171, 171ā200. 10.13182/NT171-171
8
GuoJ.GuoJ.WangY.WuY.LiF. (2019). The MOCP code: method of characteristics code for pebble-bed HTR. Ann. Nucl. Energy124, 503ā512. 10.1016/j.anucene.2018.10.023
9
GuoJ.ZhuG.YanR.ZouY. (2024). Method of characteristics with a new macro-track transport acceleration for complex general geometry. Ann. Nucl. Energy201, 110424. 10.1016/j.anucene.2024.110424
10
KochK. R.BakerR. S.AlcouffeR. E. (1991). Solution of the first-order form of the 3-D discrete ordinates equations on a massively parallel machine (No. LA-UR-91-4157; CONF-920606-2). NM, United States: Los Alamos National Lab.
11
KochunasB.CollinsB.JabaayD.DownarT. J.MartinW. R. (2013). Overview of development and design of MPACT: Michigan parallel characteristics transport code.
12
LiB.LiuJ.ZhuX.DingS. (2021). Large-scale heterogeneous computing for 3D deterministic particle transport on tianhe-2A supercomputer. Front. Energy Res.9, 701437. 10.3389/fenrg.2021.701437
13
LiuC.HuX.-L.ZhangB.GongY.ZhangL.ChenY.-X. (2019). Numerical study of scattering Legendre moments and effect of anisotropic scattering on SN shielding calculation. Nucl. Sci. Tech.30, 161. 10.1007/s41365-019-0695-y
14
Qing-LinW.JieL.Chun-YeG.Zuo-ChengX. (2015). Scalability of 3D deterministic particle transport on the Intel MIC architecture.
15
RhoadesW. A.ChildsR. L. (1988). The DORT two-dimensional discrete ordinates transport code. Nucl. Sci. Eng.99, 88ā89. 10.13182/NSE88-A23547
16
RhoadesW. A.SimpsonD. B. (1997). The TORT three-dimensional discrete ordinates neutron/photon transport code (TORT version 3). (No. ORNL/TM--13221, 582265). 10.2172/582265
17
TakedaT.IkedaH. (1991). Final report on the 3-D neutron transport benchmarks.
18
WangY.ZhengY.XuL.CaoL. (2020). NECP-hydra: a high-performance parallel SN code for core-analysis and shielding calculation. Nucl. Eng. Des.366, 110711. 10.1016/j.nucengdes.2020.110711
19
XuL. (2018). Massive parallel SN method for PWR physics and shielding calculation. Xiāan: Xiāan Jiaotong University. Ph.D. Thesis.
20
YangC.ChengT.DengL.LiZ.WenL. (2020). Development of 3-D parallel first-collision source method for discrete ordinate code JSNT-S. Ann. Nucl. Energy135, 106942. 10.1016/j.anucene.2019.106942
21
YoungM. T. H. (2016). Orthogonal-mesh, 3-D Sn with embedded 2-D method of characteristics for whole-core, pin-resolved reactor analysis. Ann Arbor: University of Michigan.
22
ZhangG.ZhangH. (2024). TARS: a parallel tetrahedral discontinuous finite element code for the solution of the discrete ordinates neutron transport equation. Ann. Nucl. Energy196, 110242. 10.1016/j.anucene.2023.110242
23
ZhangG.-C.LiuJ.CaoL.-Z.WuH.-C.YuanX.-B. (2020). Neutronic calculations of the China dual-functional lithiumālead test blanket module with the parallel discrete ordinates code Hydra. Nucl. Sci. Tech.31, 74. 10.1007/s41365-020-00789-4
24
ZongZ.-W.ChengM.-S.YuY.-C.DaiZ.-M. (2023). A multithreaded parallel upwind sweep algorithm for the SN transport equations discretized with discontinuous finite elements. Nucl. Sci. Tech.34, 200. 10.1007/s41365-023-01355-4
Summary
Keywords
discrete ordinate, space decomposition, angle and energy group parallelism, Koch-Baker-Alcouffe method, parallel computing of neutron transport simulation
Citation
Guo J, Zou Y, Zhao X and Yan R (2025) Octant overlapping and angle-energy group expanded KBA parallelism of three-dimensional discrete ordinate method. Front. Energy Res. 13:1660859. doi: 10.3389/fenrg.2025.1660859
Received
07 July 2025
Revised
20 November 2025
Accepted
20 November 2025
Published
17 December 2025
Volume
13 - 2025
Edited by
Muhammad Saeed, University of Electronic Science and Technology of China, China
Reviewed by
Liang Liang, Xiāan Zhihe Cloud Valley Technology Co., Ltd., China
Chuanying Li, Zhejiang University, China
Updates
Copyright
Ā© 2025 Guo, Zou, Zhao and Yan.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Yang Zou, zouyang@sinap.ac.cn
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.