裂变反应堆基于GPU的蒙特卡罗中子输运模拟中嵌套几何处理方法的比较
Comparison of nested geometry treatments within GPU-based Monte Carlo neutron transport simulations of fission reactors
AI总结:
本研究针对GPU上蒙特卡罗中子输运模拟的虚函数开销问题,在Shift MC代码中实现三种GPU追踪策略,实验验证其在典型反应堆问题中的适用性,并展示单一追踪器方法的灵活性与加速效果。
摘要:
蒙特卡罗(MC)中子输运可对裂变反应堆内的辐射学物理量进行详细估算,该过程需要在计算几何中追踪单个中子。基于CPU的MC程序采用多种具备不同追踪算法的多态追踪器类型,以利用反应堆的重复结构,但虚函数调用在GPU上存在较高开销。本研究对Shift MC代码进行了修改,以支持三种基于GPU的追踪策略:带虚函数的动态多态、静态多态,以及采用基于树的加速结构的单一追踪器类型。在Frontier超级计算机上,这三种方法分别达到了针对直线栅格反应堆优化的专用追踪器追踪速率的77.8%、91.2%和83.4%。这表明,在追踪过程不占运行时间主导地位的典型反应堆问题中,三种方法均适用。研究还通过一个六角形栅格微反应堆问题凸显了单一追踪器方法的灵活性——该模拟无需使用六角形栅格专用追踪例程,相比CPU执行实现了2.19倍的加速。
英文摘要:
Monte Carlo (MC) neutron transport provides detailed estimates of radiological quantities within fission reactors. This involves tracking individual neutrons through a computational geometry. CPU-based MC codes use multiple polymorphic tracker types with different tracking algorithms to exploit the repeated configurations of reactors, but virtual function calls have high overhead on the GPU. The Shift MC code was modified to support GPU-based tracking with three strategies: dynamic polymorphism with virtual functions, static polymorphism, and a single tracker type with tree-based acceleration. On the Frontier supercomputer these methods achieve 77.8%, 91.2%, and 83.4%, respectively, of the tracking rate obtained using a specialized tracker optimized for rectilinear-grid-based reactors. This indicates that all three methods are suitable for typical reactor problems in which tracking does not dominate runtime. The flexibility of the single tracker method is highlighted with a hexagonal-grid microreactor problem, performed without hexagonal-grid-specific tracking routines, providing a 2.19$\times$ speedup over CPU execution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。