首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
Corrigendum to “SimpleBounce: A simple package for the false vacuum decay” [Computer Physics Communications 258 (2021) 107566] “SimpleBounce:一个简单的假真空衰减包”的更正[计算机物理通信258 (2021)107566]
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-27 DOI: 10.1016/j.cpc.2025.110006
Ryosuke Sato
{"title":"Corrigendum to “SimpleBounce: A simple package for the false vacuum decay” [Computer Physics Communications 258 (2021) 107566]","authors":"Ryosuke Sato","doi":"10.1016/j.cpc.2025.110006","DOIUrl":"10.1016/j.cpc.2025.110006","url":null,"abstract":"","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 110006"},"PeriodicalIF":3.4,"publicationDate":"2025-12-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145880065","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Semi-implicit scheme for multi-species collision operators in Tokamak Plasma Simulations 托卡马克等离子体模拟中多物种碰撞算子的半隐式格式
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-26 DOI: 10.1016/j.cpc.2025.110012
Dandan Liao , Lei Ye , Pengfei Zhao , Qilong Ren , Nong Xiang
A second-order semi-implicit time integration method has been developed for solving the linearized collision operator in multi-species plasmas. A key feature of this method is that it treats the collision operator as a single entity, avoiding the operator splitting between its test particle and field particle components. This scheme employs an implicit trapezoidal time integration scheme for the isothermal test particle part (including pitch-angle scattering and energy diffusion) with a finite volume discretization in (v, μ) velocity coordinates, while the non-isothermal model term and field particle part are treated explicitly. This approach avoids the species cross-coupling required by fully implicit schemes, enabling the collision term to be computed efficiently with a banded/sparse-matrix solver. The method has been implemented in the gyrokinetic semi-Lagrangian code NLT and verified through multi-species relaxation tests and neoclassical transport simulations. Numerical benchmarks against explicit methods confirm its robustness, achieving order-of-magnitude improvements in the allowable time-step size, particularly in simulations of electron-ion collisions. Furthermore, the numerical discretization rigorously preserves particle number, momentum, and energy conservation, maintains the self-adjoint property of the collision operator, and satisfies Boltzmann’s H-theorem.
提出了求解多种等离子体中线性化碰撞算子的二阶半隐式时间积分方法。该方法的一个关键特点是将碰撞算子视为一个单一的实体,避免了算子在其测试粒子和场粒子组件之间分裂。该方案对等温试验粒子部分(包括俯角散射和能量扩散)采用隐式梯形时间积分格式,在(v∥,μ)速度坐标下进行有限体积离散,对非等温模型项和场粒子部分进行显式处理。该方法避免了完全隐式格式所需要的物种交叉耦合,使碰撞项能够用带状/稀疏矩阵求解器有效地计算。该方法已在陀螺动力学半拉格朗日码NLT中实现,并通过多种弛豫试验和新经典输运模拟进行了验证。针对显式方法的数值基准验证了其鲁棒性,在允许的时间步长上实现了数量级的改进,特别是在模拟电子-离子碰撞时。数值离散化严格地保持了粒子数、动量和能量守恒,保持了碰撞算子的自伴随性质,满足玻尔兹曼h定理。
{"title":"Semi-implicit scheme for multi-species collision operators in Tokamak Plasma Simulations","authors":"Dandan Liao ,&nbsp;Lei Ye ,&nbsp;Pengfei Zhao ,&nbsp;Qilong Ren ,&nbsp;Nong Xiang","doi":"10.1016/j.cpc.2025.110012","DOIUrl":"10.1016/j.cpc.2025.110012","url":null,"abstract":"<div><div>A second-order semi-implicit time integration method has been developed for solving the linearized collision operator in multi-species plasmas. A key feature of this method is that it treats the collision operator as a single entity, avoiding the operator splitting between its test particle and field particle components. This scheme employs an implicit trapezoidal time integration scheme for the isothermal test particle part (including pitch-angle scattering and energy diffusion) with a finite volume discretization in (<em>v</em><sub>∥</sub>, <em>μ</em>) velocity coordinates, while the non-isothermal model term and field particle part are treated explicitly. This approach avoids the species cross-coupling required by fully implicit schemes, enabling the collision term to be computed efficiently with a banded/sparse-matrix solver. The method has been implemented in the gyrokinetic semi-Lagrangian code NLT and verified through multi-species relaxation tests and neoclassical transport simulations. Numerical benchmarks against explicit methods confirm its robustness, achieving order-of-magnitude improvements in the allowable time-step size, particularly in simulations of electron-ion collisions. Furthermore, the numerical discretization rigorously preserves particle number, momentum, and energy conservation, maintains the self-adjoint property of the collision operator, and satisfies Boltzmann’s H-theorem.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 110012"},"PeriodicalIF":3.4,"publicationDate":"2025-12-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145880486","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
VacHopPy: A Python package for vacancy hopping analysis based on molecular dynamics simulations VacHopPy:一个Python包,用于基于分子动力学模拟的空位跳跃分析
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-23 DOI: 10.1016/j.cpc.2025.110010
Taeyoung Jeong , Kun Hee Ye , Seungjae Yoon , Dohyun Kim , Yunjae Kim , Cheol Seong Hwang , Jung-Hae Choi
<div><div>Multiscale modeling, which integrates material properties from <em>ab initio</em> calculations into continuum-scale simulations, is a promising strategy for optimizing semiconductor devices. However, a key challenge remains: while <em>ab initio</em> methods provide diffusion parameters specific to individual migration paths, continuum equations require a single effective set of parameters that captures the overall diffusion behavior. To address this issue, we present <em>VacHopPy</em>, an open-source Python package for vacancy hopping analysis based on molecular dynamics (MD). <em>VacHopPy</em> extracts an effective set of hopping parameters, including hopping distance, hopping barrier, number of effective paths, correlation factor, and attempt frequency, by statistically integrating energetic, kinetic, and geometric contributions across all paths. It also includes tools for tracking vacancy trajectories and for detecting phase transitions during MD simulations. The applicability of <em>VacHopPy</em> is demonstrated in three representative materials: face-centered cubic Al, rutile TiO<sub>2</sub>, and monoclinic HfO<sub>2</sub>. The extracted effective parameters reproduce temperature-dependent diffusion behavior and are in good agreement with previous experimental data. Provided in a simplified form, these parameters are well suited for continuum-scale models and remain valid over a wide temperature range spanning several hundred kelvins. Furthermore, <em>VacHopPy</em> inherently accounts for anisotropy in thermal vibrations, a factor often overlooked, making it suitable for simulating diffusion in complex crystals. Overall, <em>VacHopPy</em> establishes a robust bridge between atomic- and continuum-scale models, enabling more reliable multiscale simulations.</div><div><strong>Program Summary</strong></div><div><em>Program Title: VacHopPy</em></div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/nfd44zrb24.1</span><svg><path></path></svg></span></div><div><em>Developer’s repository link:</em> <span><span>https://github.com/TY-Jeong/VacHopPy</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> MIT License</div><div><em>Programming language:</em> Python</div><div><em>Supplementary material:</em> Supplementary Figures (S1–S11), Supplementary Tables (S1–S6), and Supplementary Notes (1–4) are provided in a separate PDF file.</div><div><em>Nature of problem:</em> For modeling of vacancy-mediated diffusion, <em>ab initio</em> calculations provide path-specific diffusion parameters that are not directly compatible with continuum-scale models, which typically require a single set of effective parameters. Such incompatibility poses a significant challenge in accurately integrating atomistic diffusion behavior into multiscale simulation frameworks, particularly when multiple hopping paths exist in a material system.</div><div><em>Solution method:</em> Vacancy trajectories are identif
多尺度建模将材料性质从从头计算集成到连续尺度模拟中,是优化半导体器件的一种很有前途的策略。然而,一个关键的挑战仍然存在:虽然从头算方法提供特定于单个迁移路径的扩散参数,但连续统方程需要一组有效的参数来捕获整体扩散行为。为了解决这个问题,我们提出了VacHopPy,一个基于分子动力学(MD)的空位跳变分析的开源Python包。VacHopPy通过统计整合所有路径上的能量、动力学和几何贡献,提取一组有效的跳跃参数,包括跳跃距离、跳跃势垒、有效路径数、相关因子和尝试频率。它还包括用于跟踪空位轨迹和检测MD模拟过程中的相变的工具。VacHopPy的适用性在三种代表性材料中得到了证明:面心立方Al、金红石型TiO2和单斜斜HfO2。提取的有效参数再现了温度相关的扩散行为,与以往的实验数据吻合较好。以简化形式提供,这些参数非常适合连续尺度模型,并在跨越几百开尔文的宽温度范围内保持有效。此外,VacHopPy固有地解释了热振动的各向异性,这是一个经常被忽视的因素,使其适合于模拟复杂晶体中的扩散。总的来说,VacHopPy在原子和连续尺度模型之间建立了一个强大的桥梁,实现了更可靠的多尺度模拟。程序摘要程序标题:VacHopPyCPC库链接到程序文件:https://doi.org/10.17632/nfd44zrb24.1Developer的存储库链接:https://github.com/TY-Jeong/VacHopPyLicensing条款:MIT许可证编程语言:python补充材料:补充图(S1-S11),补充表(S1-S6)和补充说明(1-4)以单独的PDF文件提供。问题性质:对于空位介导扩散的建模,从头计算提供了特定路径的扩散参数,这些参数与连续尺度模型不直接兼容,连续尺度模型通常需要一组有效参数。这种不兼容性对将原子扩散行为精确集成到多尺度模拟框架中提出了重大挑战,特别是当材料系统中存在多个跳跃路径时。解决方法:通过分析时间平均原子力和位置,从MD模拟中识别出空位轨迹,从而在热波动的情况下实现空位跳跃事件的鲁棒跟踪。从这些轨迹,路径相关的能量,动力学和几何贡献被统计集成,以构建一套有效的跳跃参数。这些有效参数以一种简化的、与材料无关的形式表述,使它们直接与连续尺度模型兼容,而无需进一步修改。附加注释:在撰写本文时,VacHopPy的最新版本是3.1.0。由于示例文件的大小较大,VacHopPy文档(https://vachoppy.readthedocs.io)中提供了单独的下载链接
{"title":"VacHopPy: A Python package for vacancy hopping analysis based on molecular dynamics simulations","authors":"Taeyoung Jeong ,&nbsp;Kun Hee Ye ,&nbsp;Seungjae Yoon ,&nbsp;Dohyun Kim ,&nbsp;Yunjae Kim ,&nbsp;Cheol Seong Hwang ,&nbsp;Jung-Hae Choi","doi":"10.1016/j.cpc.2025.110010","DOIUrl":"10.1016/j.cpc.2025.110010","url":null,"abstract":"&lt;div&gt;&lt;div&gt;Multiscale modeling, which integrates material properties from &lt;em&gt;ab initio&lt;/em&gt; calculations into continuum-scale simulations, is a promising strategy for optimizing semiconductor devices. However, a key challenge remains: while &lt;em&gt;ab initio&lt;/em&gt; methods provide diffusion parameters specific to individual migration paths, continuum equations require a single effective set of parameters that captures the overall diffusion behavior. To address this issue, we present &lt;em&gt;VacHopPy&lt;/em&gt;, an open-source Python package for vacancy hopping analysis based on molecular dynamics (MD). &lt;em&gt;VacHopPy&lt;/em&gt; extracts an effective set of hopping parameters, including hopping distance, hopping barrier, number of effective paths, correlation factor, and attempt frequency, by statistically integrating energetic, kinetic, and geometric contributions across all paths. It also includes tools for tracking vacancy trajectories and for detecting phase transitions during MD simulations. The applicability of &lt;em&gt;VacHopPy&lt;/em&gt; is demonstrated in three representative materials: face-centered cubic Al, rutile TiO&lt;sub&gt;2&lt;/sub&gt;, and monoclinic HfO&lt;sub&gt;2&lt;/sub&gt;. The extracted effective parameters reproduce temperature-dependent diffusion behavior and are in good agreement with previous experimental data. Provided in a simplified form, these parameters are well suited for continuum-scale models and remain valid over a wide temperature range spanning several hundred kelvins. Furthermore, &lt;em&gt;VacHopPy&lt;/em&gt; inherently accounts for anisotropy in thermal vibrations, a factor often overlooked, making it suitable for simulating diffusion in complex crystals. Overall, &lt;em&gt;VacHopPy&lt;/em&gt; establishes a robust bridge between atomic- and continuum-scale models, enabling more reliable multiscale simulations.&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Program Summary&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Program Title: VacHopPy&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;CPC Library link to program files:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://doi.org/10.17632/nfd44zrb24.1&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Developer’s repository link:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/TY-Jeong/VacHopPy&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Licensing provisions:&lt;/em&gt; MIT License&lt;/div&gt;&lt;div&gt;&lt;em&gt;Programming language:&lt;/em&gt; Python&lt;/div&gt;&lt;div&gt;&lt;em&gt;Supplementary material:&lt;/em&gt; Supplementary Figures (S1–S11), Supplementary Tables (S1–S6), and Supplementary Notes (1–4) are provided in a separate PDF file.&lt;/div&gt;&lt;div&gt;&lt;em&gt;Nature of problem:&lt;/em&gt; For modeling of vacancy-mediated diffusion, &lt;em&gt;ab initio&lt;/em&gt; calculations provide path-specific diffusion parameters that are not directly compatible with continuum-scale models, which typically require a single set of effective parameters. Such incompatibility poses a significant challenge in accurately integrating atomistic diffusion behavior into multiscale simulation frameworks, particularly when multiple hopping paths exist in a material system.&lt;/div&gt;&lt;div&gt;&lt;em&gt;Solution method:&lt;/em&gt; Vacancy trajectories are identif","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 110010"},"PeriodicalIF":3.4,"publicationDate":"2025-12-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145880079","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
OpenSn: A massively parallel, open-source simulation environment for discrete ordinates radiation transport openn:离散坐标辐射传输的大规模并行、开源模拟环境
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-21 DOI: 10.1016/j.cpc.2025.110001
David Andrs , Zachary Hardy , Daryl Hawkins , Jim Morel , Dinh Quoc Dang Nguyen , Jean C. Ragusa
<div><div>OpenSn is an open-source, massively parallel deterministic radiation transport code for solving the discrete-ordinates (S<sub><em>N</em></sub>) form of the Boltzmann transport equation on unstructured, arbitrary polyhedral meshes. It supports high-fidelity simulations involving steady-state, eigenvalue, and adjoint problems for neutral particles (e.g., neutrons, photons, multi-particles), using the multigroup approximation in energy.</div><div>OpenSn combines angular discretization via discrete ordinates with a discontinuous Galerkin finite element method (DGFEM) in space, enabling accurate resolution of transport physics on arbitrary polyhedral cells, included locally refined spatial grids. It includes multiple angular quadrature types, including locally refined angular quadratures.</div><div>Written in modern C++ with a Python API, OpenSn runs efficiently on platforms ranging from laptops to supercomputers. The transport sweep algorithm is implemented using a task-based, directed-acyclic-graph (DAG) approach for each angle and supports asynchronous parallelism across thousands of MPI ranks. Group-set aggregation improves compute intensity, and synthetic acceleration techniques (e.g., diffusion synthetic acceleration, second-moment method) enhance solver convergence.</div><div>OpenSn has been verified on reactor physics problems and demonstrated excellent weak and strong scaling performance on more than 32,768 processes, making it a versatile and robust platform for large-scale transport simulations in complex geometries.</div><div><strong>PROGRAM SUMMARY</strong></div><div><strong>Program Title:</strong> OpenSn</div><div><strong>CPC Library link to program files:</strong> <span><span>https://doi.org/10.17632/gvrs69dzcv.1</span><svg><path></path></svg></span></div><div><strong>Developer’s repository link:</strong> <span><span>https://github.com/Open-Sn/OpenSn</span><svg><path></path></svg></span></div><div><strong>Licensing provisions:</strong> MIT license</div><div><strong>Programming language:</strong> C++ (core), Python (API)</div><div><strong>Supplementary material:</strong> User manual, theory documentation, and tutorial notebooks available at <span><span>https://open-sn.github.io/opensn/</span><svg><path></path></svg></span></div><div><strong>Nature of problem:</strong>Radiation transport simulations are central to numerous applications in physics and engineering, including reactor analysis, shielding, radiography, and detector modeling. Solving the linear Boltzmann transport equation in its discrete-ordinates form (S<sub><em>N</em></sub>) on complex geometries requires robust numerical methods and scalable parallel algorithms. Many existing codes are closed-source, lack support for polyhedral meshes, or do not efficiently exploit modern HPC systems. A flexible, open-source tool is needed to address these challenges while supporting methodological innovation and large-scale computation.</div><div><strong>Solution method:</strong>
OpenSn是一个开源的、大规模并行的确定性辐射输运代码,用于求解非结构化、任意多面体网格上玻尔兹曼输运方程的离散坐标(SN)形式。它支持高保真模拟涉及稳态,特征值,和伴随问题的中性粒子(例如,中子,光子,多粒子),使用多群近似的能量。OpenSn结合了离散坐标的角度离散化和空间中的不连续Galerkin有限元法(DGFEM),可以在任意多面体单元(包括局部细化的空间网格)上实现精确的传输物理分辨率。它包括多种角正交类型,包括局部精细角正交。OpenSn使用现代c++和Python API编写,可以在从笔记本电脑到超级计算机的各种平台上高效运行。传输扫描算法对每个角度使用基于任务的定向无循环图(DAG)方法实现,并支持跨数千个MPI等级的异步并行性。群集聚集提高了计算强度,合成加速技术(如扩散合成加速、二阶矩法)增强了求解器的收敛性。OpenSn已经在反应堆物理问题上进行了验证,并在超过32,768个过程中展示了出色的弱和强缩放性能,使其成为复杂几何结构中大规模传输模拟的通用和健壮的平台。项目简介项目名称:OpenSnCPC库链接到程序文件:https://doi.org/10.17632/gvrs69dzcv.1Developer的存储库链接:https://github.com/Open-Sn/OpenSnLicensing条款:MIT许可编程语言:c++(核心),Python (API)补充材料:用户手册,理论文档和教程笔记本可在https://open-sn.github.io/opensn/Nature的问题:辐射输运模拟是核心的许多应用在物理和工程,包括反应堆分析,屏蔽,射线照相,和探测器建模。求解复杂几何上离散坐标形式的线性玻尔兹曼输运方程需要鲁棒的数值方法和可扩展的并行算法。许多现有的代码是闭源的,缺乏对多面体网格的支持,或者不能有效地利用现代高性能计算系统。在支持方法创新和大规模计算的同时,需要一个灵活的开源工具来解决这些挑战。求解方法:OpenSn利用能量上的多群近似、空间上的不连续伽辽金有限元法(DGFEM)和角度上的配点法求解离散坐标玻尔兹曼输运方程[1]的稳态、特征值和伴随形式。它支持任意的非结构化多边形和多面体网格,以及角正交集。传输扫描使用基于有向无循环图(DAG)的任务执行模型实现,支持高度可扩展的基于mpi的并行性[2]。代码是用c++编写的,并提供了一个Python接口用于预处理和后处理。采用加速技术[3,4],包括扩散合成加速(DSA)和基于第二矩的方法,以提高收敛性。OpenSn已经在数千个核心上进行了测试,并根据已知的基准进行了验证。其他评论包括限制和不寻常的功能:OpenSn被设计为一个研究级的,可扩展的高保真辐射传输模拟平台。它特别适合于对实验新的数值方法、网格类型和求解器加速策略感兴趣的用户。代码具有最小的外部依赖,使用CMake进行构建,并包含示例问题和教程。GPU加速正在开发中。对问题的大小没有特别的限制,但是大规模的模拟需要访问并行计算资源。李建军,李建军,李建军,中子输运的计算方法,原子物理学报,1993.2.J。I. C. Vermaak, J. C. Ragusa, M. L. Adams和J. E. Morel。,“基于循环依赖的网格的大规模并行传输扫描”,计算物理学报,42 (10):1098 - 992,2021.1 . m。L. Adams和E. W. Larsen,“离散坐标粒子输运计算的快速迭代方法”,硕士论文。诊断。能源学报,40(1):3-159,2002.4.B。李志刚,“二维任意多边形网格中SN输运的非连续扩散合成加速度,”计算物理学报,34(4):356-369,2014。
{"title":"OpenSn: A massively parallel, open-source simulation environment for discrete ordinates radiation transport","authors":"David Andrs ,&nbsp;Zachary Hardy ,&nbsp;Daryl Hawkins ,&nbsp;Jim Morel ,&nbsp;Dinh Quoc Dang Nguyen ,&nbsp;Jean C. Ragusa","doi":"10.1016/j.cpc.2025.110001","DOIUrl":"10.1016/j.cpc.2025.110001","url":null,"abstract":"&lt;div&gt;&lt;div&gt;OpenSn is an open-source, massively parallel deterministic radiation transport code for solving the discrete-ordinates (S&lt;sub&gt;&lt;em&gt;N&lt;/em&gt;&lt;/sub&gt;) form of the Boltzmann transport equation on unstructured, arbitrary polyhedral meshes. It supports high-fidelity simulations involving steady-state, eigenvalue, and adjoint problems for neutral particles (e.g., neutrons, photons, multi-particles), using the multigroup approximation in energy.&lt;/div&gt;&lt;div&gt;OpenSn combines angular discretization via discrete ordinates with a discontinuous Galerkin finite element method (DGFEM) in space, enabling accurate resolution of transport physics on arbitrary polyhedral cells, included locally refined spatial grids. It includes multiple angular quadrature types, including locally refined angular quadratures.&lt;/div&gt;&lt;div&gt;Written in modern C++ with a Python API, OpenSn runs efficiently on platforms ranging from laptops to supercomputers. The transport sweep algorithm is implemented using a task-based, directed-acyclic-graph (DAG) approach for each angle and supports asynchronous parallelism across thousands of MPI ranks. Group-set aggregation improves compute intensity, and synthetic acceleration techniques (e.g., diffusion synthetic acceleration, second-moment method) enhance solver convergence.&lt;/div&gt;&lt;div&gt;OpenSn has been verified on reactor physics problems and demonstrated excellent weak and strong scaling performance on more than 32,768 processes, making it a versatile and robust platform for large-scale transport simulations in complex geometries.&lt;/div&gt;&lt;div&gt;&lt;strong&gt;PROGRAM SUMMARY&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Program Title:&lt;/strong&gt; OpenSn&lt;/div&gt;&lt;div&gt;&lt;strong&gt;CPC Library link to program files:&lt;/strong&gt; &lt;span&gt;&lt;span&gt;https://doi.org/10.17632/gvrs69dzcv.1&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Developer’s repository link:&lt;/strong&gt; &lt;span&gt;&lt;span&gt;https://github.com/Open-Sn/OpenSn&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Licensing provisions:&lt;/strong&gt; MIT license&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Programming language:&lt;/strong&gt; C++ (core), Python (API)&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Supplementary material:&lt;/strong&gt; User manual, theory documentation, and tutorial notebooks available at &lt;span&gt;&lt;span&gt;https://open-sn.github.io/opensn/&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Nature of problem:&lt;/strong&gt;Radiation transport simulations are central to numerous applications in physics and engineering, including reactor analysis, shielding, radiography, and detector modeling. Solving the linear Boltzmann transport equation in its discrete-ordinates form (S&lt;sub&gt;&lt;em&gt;N&lt;/em&gt;&lt;/sub&gt;) on complex geometries requires robust numerical methods and scalable parallel algorithms. Many existing codes are closed-source, lack support for polyhedral meshes, or do not efficiently exploit modern HPC systems. A flexible, open-source tool is needed to address these challenges while supporting methodological innovation and large-scale computation.&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Solution method:&lt;/strong&gt;","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 110001"},"PeriodicalIF":3.4,"publicationDate":"2025-12-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145920953","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
QR2-code: An open-source program for double resonance Raman spectra QR2-code:双共振拉曼光谱的开源程序
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-20 DOI: 10.1016/j.cpc.2025.110005
Jianqi Huang , Renhui Liu , Ye Zhang , Nguyen Tuan Hung , Huaihong Guo , Riichiro Saito , Teng Yang
We present an open-source program QR2-code that computes double-resonance Raman (DRR) spectra using first-principles calculations. QR2-code can calculate not only two-phonon DRR spectra but also single-resonance Raman spectra and defect-induced DRR spectra. For defect-induced DRR spectra, we simply assume that the electron-defect matrix element of elastic scattering is a constant. Hands-on tutorials for graphene are given to show how to run QR2-code for single-resonance, double-resonance, and defect-induced Raman spectra. We also compare the single-resonance Raman spectra by QR2-code with that by QERaman code. In QR2-code, the Raman spectrum is calculated by the time-dependent perturbation theory, in which the energy dispersions of electron and phonon are taken from Quantum ESPRESSO (QE) code and the electron-phonon matrix element is obtained from the modified Electron-Phonon-Wannier (EPW) code. All codes, examples, and scripts are available on the GitHub repository.
Program Summary
Program Title: QR2-code
CPC Library link to program files: https://doi.org/10.17632/vstc3hx5bs.1
Developer’s repository link: https://github.com/JoeyyHuang/QR2-code
Licensing provisions: GNU General Public Licence 3.0
Programming language: Fortran
External routines: Quantum ESPRESSO v7.3.1, EPW v5.8.1
Nature of problem:Single-resonance, double-resonance, and defect-induced Raman spectra with first-principles calculations.
Solution method:The Raman spectrum is calculated by the time-dependent perturbation theory, in which the energy dispersions of electron and phonon and electron-phonon matrix elements are obtained from the Quantum ESPRESSO and modified EPW codes. Supplementary material: http://qr2-code.com
我们提出了一个开源程序QR2-code,计算双共振拉曼(DRR)光谱使用第一性原理计算。qr2码不仅可以计算双声子DRR谱,还可以计算单共振拉曼谱和缺陷诱导DRR谱。对于缺陷诱导的DRR光谱,我们简单地假设弹性散射的电子缺陷矩阵元素是常数。石墨烯的动手教程给出了显示如何运行qr2代码的单共振,双共振,和缺陷诱导的拉曼光谱。我们还比较了qr2码和QERaman码的单共振拉曼光谱。在qr2码中,利用时变微扰理论计算拉曼谱,其中电子和声子的能量色散取自Quantum ESPRESSO (QE)码,电子-声子-万尼尔(EPW)码得到电子-声子矩阵元。所有代码、示例和脚本都可以在GitHub存储库中获得。程序摘要程序标题:QR2-codeCPC库链接到程序文件:https://doi.org/10.17632/vstc3hx5bs.1Developer的存储库链接:https://github.com/JoeyyHuang/QR2-codeLicensing条款:GNU通用公共许可证3.0编程语言:fortran外部例程:Quantum ESPRESSO v7.3.1, EPW v5.8.1问题的性质:单共振,双共振和缺陷诱导的拉曼光谱与第一级原理计算。求解方法:利用时变摄动理论计算拉曼谱,其中电子和声子的能量色散以及电子-声子矩阵元素的能量色散分别由量子ESPRESSO和改进的EPW代码得到。补充资料:http://qr2-code.com
{"title":"QR2-code: An open-source program for double resonance Raman spectra","authors":"Jianqi Huang ,&nbsp;Renhui Liu ,&nbsp;Ye Zhang ,&nbsp;Nguyen Tuan Hung ,&nbsp;Huaihong Guo ,&nbsp;Riichiro Saito ,&nbsp;Teng Yang","doi":"10.1016/j.cpc.2025.110005","DOIUrl":"10.1016/j.cpc.2025.110005","url":null,"abstract":"<div><div>We present an open-source program <span>QR<sup>2</sup>-code</span> that computes double-resonance Raman (DRR) spectra using first-principles calculations. <span>QR<sup>2</sup>-code</span> can calculate not only two-phonon DRR spectra but also single-resonance Raman spectra and defect-induced DRR spectra. For defect-induced DRR spectra, we simply assume that the electron-defect matrix element of elastic scattering is a constant. Hands-on tutorials for graphene are given to show how to run <span>QR<sup>2</sup>-code</span> for single-resonance, double-resonance, and defect-induced Raman spectra. We also compare the single-resonance Raman spectra by <span>QR<sup>2</sup>-code</span> with that by <span>QERaman</span> code. In <span>QR<sup>2</sup>-code</span>, the Raman spectrum is calculated by the time-dependent perturbation theory, in which the energy dispersions of electron and phonon are taken from <span>Quantum ESPRESSO</span> (<span>QE</span>) code and the electron-phonon matrix element is obtained from the modified Electron-Phonon-Wannier (<span>EPW</span>) code. All codes, examples, and scripts are available on the GitHub repository.</div><div><strong>Program Summary</strong></div><div><em>Program Title:</em> <span>QR<sup>2</sup>-code</span></div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/vstc3hx5bs.1</span><svg><path></path></svg></span></div><div><em>Developer’s repository link:</em> <span><span>https://github.com/JoeyyHuang/QR2-code</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GNU General Public Licence 3.0</div><div><em>Programming language:</em> Fortran</div><div><em>External routines</em>: <span>Quantum ESPRESSO v7.3.1</span>, <span>EPW v5.8.1</span></div><div><em>Nature of problem:</em>Single-resonance, double-resonance, and defect-induced Raman spectra with first-principles calculations.</div><div><em>Solution method:</em>The Raman spectrum is calculated by the time-dependent perturbation theory, in which the energy dispersions of electron and phonon and electron-phonon matrix elements are obtained from the <span>Quantum ESPRESSO</span> and modified <span>EPW</span> codes. <em>Supplementary material:</em> <span><span>http://qr2-code.com</span><svg><path></path></svg></span></div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 110005"},"PeriodicalIF":3.4,"publicationDate":"2025-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145880068","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Benchmarking Monte Carlo codes for the modelling of low-energy neutron production target reactions 模拟低能中子产生目标反应的基准蒙特卡罗代码
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-20 DOI: 10.1016/j.cpc.2025.109998
Sherryn MacLeod , Klaudiusz Jakubowski , James Vohradsky , Daniel R. Franklin , Toshiro Sakabe , Akram Hamato , Masahiro Okamura , Susanna Guatelli , Mitra Safavi-Naeini
The increasing adoption of accelerator-based neutron sources (ABNS) for applications including neutron capture therapy (NCT) research has highlighted the need for accurate simulation tools. Precise modelling of the neutron production target is crucial to ensure that simulated predictions of neutron beam characteristics used for subsequent beam shaping assembly design are reliable. This work presents a comprehensive benchmarking of four widely-used Monte Carlo codes - Geant4, PHITS, FLUKA (CERN), and MCNP - for modelling low-energy neutron production target reactions. Using their recommended physics models and cross-section libraries, we evaluate each code’s performance in simulating four beam-target reactions: 7Li(p,n)7Be, 9Be(p,n)9B, 9Be(d,n)10B, and C(d,n)N. Predictions of neutron yield, angular distributions, and energy spectra are compared against available thick target experimental data. Results show varying levels of agreement between the codes depending on the reaction type, energy range, and beam characteristics. Geant4, MCNP and PHITS are the overall best performing codes for the simulation of total neutron yield and yield in the forward direction across most reactions. Across energies where experimental benchmarks exist, inter-code discrepancies in total and forward-directed yield are typically 10 to 30%, with larger deviations at near-threshold incident ion energies. PHITS provides the best overall reproduction of experimental spectra, particularly for the 9Be(p,n)9B reaction. Additionally, PHITS demonstrates superior computational performance for most reactions. These findings provide valuable guidance for ABNS design, highlighting the strengths and limitations of each code for the simulation of low-energy neutron production reactions.
基于加速器的中子源(ABNS)越来越多地应用于中子捕获治疗(NCT)研究,这凸显了对精确模拟工具的需求。中子产生目标的精确建模对于确保用于后续光束成形组件设计的中子束特性的模拟预测是可靠的至关重要。这项工作提出了四种广泛使用的蒙特卡罗代码的综合基准- Geant4, PHITS, FLUKA (CERN)和MCNP -用于模拟低能中子产生目标反应。使用他们推荐的物理模型和截面库,我们评估了每个代码在模拟四种束靶反应中的性能:7Li(p,n)7Be, 9Be(p,n)9B, 9Be(d,n)10B和C(d,n) n。预测的中子产率、角分布和能谱与现有的厚靶实验数据进行了比较。结果表明,根据反应类型、能量范围和光束特性的不同,规范之间的一致性有所不同。Geant4、MCNP和PHITS是模拟大多数反应的总中子产率和正向产率的最佳代码。在存在实验基准的能量范围内,总产率和正向产率的码间差异通常为10%至30%,在接近阈值的入射离子能量处偏差更大。PHITS提供了实验光谱的最佳整体再现,特别是对于9Be(p,n)9B反应。此外,PHITS在大多数反应中表现出优越的计算性能。这些发现为ABNS的设计提供了有价值的指导,突出了每个代码用于模拟低能中子产生反应的优势和局限性。
{"title":"Benchmarking Monte Carlo codes for the modelling of low-energy neutron production target reactions","authors":"Sherryn MacLeod ,&nbsp;Klaudiusz Jakubowski ,&nbsp;James Vohradsky ,&nbsp;Daniel R. Franklin ,&nbsp;Toshiro Sakabe ,&nbsp;Akram Hamato ,&nbsp;Masahiro Okamura ,&nbsp;Susanna Guatelli ,&nbsp;Mitra Safavi-Naeini","doi":"10.1016/j.cpc.2025.109998","DOIUrl":"10.1016/j.cpc.2025.109998","url":null,"abstract":"<div><div>The increasing adoption of accelerator-based neutron sources (ABNS) for applications including neutron capture therapy (NCT) research has highlighted the need for accurate simulation tools. Precise modelling of the neutron production target is crucial to ensure that simulated predictions of neutron beam characteristics used for subsequent beam shaping assembly design are reliable. This work presents a comprehensive benchmarking of four widely-used Monte Carlo codes - Geant4, PHITS, FLUKA (CERN), and MCNP - for modelling low-energy neutron production target reactions. Using their recommended physics models and cross-section libraries, we evaluate each code’s performance in simulating four beam-target reactions: <sup>7</sup>Li(p,n)<sup>7</sup>Be, <sup>9</sup>Be(p,n)<sup>9</sup>B, <sup>9</sup>Be(d,n)<sup>10</sup>B, and C(d,n)N. Predictions of neutron yield, angular distributions, and energy spectra are compared against available thick target experimental data. Results show varying levels of agreement between the codes depending on the reaction type, energy range, and beam characteristics. Geant4, MCNP and PHITS are the overall best performing codes for the simulation of total neutron yield and yield in the forward direction across most reactions. Across energies where experimental benchmarks exist, inter-code discrepancies in total and forward-directed yield are typically 10 to 30%, with larger deviations at near-threshold incident ion energies. PHITS provides the best overall reproduction of experimental spectra, particularly for the <sup>9</sup>Be(p,n)<sup>9</sup>B reaction. Additionally, PHITS demonstrates superior computational performance for most reactions. These findings provide valuable guidance for ABNS design, highlighting the strengths and limitations of each code for the simulation of low-energy neutron production reactions.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 109998"},"PeriodicalIF":3.4,"publicationDate":"2025-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145923459","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Dofulator: A tool for calculating degrees of freedom of atoms in molecules with geometry constraints Dofulator:计算具有几何约束的分子中原子自由度的工具
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-19 DOI: 10.1016/j.cpc.2025.110003
Stephen Sanderson , Sobin Alosious , Debra J. Searles
<div><div>Recently, we proposed a method for calculating per-atom and per-direction degrees of freedom (DoF) in the presence of geometric constraints, enabling fine-grained local kinetic temperature calculations. Here, we discuss relevant implementation details for various constraint geometries, including those which feature kinematic loops (e.g. benzene with rigid bond lengths). Furthermore, by analyzing the effects of deformation of semi-rigid molecules on the DoF of each constituent atom, we gain insight into conditions under which atomic DoF may vary significantly during a simulation. This provides some guidance towards cases where local DoF should be calculated dynamically to obtain reliable local temperature measurements, and cases where using the atomic DoF of the equilibrium geometry as a constant throughout the simulation would be sufficient. We have implemented the presented algorithms in an open-source C library, <span>dofulator</span>, which can be used on its own or through a Python interface that includes compatibility with the popular MDAnalysis package.</div><div><strong>Program summary</strong> <em>Program Title:</em> <span>dofulator</span> <em>CPC Library link to program files:</em> (to be added by Technical Editor) <em>Developer’s repository link:</em> <span><span>https://github.com/CTCMS-UQ/dofulator</span><svg><path></path></svg></span> <em>Licensing provisions:</em> MPL-2.0 <em>Programming language:</em> C, Python</div><div><em>Nature of problem:</em> In molecular simulations with geometry constraints, determining the degrees of freedom (DoF) associated with a local kinetic temperature measurement can become non-trivial when constraints include atoms both inside and outside the local subset of interest [1]. The (fractional) DoF of atoms in a rigid body depends on their masses and the molecular geometry. If constraints do not form a rigid body, but instead a semi-rigid fragment, then the partitioning of atomic DoF can vary as the fragment deforms. Furthermore, if directional kinetic temperatures are required, DoF along each direction must be determined, which additionally depend on the orientation of the rigid body or semi-rigid fragment.</div><div><em>Solution method:</em> Atomic DoF can be calculated by the relative contribution of each atom to the inertia of each mode of motion [1]. This software allows rigid bodies and semi-rigid fragments to be defined, from which a plan is constructed for determining said modes and contributions. Once constructed, a plan can be applied repeatedly to calculate atomic DoF on required frames of a molecular dynamics trajectory.</div><div><em>Additional comments including restrictions and unusual features:</em> The core <span>dofulator</span> library is provided as a C API, depending only on a BLAS and LAPACK implementation and suitable for direct integration with a molecular dynamics engine (possibly with some modifications). For convenience, a thin Python wrapper is also provided, and this
最近,我们提出了一种在几何约束下计算单原子和单方向自由度(DoF)的方法,从而实现了细粒度的局部动力学温度计算。在这里,我们讨论了各种约束几何的相关实现细节,包括那些具有运动环的几何(例如具有刚性键长的苯)。此外,通过分析半刚性分子的变形对各组成原子的自由度的影响,我们深入了解了在模拟过程中原子自由度可能发生显著变化的条件。这为局部DoF应该动态计算以获得可靠的局部温度测量以及在整个模拟过程中使用平衡几何的原子DoF作为常数就足够的情况下提供了一些指导。我们已经在一个开源的C库dofulator中实现了所介绍的算法,dofulator可以单独使用,也可以通过Python接口使用,该接口包括与流行的MDAnalysis包的兼容性。程序摘要程序名称:dofulator CPC库链接到程序文件:(由技术编辑添加)开发人员存储库链接:https://github.com/CTCMS-UQ/dofulator许可条款:mpls -2.0编程语言:C, python问题性质:在具有几何约束的分子模拟中,当约束包括感兴趣的局部子集[1]内外的原子时,确定与局部动力学温度测量相关的自由度(DoF)可能变得非常重要。刚体中原子的(分数)自由度取决于它们的质量和分子几何形状。如果约束不形成刚体,而是半刚性碎片,那么原子自由度的划分可能随着碎片的变形而变化。此外,如果需要定向动力学温度,则必须确定沿每个方向的自由度,这还取决于刚体或半刚性碎片的方向。求解方法:原子自由度可以通过每个原子对每种运动模式惯性的相对贡献[1]来计算。该软件允许定义刚体和半刚体碎片,从中构建用于确定所述模式和贡献的计划。一旦建立,一个计划可以重复应用,以计算所需的框架的分子动力学轨迹的原子自由度。附加注释,包括限制和不寻常的功能:核心dofulator库作为C API提供,仅依赖于BLAS和LAPACK实现,适合与分子动力学引擎直接集成(可能需要进行一些修改)。为了方便起见,还提供了一个薄薄的Python包装器,它用于提供MDAnalysis的插件[2,3],它提供了一种简单的方法来读取分子动力学轨迹并定义局部原子选择以进行局部DoF和温度的后处理。利益声明作者声明,他们没有已知的竞争经济利益或个人关系,可能会影响本文所报道的工作。引用文献[10]孙建军,李建军,李建军,基于分子动力学的局部温度测量方法,化学学报,20(23)(2024):1015 - 1024。doi: 10.1021 / acs.jctc。[c00957] m . michaod - agrawal, E. J. Denning, T. B. Woolf, O. Beckstein, m . analysis:一个分析分子动力学模拟的工具箱,计算化学32(10)(2011)2319-2327。doi: 10.1002 / jcc。[1787] R. Gowers, M. Linke, J. Barnoud, T. Reddy, M. Melo, S. Seyler, J. Domański, D. Dotson, S. Buchoux, I. Kenney, O. Beckstein, MDAnalysis:一个快速分析分子动力学模拟的Python包,第15届Python科学会议论文集,SciPy, 2016。doi: 10.25080 /改称- 629 - e541a - 00 - e。
{"title":"Dofulator: A tool for calculating degrees of freedom of atoms in molecules with geometry constraints","authors":"Stephen Sanderson ,&nbsp;Sobin Alosious ,&nbsp;Debra J. Searles","doi":"10.1016/j.cpc.2025.110003","DOIUrl":"10.1016/j.cpc.2025.110003","url":null,"abstract":"&lt;div&gt;&lt;div&gt;Recently, we proposed a method for calculating per-atom and per-direction degrees of freedom (DoF) in the presence of geometric constraints, enabling fine-grained local kinetic temperature calculations. Here, we discuss relevant implementation details for various constraint geometries, including those which feature kinematic loops (e.g. benzene with rigid bond lengths). Furthermore, by analyzing the effects of deformation of semi-rigid molecules on the DoF of each constituent atom, we gain insight into conditions under which atomic DoF may vary significantly during a simulation. This provides some guidance towards cases where local DoF should be calculated dynamically to obtain reliable local temperature measurements, and cases where using the atomic DoF of the equilibrium geometry as a constant throughout the simulation would be sufficient. We have implemented the presented algorithms in an open-source C library, &lt;span&gt;dofulator&lt;/span&gt;, which can be used on its own or through a Python interface that includes compatibility with the popular MDAnalysis package.&lt;/div&gt;&lt;div&gt;&lt;strong&gt;Program summary&lt;/strong&gt; &lt;em&gt;Program Title:&lt;/em&gt; &lt;span&gt;dofulator&lt;/span&gt; &lt;em&gt;CPC Library link to program files:&lt;/em&gt; (to be added by Technical Editor) &lt;em&gt;Developer’s repository link:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/CTCMS-UQ/dofulator&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; &lt;em&gt;Licensing provisions:&lt;/em&gt; MPL-2.0 &lt;em&gt;Programming language:&lt;/em&gt; C, Python&lt;/div&gt;&lt;div&gt;&lt;em&gt;Nature of problem:&lt;/em&gt; In molecular simulations with geometry constraints, determining the degrees of freedom (DoF) associated with a local kinetic temperature measurement can become non-trivial when constraints include atoms both inside and outside the local subset of interest [1]. The (fractional) DoF of atoms in a rigid body depends on their masses and the molecular geometry. If constraints do not form a rigid body, but instead a semi-rigid fragment, then the partitioning of atomic DoF can vary as the fragment deforms. Furthermore, if directional kinetic temperatures are required, DoF along each direction must be determined, which additionally depend on the orientation of the rigid body or semi-rigid fragment.&lt;/div&gt;&lt;div&gt;&lt;em&gt;Solution method:&lt;/em&gt; Atomic DoF can be calculated by the relative contribution of each atom to the inertia of each mode of motion [1]. This software allows rigid bodies and semi-rigid fragments to be defined, from which a plan is constructed for determining said modes and contributions. Once constructed, a plan can be applied repeatedly to calculate atomic DoF on required frames of a molecular dynamics trajectory.&lt;/div&gt;&lt;div&gt;&lt;em&gt;Additional comments including restrictions and unusual features:&lt;/em&gt; The core &lt;span&gt;dofulator&lt;/span&gt; library is provided as a C API, depending only on a BLAS and LAPACK implementation and suitable for direct integration with a molecular dynamics engine (possibly with some modifications). For convenience, a thin Python wrapper is also provided, and this","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 110003"},"PeriodicalIF":3.4,"publicationDate":"2025-12-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145836433","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Efficient algorithms for accurately simulating radiative transfer in binary stochastic mixtures in two dimensions 二维二元随机混合物中精确模拟辐射传输的有效算法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-19 DOI: 10.1016/j.cpc.2025.110007
Cong-Zhang Gao , Jian-Wei Yin , Ying Cai , Xu Liu , Zheng-Feng Fan , Pei Wang , Shao-Ping Zhu
In recent decades, radiative transfer through the binary stochastic mixtures (i.e., a fraction of particulate high-Z materials are randomly dispersed into the low-Z background material, where the label Z means the atomic number) has received great attention in many scientific and engineering disciplines, accurate and efficient simulations in multidimensions are much in demand. In this work, we primarily focus on the efficient algorithms for accurately simulating radiative transfer in binary stochastic mixtures in two dimensions. Our computational model is to solve the radiation-material coupled equations for an ensemble of binary stochastic mixtures. In this context, a subgrid-based nearest-neighbor searching (SNNS) algorithm is introduced to explicitly model the binary stochastic mixture, resulting in an O(N) scaling with the number of particles, which is more flexible than the fast random sequential addition (RSA) algorithm. In order to accurately determine the grid-based parameters, a particle-resolved algorithm is developed by dividing the relationship between the particle’s location and the grid into four categories, reproducing analytical results exactly and efficiently. A parallel algorithm using the spatial domain decomposition with directed acylic graph (DAG) techniques is proposed to efficiently solve the radiation-material coupled equations. These algorithms are combined to enable accurate and efficient simulations in two dimensions, which is validated by reported benchmark results. We find that convergent results require a sufficiently high resolution of the particle and a high-order quadrature. Although results based on one physical realization are somewhat representative, the ensemble-averaged results are more meaningful to avoid the statistical anomalies in some cases. Moreover, case studies on the influence of particle size distribution, the validation of the effective opacity models, and the particle size effect are presented and analyzed. Our work provides efficient algorithms for routinely simulating radiative transfer in binary stochastic mixtures in multidimensions, which can yield the benchmark results for analytical homogenized models of relevance.
近几十年来,通过二元随机混合(即一小部分高Z粒子材料随机分散到低Z背景材料中,其中Z表示原子序数)的辐射传输在许多科学和工程学科中受到了极大的关注,迫切需要在多维空间中进行准确和高效的模拟。在这项工作中,我们主要关注在二维二进制随机混合物中精确模拟辐射传输的有效算法。我们的计算模型是求解二元随机混合系综的辐射-物质耦合方程。在此背景下,引入基于子网格的最近邻搜索(SNNS)算法对二元随机混合进行显式建模,使其与粒子数成O(N)比例,比快速随机顺序加法(RSA)算法更灵活。为了准确地确定基于网格的参数,提出了一种粒子分辨算法,将粒子位置与网格之间的关系划分为四类,准确、高效地再现了分析结果。为了有效求解辐射-材料耦合方程,提出了一种基于有向无环图的空间域分解并行算法。这些算法结合在一起,实现了二维的精确和高效的模拟,并通过报告的基准结果验证了这一点。我们发现收敛结果需要足够高的粒子分辨率和高阶正交。虽然基于一种物理实现的结果具有一定的代表性,但在某些情况下,集成平均结果对于避免统计异常更有意义。此外,还对粒径分布的影响、有效不透明度模型的验证以及粒径效应进行了实例分析。我们的工作提供了在多维二进制随机混合物中常规模拟辐射传输的有效算法,可以为相关的分析均质模型提供基准结果。
{"title":"Efficient algorithms for accurately simulating radiative transfer in binary stochastic mixtures in two dimensions","authors":"Cong-Zhang Gao ,&nbsp;Jian-Wei Yin ,&nbsp;Ying Cai ,&nbsp;Xu Liu ,&nbsp;Zheng-Feng Fan ,&nbsp;Pei Wang ,&nbsp;Shao-Ping Zhu","doi":"10.1016/j.cpc.2025.110007","DOIUrl":"10.1016/j.cpc.2025.110007","url":null,"abstract":"<div><div>In recent decades, radiative transfer through the binary stochastic mixtures (i.e., a fraction of particulate high-<em>Z</em> materials are randomly dispersed into the low-<em>Z</em> background material, where the label <em>Z</em> means the atomic number) has received great attention in many scientific and engineering disciplines, accurate and efficient simulations in multidimensions are much in demand. In this work, we primarily focus on the efficient algorithms for accurately simulating radiative transfer in binary stochastic mixtures in two dimensions. Our computational model is to solve the radiation-material coupled equations for an ensemble of binary stochastic mixtures. In this context, a subgrid-based nearest-neighbor searching (SNNS) algorithm is introduced to explicitly model the binary stochastic mixture, resulting in an <em>O</em>(<em>N</em>) scaling with the number of particles, which is more flexible than the fast random sequential addition (RSA) algorithm. In order to accurately determine the grid-based parameters, a particle-resolved algorithm is developed by dividing the relationship between the particle’s location and the grid into four categories, reproducing analytical results exactly and efficiently. A parallel algorithm using the spatial domain decomposition with directed acylic graph (DAG) techniques is proposed to efficiently solve the radiation-material coupled equations. These algorithms are combined to enable accurate and efficient simulations in two dimensions, which is validated by reported benchmark results. We find that convergent results require a sufficiently high resolution of the particle and a high-order quadrature. Although results based on one physical realization are somewhat representative, the ensemble-averaged results are more meaningful to avoid the statistical anomalies in some cases. Moreover, case studies on the influence of particle size distribution, the validation of the effective opacity models, and the particle size effect are presented and analyzed. Our work provides efficient algorithms for routinely simulating radiative transfer in binary stochastic mixtures in multidimensions, which can yield the benchmark results for analytical homogenized models of relevance.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 110007"},"PeriodicalIF":3.4,"publicationDate":"2025-12-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145836435","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
AFIS - A simulation framework for detection of aerosol fluorescence with integrating spheres 用积分球检测气溶胶荧光的模拟框架
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-18 DOI: 10.1016/j.cpc.2025.110008
Julian Soltau , Arne Walter , Frank Duschek , Thomas Dekorsy
We present a new simulation framework for the detection of aerosol fluorescence with integration spheres. Utilizing a Monte Carlo based ray-tracing approach, aerosol fluorescence within integrating sphere setups is simulated from photon generation through laser excitation over interactions with the setup components to losses and finally detection. Through modular design, the position and number of openings, sensors, etc. can be freely configured. Therefore, potential experimental setups can be evaluated with regard to overall performance, bottlenecks can be identified and the impact of different component parameters determined.
PROGRAM SUMMARY
Program Title: AFIS - Aerosol Fluorescence in Integrating Spheres
CPC Library link to program files: https://doi.org/10.17632/nj9dg3tr6d.1
Licensing provisions: BSD 3-clause
Programming language: Python
Nature of problem: Measuring (bio-)aerosol fluorescence is a complex task, especially for thin aerosols. In order to evaluate new experimental setups utilizing an integrating sphere, simulation data is essential to asses which system configurations yield promising results. Therefore, a simulation environment capable of calculating the different interactions within the setup is necessary, ideally providing a high level of customizability for the simulated setups.
Solution method: The AFIS simulation framework utilizes a ray-tracing approach based on a classical Monte Carlo description of the involved processes. Through batch-wise processing and penalization the computational efficiency is increased.
本文提出了一种利用积分球检测气溶胶荧光的模拟框架。利用基于蒙特卡罗的光线追踪方法,模拟了积分球设置内的气溶胶荧光,从光子产生到激光激发与设置组件的相互作用,再到损失和最终检测。通过模块化设计,可自由配置开口、传感器等的位置和数量。因此,可以根据整体性能评估潜在的实验设置,可以识别瓶颈并确定不同组件参数的影响。程序摘要程序标题:AFIS -气溶胶荧光在整合球体cpc库链接到程序文件:https://doi.org/10.17632/nj9dg3tr6d.1Licensing条款:BSD 3-条款编程语言:python问题的性质:测量(生物)气溶胶荧光是一项复杂的任务,特别是薄气溶胶。为了利用积分球评估新的实验设置,模拟数据对于评估哪种系统配置产生有希望的结果是必不可少的。因此,需要一个能够计算设置内不同交互的模拟环境,理想情况下,为模拟设置提供高水平的可定制性。求解方法:AFIS仿真框架利用基于所涉及过程的经典蒙特卡罗描述的光线跟踪方法。通过批处理和惩罚,提高了计算效率。
{"title":"AFIS - A simulation framework for detection of aerosol fluorescence with integrating spheres","authors":"Julian Soltau ,&nbsp;Arne Walter ,&nbsp;Frank Duschek ,&nbsp;Thomas Dekorsy","doi":"10.1016/j.cpc.2025.110008","DOIUrl":"10.1016/j.cpc.2025.110008","url":null,"abstract":"<div><div>We present a new simulation framework for the detection of aerosol fluorescence with integration spheres. Utilizing a Monte Carlo based ray-tracing approach, aerosol fluorescence within integrating sphere setups is simulated from photon generation through laser excitation over interactions with the setup components to losses and finally detection. Through modular design, the position and number of openings, sensors, etc. can be freely configured. Therefore, potential experimental setups can be evaluated with regard to overall performance, bottlenecks can be identified and the impact of different component parameters determined.</div><div><strong>PROGRAM SUMMARY</strong></div><div><em>Program Title:</em> AFIS - <strong>A</strong>erosol <strong>F</strong>luorescence in <strong>I</strong>ntegrating <strong>S</strong>pheres</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/nj9dg3tr6d.1</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> BSD 3-clause</div><div><em>Programming language:</em> Python</div><div><em>Nature of problem:</em> Measuring (bio-)aerosol fluorescence is a complex task, especially for thin aerosols. In order to evaluate new experimental setups utilizing an integrating sphere, simulation data is essential to asses which system configurations yield promising results. Therefore, a simulation environment capable of calculating the different interactions within the setup is necessary, ideally providing a high level of customizability for the simulated setups.</div><div><em>Solution method:</em> The AFIS simulation framework utilizes a ray-tracing approach based on a classical Monte Carlo description of the involved processes. Through batch-wise processing and penalization the computational efficiency is increased.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110008"},"PeriodicalIF":3.4,"publicationDate":"2025-12-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145974179","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
OpenEdge: A collaborative, open-source, multi-purpose direct simulation Monte Carlo for plasma simulation in magnetic fusion environments OpenEdge:一个协作的、开源的、多用途的直接模拟蒙特卡罗,用于磁融合环境中的等离子体模拟
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-12-18 DOI: 10.1016/j.cpc.2025.109993
A. Diaw, C.A. Johnson, E.A. Unterberg, J. Nichols
OpenEdge is a collaborative, open-source, object-oriented Direct Simulation Monte Carlo (DSMC) code, designed specifically for plasma simulations in magnetic fusion environments. The code features include advanced structures, robust capabilities, and an effective parallelization strategy, all of which significantly enhance performance. It includes specialized modules for managing complex particle interactions, including collisions, ionization/recombination, and reflection/sputtering. Benchmarks and performance analyses have confirmed its efficiency and scalability. Versatile and adaptable, OpenEdge is applied across a broad spectrum of plasma-material interaction studies and charged particle transport in various fusion research settings.
OpenEdge是一个协作的、开源的、面向对象的直接模拟蒙特卡罗(DSMC)代码,专为磁聚变环境中的等离子体模拟而设计。代码特性包括先进的结构、健壮的功能和有效的并行化策略,所有这些都显著提高了性能。它包括用于管理复杂粒子相互作用的专门模块,包括碰撞,电离/重组和反射/溅射。基准测试和性能分析证实了它的效率和可伸缩性。OpenEdge功能齐全,适应性强,广泛应用于各种聚变研究环境中的等离子体-材料相互作用研究和带电粒子传输。
{"title":"OpenEdge: A collaborative, open-source, multi-purpose direct simulation Monte Carlo for plasma simulation in magnetic fusion environments","authors":"A. Diaw,&nbsp;C.A. Johnson,&nbsp;E.A. Unterberg,&nbsp;J. Nichols","doi":"10.1016/j.cpc.2025.109993","DOIUrl":"10.1016/j.cpc.2025.109993","url":null,"abstract":"<div><div>OpenEdge is a collaborative, open-source, object-oriented Direct Simulation Monte Carlo (DSMC) code, designed specifically for plasma simulations in magnetic fusion environments. The code features include advanced structures, robust capabilities, and an effective parallelization strategy, all of which significantly enhance performance. It includes specialized modules for managing complex particle interactions, including collisions, ionization/recombination, and reflection/sputtering. Benchmarks and performance analyses have confirmed its efficiency and scalability. Versatile and adaptable, OpenEdge is applied across a broad spectrum of plasma-material interaction studies and charged particle transport in various fusion research settings.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109993"},"PeriodicalIF":3.4,"publicationDate":"2025-12-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145836437","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Computer Physics Communications
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1