首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
DTLreactingFoam: An efficient CFD tool for laminar reacting flow simulations using detailed chemistry and transport with time-correlated thermophysical properties DTLreactingFoam:一个高效的CFD工具,用于层流反应流模拟,使用详细的化学和传输与时间相关的热物理性质
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-25 DOI: 10.1016/j.cpc.2026.110052
Danh Nam Nguyen , Jae Hun Lee , Chun Sang Yoo
<div><div>The official OpenFOAM distributions are currently not well-suited for accurate simulations of laminar reacting flows, primarily due to the restrictive Sutherland transport model and the oversimplified unity Lewis number assumption. These limitations can be addressed by employing a detailed transport model (DTM) grounded in kinetic gas theory. However, this approach significantly increases computational cost. To resolve this trade-off, we present a newly developed framework, <em>DTLreactingFoam</em>, designed for simulating laminar flames with integrated detailed transport and chemical kinetics while maintaining computational efficiency. The first level of cost reduction is achieved by incorporating a polynomial-fit transport model (FTM). Further acceleration is provided by a time-correlated thermophysical property evaluation (coTHERM) method, which dynamically updates properties at each time step or iteration by exploiting their temporal correlations. The framework is validated through a series of canonical laminar flame simulations. The results show excellent agreement with experimental measurements and benchmark software, confirming the accurate implementation of both the DTM and FTM. Moreover, validation results demonstrate that coupling the coTHERM method with either the DTM or FTM enables high-fidelity laminar flame simulations with substantially reduced computational cost. Notably, using the coTHERM method in conjunction with the FTM achieves up to a 77% reduction in computational time compared to the direct use of the DTM, without compromising accuracy.</div><div><strong>PROGRAM SUMMARY</strong> <em>Program Title:</em> DTLreactingFoam <em>CPC Library link to program files:</em> (to be added by Technical Editor) <em>Developer’s repository link (OF-12):</em> <span><span>https://github.com/danhnam11/DTLreactingFoam-12</span><svg><path></path></svg></span> <em>Developer’s repository link (OF-10):</em> <span><span>https://github.com/danhnam11/DTLreactingFoam-10</span><svg><path></path></svg></span> <em>Developer’s repository link (OF-8):</em> <span><span>https://github.com/danhnam11/DTLreactingFoam-8</span><svg><path></path></svg></span> <em>Code Ocean capsule:</em> (to be added by Technical Editor) <em>Licensing provisions:</em> GPLv3 <em>Programming language:</em> C++ <em>Supplementary material: Nature of problem:</em> Using the detailed transport model (DTM) based on the principles of kinetic gas theory can accurately simulate laminar reacting flows in OpenFOAM (OF). However, the accuracy comes at the cost of significantly greater computational effort since all thermophyscal properties are recomputed in every single cell and at every time step throughout the simulation when using DTM in OF. <em>Solution method:</em> In reacting flow simulations, the evolution of thermodynamic state variables and species concentrations between successive steps are correlated. The change in these quantities from one step to the next are often minimal
官方的OpenFOAM分布目前不太适合层流反应流的精确模拟,主要是由于限制性萨瑟兰输移模型和过于简化的统一刘易斯数假设。这些限制可以通过采用基于动力学气体理论的详细输运模型(DTM)来解决。然而,这种方法显著地增加了计算成本。为了解决这个问题,我们提出了一个新开发的框架,DTLreactingFoam,旨在模拟层流火焰,同时保持计算效率。第一级的成本降低是通过纳入一个多项式拟合运输模型(FTM)来实现的。时间相关热物性评价(coTHERM)方法提供了进一步的加速,该方法通过利用它们的时间相关性,在每个时间步或迭代中动态更新属性。通过一系列经典层流火焰模拟验证了该框架的有效性。结果与实验测量和基准测试软件非常吻合,证实了DTM和FTM的准确实现。此外,验证结果表明,将coTHERM方法与DTM或FTM相结合,可以实现高保真的层流火焰模拟,大大降低了计算成本。值得注意的是,与直接使用DTM相比,将coTHERM方法与FTM结合使用可以减少77%的计算时间,而不会影响精度。项目摘要项目名称:DTLreactingFoam CPC库链接到程序文件:(由技术编辑添加)开发人员存储库链接(OF-12): https://github.com/danhnam11/DTLreactingFoam-12开发人员存储库链接(OF-10): https://github.com/danhnam11/DTLreactingFoam-10开发人员存储库链接(OF-8): https://github.com/danhnam11/DTLreactingFoam-8代码海洋胶囊:(由技术编辑添加)许可条款:GPLv3编程语言:问题性质:利用基于动力学气体理论原理的详细输运模型(DTM)可以准确模拟OpenFOAM (of)中的层流反应流动。然而,当在of中使用DTM时,由于在整个模拟过程中每个单元和每个时间步都要重新计算所有热物理性质,因此准确性是以更大的计算工作量为代价的。求解方法:在反应流模拟中,热力学状态变量的演化和各步骤间的物质浓度是相互关联的。这些量从一步到下一步的变化通常是最小的,因为燃烧模拟中使用的时间步长通常很小(即在微秒级或更小)。因此,如果这些变化足够小,就没有必要在每个时间步长重新计算热物性,而是可以合理地将它们视为短时间间隔的时不变。这种技术被称为时间相关热物性评价(coTHERM)。在保证精度的前提下,在OF中使用DTM进行数值模拟可以减少大量的计算成本。参考文献:所有适当的方法参考文献都包含在题为参考文献的部分中。
{"title":"DTLreactingFoam: An efficient CFD tool for laminar reacting flow simulations using detailed chemistry and transport with time-correlated thermophysical properties","authors":"Danh Nam Nguyen ,&nbsp;Jae Hun Lee ,&nbsp;Chun Sang Yoo","doi":"10.1016/j.cpc.2026.110052","DOIUrl":"10.1016/j.cpc.2026.110052","url":null,"abstract":"&lt;div&gt;&lt;div&gt;The official OpenFOAM distributions are currently not well-suited for accurate simulations of laminar reacting flows, primarily due to the restrictive Sutherland transport model and the oversimplified unity Lewis number assumption. These limitations can be addressed by employing a detailed transport model (DTM) grounded in kinetic gas theory. However, this approach significantly increases computational cost. To resolve this trade-off, we present a newly developed framework, &lt;em&gt;DTLreactingFoam&lt;/em&gt;, designed for simulating laminar flames with integrated detailed transport and chemical kinetics while maintaining computational efficiency. The first level of cost reduction is achieved by incorporating a polynomial-fit transport model (FTM). Further acceleration is provided by a time-correlated thermophysical property evaluation (coTHERM) method, which dynamically updates properties at each time step or iteration by exploiting their temporal correlations. The framework is validated through a series of canonical laminar flame simulations. The results show excellent agreement with experimental measurements and benchmark software, confirming the accurate implementation of both the DTM and FTM. Moreover, validation results demonstrate that coupling the coTHERM method with either the DTM or FTM enables high-fidelity laminar flame simulations with substantially reduced computational cost. Notably, using the coTHERM method in conjunction with the FTM achieves up to a 77% reduction in computational time compared to the direct use of the DTM, without compromising accuracy.&lt;/div&gt;&lt;div&gt;&lt;strong&gt;PROGRAM SUMMARY&lt;/strong&gt; &lt;em&gt;Program Title:&lt;/em&gt; DTLreactingFoam &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 (OF-12):&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/danhnam11/DTLreactingFoam-12&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; &lt;em&gt;Developer’s repository link (OF-10):&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/danhnam11/DTLreactingFoam-10&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; &lt;em&gt;Developer’s repository link (OF-8):&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/danhnam11/DTLreactingFoam-8&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; &lt;em&gt;Code Ocean capsule:&lt;/em&gt; (to be added by Technical Editor) &lt;em&gt;Licensing provisions:&lt;/em&gt; GPLv3 &lt;em&gt;Programming language:&lt;/em&gt; C++ &lt;em&gt;Supplementary material: Nature of problem:&lt;/em&gt; Using the detailed transport model (DTM) based on the principles of kinetic gas theory can accurately simulate laminar reacting flows in OpenFOAM (OF). However, the accuracy comes at the cost of significantly greater computational effort since all thermophyscal properties are recomputed in every single cell and at every time step throughout the simulation when using DTM in OF. &lt;em&gt;Solution method:&lt;/em&gt; In reacting flow simulations, the evolution of thermodynamic state variables and species concentrations between successive steps are correlated. The change in these quantities from one step to the next are often minimal","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"322 ","pages":"Article 110052"},"PeriodicalIF":3.4,"publicationDate":"2026-01-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146057321","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
A three-dimensional multi-phase-field vesicles model and its practical finite difference solver 三维多相场囊泡模型及其实用的有限差分求解器
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-24 DOI: 10.1016/j.cpc.2026.110053
Yutong Wu, Zecheng Qiu, Junxiang Yang
This paper presents a numerical model for simulating the dynamics of multiple interacting vesicles using a multi-phase-field framework. We use N phase-field variables, each possibly containing multiple disconnected vesicles, and enforce volume and surface-area constraint per variable. Their evolution is governed by the variational derivatives of a total energy functional encompassing bending elasticity, surface area and volume conservation, and inter-vesicle repulsion. A semi-implicit finite difference scheme is developed to discretize the system, achieving numerical stability and efficiency. Extensive three-dimensional simulations demonstrate the method’s capability to maintain physical constraints and accurately capture complex vesicle deformations and interactions across various configurations. The simulation code corresponding to Sections 4.3.4 and 4.3.5 (Figs. 10 & 11) in this paper can be accessed at https://github.com/aaron-z-chiu/multiple-vesicles.
本文提出了用多相场框架模拟多个相互作用的囊泡动力学的数值模型。我们使用N个相场变量,每个相场变量可能包含多个不相连的囊泡,并对每个变量施加体积和表面积约束。它们的演化是由总能量泛函的变分导数控制的,该泛函包括弯曲弹性、表面积和体积守恒以及囊泡间排斥。采用半隐式有限差分格式对系统进行离散化,实现了系统的数值稳定性和效率。广泛的三维模拟证明了该方法能够保持物理约束,并准确捕获复杂的囊泡变形和各种构型的相互作用。本文第4.3.4节和4.3.5节(图10和图11)对应的仿真代码可在https://github.com/aaron-z-chiu/multiple-vesicles上访问。
{"title":"A three-dimensional multi-phase-field vesicles model and its practical finite difference solver","authors":"Yutong Wu,&nbsp;Zecheng Qiu,&nbsp;Junxiang Yang","doi":"10.1016/j.cpc.2026.110053","DOIUrl":"10.1016/j.cpc.2026.110053","url":null,"abstract":"<div><div>This paper presents a numerical model for simulating the dynamics of multiple interacting vesicles using a multi-phase-field framework. We use <em>N</em> phase-field variables, each possibly containing multiple disconnected vesicles, and enforce volume and surface-area constraint per variable. Their evolution is governed by the variational derivatives of a total energy functional encompassing bending elasticity, surface area and volume conservation, and inter-vesicle repulsion. A semi-implicit finite difference scheme is developed to discretize the system, achieving numerical stability and efficiency. Extensive three-dimensional simulations demonstrate the method’s capability to maintain physical constraints and accurately capture complex vesicle deformations and interactions across various configurations. The simulation code corresponding to Sections 4.3.4 and 4.3.5 (Figs. 10 &amp; 11) in this paper can be accessed at <span><span>https://github.com/aaron-z-chiu/multiple-vesicles</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110053"},"PeriodicalIF":3.4,"publicationDate":"2026-01-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146073661","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
Scalable neural network driven molecular dynamics simulation 可扩展神经网络驱动的分子动力学模拟
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-21 DOI: 10.1016/j.cpc.2026.110036
Sojeong Park , Wei Liu , Simon Julian Lauw , Wooseop Kwak , Chandra S. Verma , Hwee Kuan Lee
Molecular dynamics (MD) simulation is an essential tool for condensed matter physics, materials science, structural/mechanistic biology, and multi-agent systems. Despite their successes, traditional numerical integration methods for solving Hamilton’s equations of motion are computationally intensive, limiting simulations to short time scales. Recent advancements in machine learning have opened new avenues for accelerating MD simulations. This work introduces the Local Update Function network (LUFnet), a transformer-based neural network designed to increase time integration step sizes significantly while maintaining simulation stability and accuracy. LUFnet integrates local spatial and temporal information, enabling efficient rollout for long-time-scale simulations. By preserving key symmetries such as translational invariance, Galilean coordinate transformation invariance, and particle exchange symmetry, LUFnet achieves robust performance across different thermodynamic states. LUFnet is designed to accommodate general physical models (e.g., Lennard-Jones, Coulomb potential, on lattice systems). Its framework allows the model to be trained on small systems and directly applied to larger systems, maintaining computation efficiency and computation memory usage that scales linearly with the number of particles. Benchmarked on Lennard-Jones systems, LUFnet demonstrated minimal accuracy degradation even after rollout over many large time integration steps, offering an effective approach to molecular dynamics simulations.
分子动力学(MD)模拟是凝聚态物理、材料科学、结构/机械生物学和多主体系统的重要工具。尽管取得了成功,但传统的求解汉密尔顿运动方程的数值积分方法计算量很大,将模拟限制在短时间尺度上。机器学习的最新进展为加速MD模拟开辟了新的途径。本工作介绍了局部更新函数网络(LUFnet),这是一种基于变压器的神经网络,旨在显著增加时间积分步长,同时保持仿真的稳定性和准确性。LUFnet集成了本地空间和时间信息,能够有效地进行长时间模拟。通过保持关键的对称性,如平移不变性、伽利略坐标变换不变性和粒子交换对称性,LUFnet在不同的热力学状态下实现了健壮的性能。LUFnet的设计是为了适应一般的物理模型(例如,伦纳德-琼斯,库仑势,在晶格系统)。它的框架允许模型在小型系统上进行训练,并直接应用于大型系统,保持计算效率和计算内存使用随粒子数量线性扩展。在leonard - jones系统的基准测试中,LUFnet显示出最小的精度下降,即使在推出许多大时间集成步骤之后,也为分子动力学模拟提供了有效的方法。
{"title":"Scalable neural network driven molecular dynamics simulation","authors":"Sojeong Park ,&nbsp;Wei Liu ,&nbsp;Simon Julian Lauw ,&nbsp;Wooseop Kwak ,&nbsp;Chandra S. Verma ,&nbsp;Hwee Kuan Lee","doi":"10.1016/j.cpc.2026.110036","DOIUrl":"10.1016/j.cpc.2026.110036","url":null,"abstract":"<div><div>Molecular dynamics (MD) simulation is an essential tool for condensed matter physics, materials science, structural/mechanistic biology, and multi-agent systems. Despite their successes, traditional numerical integration methods for solving Hamilton’s equations of motion are computationally intensive, limiting simulations to short time scales. Recent advancements in machine learning have opened new avenues for accelerating MD simulations. This work introduces the Local Update Function network (LUFnet), a transformer-based neural network designed to increase time integration step sizes significantly while maintaining simulation stability and accuracy. LUFnet integrates local spatial and temporal information, enabling efficient rollout for long-time-scale simulations. By preserving key symmetries such as translational invariance, Galilean coordinate transformation invariance, and particle exchange symmetry, LUFnet achieves robust performance across different thermodynamic states. LUFnet is designed to accommodate general physical models (e.g., Lennard-Jones, Coulomb potential, on lattice systems). Its framework allows the model to be trained on small systems and directly applied to larger systems, maintaining computation efficiency and computation memory usage that scales linearly with the number of particles. Benchmarked on Lennard-Jones systems, LUFnet demonstrated minimal accuracy degradation even after rollout over many large time integration steps, offering an effective approach to molecular dynamics simulations.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"322 ","pages":"Article 110036"},"PeriodicalIF":3.4,"publicationDate":"2026-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146076756","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
Local reduced-order modeling for electrostatic plasmas by physics-informed solution manifold decomposition 基于物理信息解流形分解的静电等离子体局部降阶建模
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-21 DOI: 10.1016/j.cpc.2026.110039
Ping-Hsuan Tsai , Seung Whan Chung , Debojyoti Ghosh , John Loffeld , Youngsoo Choi , Jonathan L. Belof
Despite advancements in high-performance computing and modern numerical algorithms, computational cost remains prohibitive for multi-query kinetic plasma simulations. In this work, we develop data-driven reduced-order models (ROMs) for collisionless electrostatic plasma dynamics, based on the kinetic Vlasov-Poisson equation. Our ROM approach projects the equation onto a linear subspace defined by the proper orthogonal decomposition (POD) modes. We introduce an efficient tensorial method to update the nonlinear term using a precomputed third-order tensor. We capture multiscale behavior with a minimal number of POD modes by decomposing the solution manifold into multiple time windows and creating temporally local ROMs. We consider two strategies for decomposition: one based on the physical time and the other based on the electric field energy. Applied to the 1D1V Vlasov–Poisson simulations, that is, prescribed E-field, Landau damping, and two-stream instability, we demonstrate that our ROMs accurately capture the total energy of the system both for parametric and time extrapolation cases. The temporally local ROMs are more efficient and accurate than the single ROM. In addition, in the two-stream instability case, we show that the energy-windowing reduced-order model (EW-ROM) is more efficient and accurate than the time-windowing reduced-order model (TW-ROM). With the tensorial approach, EW-ROM solves the equation approximately 90 times faster than Eulerian simulations while maintaining a maximum relative error of 7.5% for the training data and 11% for the testing data.
尽管在高性能计算和现代数值算法方面取得了进步,但对于多查询动力学等离子体模拟来说,计算成本仍然过高。在这项工作中,我们建立了基于动力学Vlasov-Poisson方程的无碰撞静电等离子体动力学数据驱动的降阶模型(ROMs)。我们的ROM方法将方程投影到由适当正交分解(POD)模式定义的线性子空间上。我们引入了一种有效的张量方法,利用预先计算的三阶张量来更新非线性项。我们通过将解流形分解为多个时间窗口并创建临时本地rom,以最少数量的POD模式捕获多尺度行为。我们考虑了两种分解策略:一种基于物理时间,另一种基于电场能量。应用于1D1V Vlasov-Poisson模拟,即规定的e场,朗道阻尼和两流不稳定性,我们证明了我们的ROMs准确地捕获了参数和时间外推情况下系统的总能量。此外,在双流不稳定情况下,我们证明了能量窗降阶模型(EW-ROM)比时间窗降阶模型(TW-ROM)更有效和准确。使用张量方法,EW-ROM求解方程的速度比欧拉模拟快约90倍,同时训练数据的最大相对误差为7.5%,测试数据的最大相对误差为11%。
{"title":"Local reduced-order modeling for electrostatic plasmas by physics-informed solution manifold decomposition","authors":"Ping-Hsuan Tsai ,&nbsp;Seung Whan Chung ,&nbsp;Debojyoti Ghosh ,&nbsp;John Loffeld ,&nbsp;Youngsoo Choi ,&nbsp;Jonathan L. Belof","doi":"10.1016/j.cpc.2026.110039","DOIUrl":"10.1016/j.cpc.2026.110039","url":null,"abstract":"<div><div>Despite advancements in high-performance computing and modern numerical algorithms, computational cost remains prohibitive for multi-query kinetic plasma simulations. In this work, we develop data-driven reduced-order models (ROMs) for collisionless electrostatic plasma dynamics, based on the kinetic Vlasov-Poisson equation. Our ROM approach projects the equation onto a linear subspace defined by the proper orthogonal decomposition (POD) modes. We introduce an efficient tensorial method to update the nonlinear term using a precomputed third-order tensor. We capture multiscale behavior with a minimal number of POD modes by decomposing the solution manifold into multiple time windows and creating temporally local ROMs. We consider two strategies for decomposition: one based on the physical time and the other based on the electric field energy. Applied to the 1D1V Vlasov–Poisson simulations, that is, prescribed E-field, Landau damping, and two-stream instability, we demonstrate that our ROMs accurately capture the total energy of the system both for parametric and time extrapolation cases. The temporally local ROMs are more efficient and accurate than the single ROM. In addition, in the two-stream instability case, we show that the energy-windowing reduced-order model (EW-ROM) is more efficient and accurate than the time-windowing reduced-order model (TW-ROM). With the tensorial approach, EW-ROM solves the equation approximately 90 times faster than Eulerian simulations while maintaining a maximum relative error of 7.5% for the training data and 11% for the testing data.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"322 ","pages":"Article 110039"},"PeriodicalIF":3.4,"publicationDate":"2026-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146076755","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
Quantum lattice boltzmann method for multiple time steps without reinitialization for linear advection-Diffusion problems 线性平流扩散问题的无重初始化多时间步量子点阵玻尔兹曼方法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-18 DOI: 10.1016/j.cpc.2026.110040
Aaron Nagel , Johannes Löwe
To simulate highly-resolved flow fields, we extend the Quantum Lattice Boltzmann Method (QLBM) to be able to simulate multiple time steps without state extraction or reinitialization. We adjust and extend given QLBM approaches from the literature to completely remove the need to measure or reinitialize the flow field in between the simulation time steps. Therefore, our algorithm does not require to sample the entire flow field at any time. We solve the linear advection-diffusion problem with periodic boundary conditions and derive all necessary equations and build the corresponding quantum circuit diagrams, including details on the QLBM blocks and explicitly drawing the circuit gates. We discuss the general decay of a QLBM step and how that effects our algorithm. The new algorithm is verified on 1D and 2D test cases using the shot method of IBMs Qiskit package. We show excellent agreement and convergence between our QLBM and the classical Lattice Boltzmann method. The conclusion section includes a discussion on the advantages of our algorithm as well as limitations and to what extent it is more efficient.
为了模拟高分辨率的流场,我们扩展了量子晶格玻尔兹曼方法(QLBM),使其能够模拟多个时间步,而无需状态提取或重新初始化。我们从文献中调整和扩展给定的QLBM方法,以完全消除在模拟时间步骤之间测量或重新初始化流场的需要。因此,我们的算法不需要在任何时候对整个流场进行采样。我们求解了具有周期边界条件的线性平流扩散问题,推导了所有必要的方程,并建立了相应的量子电路图,包括QLBM模块的细节和显式绘制的电路门。我们讨论了QLBM步骤的一般衰减以及它如何影响我们的算法。利用ibm公司Qiskit软件包的shot方法,在一维和二维测试用例上对新算法进行了验证。结果表明,该方法与经典晶格玻尔兹曼方法具有良好的一致性和收敛性。结论部分讨论了我们的算法的优点和局限性,以及它在多大程度上更有效。
{"title":"Quantum lattice boltzmann method for multiple time steps without reinitialization for linear advection-Diffusion problems","authors":"Aaron Nagel ,&nbsp;Johannes Löwe","doi":"10.1016/j.cpc.2026.110040","DOIUrl":"10.1016/j.cpc.2026.110040","url":null,"abstract":"<div><div>To simulate highly-resolved flow fields, we extend the Quantum Lattice Boltzmann Method (QLBM) to be able to simulate multiple time steps without state extraction or reinitialization. We adjust and extend given QLBM approaches from the literature to completely remove the need to measure or reinitialize the flow field in between the simulation time steps. Therefore, our algorithm does not require to sample the entire flow field at any time. We solve the linear advection-diffusion problem with periodic boundary conditions and derive all necessary equations and build the corresponding quantum circuit diagrams, including details on the QLBM blocks and explicitly drawing the circuit gates. We discuss the general decay of a QLBM step and how that effects our algorithm. The new algorithm is verified on 1D and 2D test cases using the <em>shot</em> method of IBMs <em>Qiskit</em> package. We show excellent agreement and convergence between our QLBM and the classical Lattice Boltzmann method. The conclusion section includes a discussion on the advantages of our algorithm as well as limitations and to what extent it is more efficient.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110040"},"PeriodicalIF":3.4,"publicationDate":"2026-01-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034921","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
GPU-parallelized MATLAB software for atom-ion dynamics gpu并行化的原子离子动力学MATLAB软件
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-18 DOI: 10.1016/j.cpc.2026.110041
Saajid Chowdhury, Jesús Pérez-Ríos
We present a MATLAB script, atomiongpu.m, which can use GPU parallelization to run several million independent simulations per day of a trapped ion interacting with a low-density cloud of atoms, calculating classical trajectories of a trapped ion and an atom starting far away. The script uses ode45gpu, which is our optimized and specialized implementation of the Runge-Kutta algorithm used in MATLAB’s ODE solver ode45. We first discuss the physical system and show how ode45gpu can, on a CPU, solve it about 7x faster than MATLAB’s ode45, leading to a 600x-3500x speedup when running a million trajectories using ode45gpu in parallel on a GPU compared to ode45 on a CPU. Then, we show how to easily modify the inputs to atomiongpu.m to account for different kinds of atoms, ions, atom-ion interactions, trap potentials, simulation parameters, initial conditions, and computational hardware, so that atomiongpu.m automatically finds the probability of complex formation, the distribution of observables such as the scattering angle and complex lifetime, and plots of specific trajectories.

PROGRAM SUMMARY

Program Title: atomiongpu.m
CPC Library link to program files: https://doi.org/10.17632/sjw4hzw9jx.1
Developer’s repository link: https://github.com/saajidchowdhury/supplementGPU
Licensing provisions: CC0 1.0
Programming language: MATLAB R2023a, with Parallel Computing Toolbox installed
Supplementary material: https://github.com/saajidchowdhury/supplementGPU
Nature of problem: Simulate classical dynamics (Newton’s laws) of an ion and atom, with up to several million different sets of initial conditions, store the final conditions and a few other scalar observables and their distributions, and plot specific trajectories.
Solution method: Implementing the algorithm behind ode45, MATLAB’s fourth/fifth-order adaptive-timestep Runge-Kutta method for propagating ordinary differential equations, we write a single, self-contained function, ode45gpu. Then, we use MATLAB’s arrayfun to parallelize it on multiple CPUs or GPUs. Finally, we wrote the wrapper script atomiongpu.m for quickly and conveniently using ode45gpu.
Additional comments: The source code for atomiongpu.m, ode45gpu, and figures can be found on the repository.
我们给出了一个MATLAB脚本,atomiongpu。它可以使用GPU并行化,每天运行数百万次捕获离子与低密度原子云相互作用的独立模拟,计算捕获离子和原子从远处开始的经典轨迹。该脚本使用ode45gpu,这是我们在MATLAB的ODE求解器ode45中使用的龙格-库塔算法的优化和专门实现。我们首先讨论了物理系统,并展示了ode45gpu如何在CPU上解决它,比MATLAB的ode45快7倍,与CPU上的ode45相比,在GPU上并行使用ode45gpu运行一百万条轨迹时,速度提高了600 -3500倍。然后,我们展示了如何轻松地修改atomiongpu的输入。M要考虑不同种类的原子、离子、原子-离子相互作用、阱势、模拟参数、初始条件和计算硬件,使原子原子化。M自动找到复杂形成的概率、散射角和复杂寿命等观测值的分布以及特定轨迹的图。节目简介节目名称:atomiongpu。mCPC库链接到程序文件:https://doi.org/10.17632/sjw4hzw9jx.1Developer的存储库链接:https://github.com/saajidchowdhury/supplementGPULicensing规定:CC0 1.0编程语言:MATLAB R2023a,安装并行计算工具箱补充资料:https://github.com/saajidchowdhury/supplementGPUNature的问题:模拟离子和原子的经典动力学(牛顿定律),具有多达数百万种不同的初始条件集,存储最终条件和其他一些标量可观测值及其分布,并绘制特定的轨迹。求解方法:实现ode45背后的算法,MATLAB的四/五阶自适应时间步长龙格-库塔法传播常微分方程,我们写了一个单一的,自包含的函数,ode45gpu。然后,我们使用MATLAB的arrayfun在多个cpu或gpu上并行化它。最后,编写了包装器脚本atomiongpu。M用于快速方便地使用ode45gpu。附加注释:atomiongpu的源代码。M、ode45gpu和图形可以在存储库中找到。
{"title":"GPU-parallelized MATLAB software for atom-ion dynamics","authors":"Saajid Chowdhury,&nbsp;Jesús Pérez-Ríos","doi":"10.1016/j.cpc.2026.110041","DOIUrl":"10.1016/j.cpc.2026.110041","url":null,"abstract":"<div><div>We present a MATLAB script, <span>atomiongpu.m</span>, which can use GPU parallelization to run several million independent simulations per day of a trapped ion interacting with a low-density cloud of atoms, calculating classical trajectories of a trapped ion and an atom starting far away. The script uses <span>ode45gpu</span>, which is our optimized and specialized implementation of the Runge-Kutta algorithm used in MATLAB’s ODE solver <span>ode45</span>. We first discuss the physical system and show how <span>ode45gpu</span> can, on a CPU, solve it about 7x faster than MATLAB’s <span>ode45</span>, leading to a 600x-3500x speedup when running a million trajectories using <span>ode45gpu</span> in parallel on a GPU compared to <span>ode45</span> on a CPU. Then, we show how to easily modify the inputs to <span>atomiongpu.m</span> to account for different kinds of atoms, ions, atom-ion interactions, trap potentials, simulation parameters, initial conditions, and computational hardware, so that <span>atomiongpu.m</span> automatically finds the probability of complex formation, the distribution of observables such as the scattering angle and complex lifetime, and plots of specific trajectories.</div></div><div><h3>PROGRAM SUMMARY</h3><div><em>Program Title:</em> <span>atomiongpu.m</span></div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/sjw4hzw9jx.1</span><svg><path></path></svg></span></div><div><em>Developer’s repository link:</em> <span><span>https://github.com/saajidchowdhury/supplementGPU</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> CC0 1.0</div><div><em>Programming language:</em> MATLAB R2023a, with Parallel Computing Toolbox installed</div><div><em>Supplementary material:</em> <span><span>https://github.com/saajidchowdhury/supplementGPU</span><svg><path></path></svg></span></div><div><em>Nature of problem:</em> Simulate classical dynamics (Newton’s laws) of an ion and atom, with up to several million different sets of initial conditions, store the final conditions and a few other scalar observables and their distributions, and plot specific trajectories.</div><div><em>Solution method:</em> Implementing the algorithm behind <span>ode45</span>, MATLAB’s fourth/fifth-order adaptive-timestep Runge-Kutta method for propagating ordinary differential equations, we write a single, self-contained function, <span>ode45gpu</span>. Then, we use MATLAB’s <span>arrayfun</span> to parallelize it on multiple CPUs or GPUs. Finally, we wrote the wrapper script <span>atomiongpu.m</span> for quickly and conveniently using <span>ode45gpu</span>.</div><div><em>Additional comments:</em> The source code for <span>atomiongpu.m</span>, <span>ode45gpu</span>, and figures can be found on the repository.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110041"},"PeriodicalIF":3.4,"publicationDate":"2026-01-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034924","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
Fast and memory-efficient strong simulation of noisy adaptive linear optical circuits 快速、高效存储的噪声自适应线性光电路仿真
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-17 DOI: 10.1016/j.cpc.2025.110016
Timothée Goubault De Brugière , Nicolas Heurtel
Exactly computing the full output distribution of linear optical circuits remains a challenge, as existing methods are either time-efficient but memory-intensive or memory-efficient but slow. Moreover, any realistic simulation must account for noise, such as photon loss, and any viable quantum computing scheme based on linear optics requires feedforward. This adds additional layers of complexity in the classical simulation as one needs to deal with extra combinatorics due to, e.g, the measurement or loss scenarios. In this paper, we propose an algorithm that models the output amplitudes as partial derivatives of a multivariate polynomial. The algorithm explores the lattice of all intermediate partial derivatives, where each derivative is used to compute more efficiently ones with higher degree. In terms of memory, storing one path from the root to the leaves is sufficient to iterate over all amplitudes and requires only 2n elements, as opposed to (n+m1n) for the fastest state of the art method. This approach effectively balances the time-memory trade-off while extending to both noisy and feedforward scenarios with negligible cost. To the best of our knowledge, this is the first approach in the literature to meet all these requirements. We demonstrate how this method enables the simulation of systems that were previously out of reach, while providing a concrete implementation and complexity analysis.
精确计算线性光学电路的全部输出分布仍然是一个挑战,因为现有的方法要么是时间效率高但内存密集,要么是内存效率高但速度慢。此外,任何现实的模拟都必须考虑噪声,例如光子损耗,任何可行的基于线性光学的量子计算方案都需要前馈。这在经典模拟中增加了额外的复杂性层,因为需要处理额外的组合,例如,测量或损失场景。在本文中,我们提出了一种算法,该算法将输出振幅建模为多元多项式的偏导数。该算法探索所有中间偏导数的格,其中每个导数用于更有效地计算更高次的偏导数。在内存方面,存储从根节点到叶节点的一条路径足以遍历所有振幅,并且只需要2n个元素,而不是最快的方法需要(n+m - 1n)个元素。这种方法有效地平衡了时间-内存的权衡,同时以可忽略不计的成本扩展到噪声和前馈场景。据我们所知,这是文献中第一个满足所有这些要求的方法。我们演示了这种方法如何能够模拟以前无法达到的系统,同时提供了具体的实现和复杂性分析。
{"title":"Fast and memory-efficient strong simulation of noisy adaptive linear optical circuits","authors":"Timothée Goubault De Brugière ,&nbsp;Nicolas Heurtel","doi":"10.1016/j.cpc.2025.110016","DOIUrl":"10.1016/j.cpc.2025.110016","url":null,"abstract":"<div><div>Exactly computing the full output distribution of linear optical circuits remains a challenge, as existing methods are either time-efficient but memory-intensive or memory-efficient but slow. Moreover, any realistic simulation must account for noise, such as photon loss, and any viable quantum computing scheme based on linear optics requires feedforward. This adds additional layers of complexity in the classical simulation as one needs to deal with extra combinatorics due to, e.g, the measurement or loss scenarios. In this paper, we propose an algorithm that models the output amplitudes as partial derivatives of a multivariate polynomial. The algorithm explores the lattice of all intermediate partial derivatives, where each derivative is used to compute more efficiently ones with higher degree. In terms of memory, storing one path from the root to the leaves is sufficient to iterate over all amplitudes and requires only 2<sup><em>n</em></sup> elements, as opposed to <span><math><mrow><mo>(</mo><mfrac><mrow><mi>n</mi><mo>+</mo><mi>m</mi><mo>−</mo><mn>1</mn></mrow><mi>n</mi></mfrac><mo>)</mo></mrow></math></span> for the fastest state of the art method. This approach effectively balances the time-memory trade-off while extending to both noisy and feedforward scenarios with negligible cost. To the best of our knowledge, this is the first approach in the literature to meet all these requirements. We demonstrate how this method enables the simulation of systems that were previously out of reach, while providing a concrete implementation and complexity analysis.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110016"},"PeriodicalIF":3.4,"publicationDate":"2026-01-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034919","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
ACFlow 2.0 : An open source toolkit for analytic continuation of quantum Monte Carlo data ACFlow 2.0:用于量子蒙特卡罗数据分析延拓的开源工具包
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-16 DOI: 10.1016/j.cpc.2026.110038
Li Huang
<div><div>Analytic continuation is an essential step in quantum Monte Carlo calculations. We present version 2.0 of the ACFlow package, a full-fledged open source toolkit for analytic continuation of quantum Monte Carlo simulation data. The new version adds support for three recently developed analytic continuation methods, namely the barycentric rational function approximation method, the stochastic pole expansion method, and the Nevanlinna analytical continuation method. The well-established maximum entropy method is also enhanced with the Bayesian reconstruction entropy algorithm. Furthermore, a web-based graphical user interface and a testing toolkit for analytic continuation methods are introduced. In this paper, we at first summarize the basic principles of the newly implemented analytic continuation solvers, and the most important improvements of ACFlow 2.0. Then a representative example is provided to demonstrate the new usages and features.</div><div>PROGRAM SUMMARY <em>Program Title:</em> ACFlow <em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/th6w74gwjm.2</span><svg><path></path></svg></span> <em>Developer’s repository link:</em> <span><span>https://github.com/huangli712/ACFlow</span><svg><path></path></svg></span> <em>Licensing provisions:</em> GPLv3 <em>Programming language:</em> Julia <em>Journal reference of previous version:</em> Computer Physics Communications 292, 108,863 (2023) <em>Does the new version supersede the previous version?:</em> Yes <em>Reasons for the new version:</em> Many features, including new analytic continuation solvers, a web-based graphical user interface, and a benchmark toolkit, are implemented. The user’s manual and internal tests are greatly enhanced as well. <em>Summary of revisions:</em> (1) The barycentric rational function approximation method is implemented, which is extremely fast and accurate. (2) The stochastic pole expansion method is implemented. It is a new variation of the stochastic analytic continuation method. (3) The Nevanlinna analytical continuation method is implemented. If the input Matsubara data is noise-free, this method can reach unprecedented accuracy. (4) The traditional maximum entropy method is enhanced by the Bayesian reconstruction entropy algorithm. Then it is extended to implement the positive-negative entropy formalism to support analytic continuation for off-diagonal Green’s function. (5) A web-based graphical user interface, namely ACGui, is developed. (6) A benchmark toolkit for testing various analytic continuation methods and codes, namely ACTest, is developed. (7) The documentation is polished. More examples and tests are included. <em>Nature of problem:</em> Most of the quantum Monte Carlo algorithms work on the imaginary axis. In order to extract physical observables and compare them with the experimental results, analytic continuation must be done in the post-processing stage to convert the quantum Monte Carlo simulated data from
解析延拓是量子蒙特卡罗计算中的一个重要步骤。我们介绍了ACFlow包的2.0版本,这是一个完整的开源工具包,用于量子蒙特卡罗模拟数据的分析延续。新版本增加了对最近开发的三种解析延拓方法的支持,即质心有理函数逼近法、随机极点展开法和Nevanlinna解析延拓法。利用贝叶斯重构熵算法对已有的最大熵法进行了改进。此外,还介绍了基于web的图形用户界面和分析延拓方法的测试工具包。本文首先总结了新实现的解析延拓求解器的基本原理,以及ACFlow 2.0最重要的改进。然后通过一个典型的实例来说明新的用法和特点。项目摘要项目名称:ACFlow CPC库链接到程序文件:https://doi.org/10.17632/th6w74gwjm.2开发人员的存储库链接:https://github.com/huangli712/ACFlow许可条款:GPLv3编程语言:Julia以前版本的期刊参考:计算机物理通信292,108,863(2023)新版本是否取代以前的版本?新版本的原因:实现了许多特性,包括新的分析延续求解器、基于web的图形用户界面和基准工具包。用户手册和内部测试也得到了极大的增强。修正总结:(1)实现了质心有理函数逼近法,该方法速度快,精度高。(2)实现了随机极点展开法。它是随机解析延拓法的一个新变种。(3)实现了Nevanlinna解析延拓法。如果输入的Matsubara数据是无噪声的,该方法可以达到前所未有的精度。(4)采用贝叶斯重构熵算法对传统的最大熵方法进行改进。然后将其推广到支持非对角格林函数解析延拓的正负熵形式。(5)开发了基于web的图形用户界面ACGui。(6)开发了一个测试各种解析延拓方法和代码的基准工具包,即ACTest。(7)对文档进行润色。包括更多的示例和测试。问题性质:大多数量子蒙特卡罗算法在虚轴上工作。为了提取物理观测值并与实验结果进行比较,必须在后处理阶段进行解析延拓,将量子蒙特卡罗模拟数据从虚轴转换为实轴。求解方法:在ACFlow工具包中实现了六种已建立的解析延拓方法,包括最大熵法、质心有理函数逼近法、Nevanlinna解析延拓法、随机解析延拓法、随机优化法和随机极点展开法。附加注释,包括限制和不寻常的功能:ACFlow工具包是用Julia语言编写的。它是高度优化和并行化的。它可以在类似jupyter的笔记本环境中交互式地执行。
{"title":"ACFlow 2.0 : An open source toolkit for analytic continuation of quantum Monte Carlo data","authors":"Li Huang","doi":"10.1016/j.cpc.2026.110038","DOIUrl":"10.1016/j.cpc.2026.110038","url":null,"abstract":"&lt;div&gt;&lt;div&gt;Analytic continuation is an essential step in quantum Monte Carlo calculations. We present version 2.0 of the ACFlow package, a full-fledged open source toolkit for analytic continuation of quantum Monte Carlo simulation data. The new version adds support for three recently developed analytic continuation methods, namely the barycentric rational function approximation method, the stochastic pole expansion method, and the Nevanlinna analytical continuation method. The well-established maximum entropy method is also enhanced with the Bayesian reconstruction entropy algorithm. Furthermore, a web-based graphical user interface and a testing toolkit for analytic continuation methods are introduced. In this paper, we at first summarize the basic principles of the newly implemented analytic continuation solvers, and the most important improvements of ACFlow 2.0. Then a representative example is provided to demonstrate the new usages and features.&lt;/div&gt;&lt;div&gt;PROGRAM SUMMARY &lt;em&gt;Program Title:&lt;/em&gt; ACFlow &lt;em&gt;CPC Library link to program files:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://doi.org/10.17632/th6w74gwjm.2&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; &lt;em&gt;Developer’s repository link:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/huangli712/ACFlow&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; GPLv3 &lt;em&gt;Programming language:&lt;/em&gt; Julia &lt;em&gt;Journal reference of previous version:&lt;/em&gt; Computer Physics Communications 292, 108,863 (2023) &lt;em&gt;Does the new version supersede the previous version?:&lt;/em&gt; Yes &lt;em&gt;Reasons for the new version:&lt;/em&gt; Many features, including new analytic continuation solvers, a web-based graphical user interface, and a benchmark toolkit, are implemented. The user’s manual and internal tests are greatly enhanced as well. &lt;em&gt;Summary of revisions:&lt;/em&gt; (1) The barycentric rational function approximation method is implemented, which is extremely fast and accurate. (2) The stochastic pole expansion method is implemented. It is a new variation of the stochastic analytic continuation method. (3) The Nevanlinna analytical continuation method is implemented. If the input Matsubara data is noise-free, this method can reach unprecedented accuracy. (4) The traditional maximum entropy method is enhanced by the Bayesian reconstruction entropy algorithm. Then it is extended to implement the positive-negative entropy formalism to support analytic continuation for off-diagonal Green’s function. (5) A web-based graphical user interface, namely ACGui, is developed. (6) A benchmark toolkit for testing various analytic continuation methods and codes, namely ACTest, is developed. (7) The documentation is polished. More examples and tests are included. &lt;em&gt;Nature of problem:&lt;/em&gt; Most of the quantum Monte Carlo algorithms work on the imaginary axis. In order to extract physical observables and compare them with the experimental results, analytic continuation must be done in the post-processing stage to convert the quantum Monte Carlo simulated data from ","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110038"},"PeriodicalIF":3.4,"publicationDate":"2026-01-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034926","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
Chromo: A high-performance python interface to hadronic event generators for collider and cosmic-ray simulations Chromo:用于对撞机和宇宙射线模拟的强子事件生成器的高性能python接口
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-16 DOI: 10.1016/j.cpc.2026.110031
Anatoli Fedynitch , Hans Dembinski , Anton Prosekin
<div><div>Simulations of hadronic and nuclear interactions are essential in both collider and astroparticle physics. The Chromo package provides a unified Python interface to multiple widely used hadronic event generators, including EPOS, DPMJet, Sibyll, QGSJet, and Pythia. Built on top of their original Fortran and C<span>++</span> implementations, Chromo offers a zero-overhead abstraction layer suitable for use in Python scripts, Jupyter notebooks, or from the command line, while preserving the performance of direct calls to the generators. It is easy to install via precompiled binary wheels distributed through PyPI, and it integrates well with the Scientific Python ecosystem. Chromo supports event export in HepMC, ROOT, and SVG formats and provides a consistent interface for inspecting, filtering, and modifying particle collision events. This paper describes the architecture, typical use cases, and performance characteristics of Chromo and its role in contemporary astroparticle simulations, such as in the MCEq cascade solver.</div></div><div><h3>PROGRAM SUMMARY</h3><div><em>Program Title:</em> Chromo <em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/wdf9bvwhns.1</span><svg><path></path></svg></span> <em>Developer’s repository link:</em> <span><span>https://github.com/impy-project/chromo</span><svg><path></path></svg></span> <em>Licensing provisions:</em> BSD 3-clause <em>Programming language:</em> Python, Fortran, C<span>++</span> <em>Nature of problem:</em>Simulating hadronic and nuclear interactions currently requires users to learn multiple generator APIs (Fortran or C<span>++</span>), handle different build systems, and write glue code to translate between event formats. This complexity hinders rapid prototyping in Python, makes batch scripting cumbersome, and prevents seamless integration with the broader Scientific Python ecosystem (NumPy, SciPy, Matplotlib, etc.). A unified, zero-overhead interface is needed to streamline generator access, enforce consistent event I/O, and reduce boilerplate for both collider and astroparticle physics applications. <em>Solution method:</em>Chromo provides lightweight Python bindings for supported generators. Fortran-based generators are wrapped using NumPy’s f2py, and the C<span>++</span>-based Pythia8 is exposed via pybind11. Prebuilt wheels on PyPI simplify installation across platforms. After installation, Chromo offers a consistent Python API for generating, filtering, and editing events, and for exporting results to HepMC, ROOT, or SVG formats. It can be used interactively in Python scripts or Jupyter notebooks, or as a command-line tool for drop-in substitution of CRMC in shell workflows. Chromo is also suitable for integration into complex pipelines and batch systems. <em>Additional comments including restrictions and unusual features:</em>Chromo officially supports Linux and macOS by providing prebuilt wheels for Python 3.9-3.13. While most functionality may work o
强子和核相互作用的模拟在对撞机和天体粒子物理学中都是必不可少的。Chromo包为多个广泛使用的强子事件生成器提供了统一的Python接口,包括EPOS、DPMJet、Sibyll、QGSJet和Pythia。基于原始的Fortran和c++实现,Chromo提供了一个零开销的抽象层,适合在Python脚本、Jupyter笔记本或命令行中使用,同时保留了直接调用生成器的性能。它很容易通过PyPI分发的预编译二进制轮来安装,并且它与Scientific Python生态系统集成得很好。Chromo支持hemc、ROOT和SVG格式的事件导出,并为检查、过滤和修改粒子碰撞事件提供一致的接口。本文描述了Chromo的架构、典型用例和性能特征,以及它在当代天体粒子模拟中的作用,例如在MCEq级联求解器中。程序摘要程序标题:Chromo CPC库链接到程序文件:https://doi.org/10.17632/wdf9bvwhns.1开发人员的存储库链接:https://github.com/impy-project/chromo许可条款:BSD 3-clause编程语言:Python, Fortran, c++问题的性质:模拟强子和核交互目前要求用户学习多个生成器api (Fortran或c++),处理不同的构建系统,并编写粘合代码在事件格式之间进行转换。这种复杂性阻碍了Python中的快速原型,使批处理脚本变得繁琐,并且阻碍了与更广泛的科学Python生态系统(NumPy, SciPy, Matplotlib等)的无缝集成。需要一个统一的,零开销的接口来简化生成器访问,强制一致的事件I/O,并减少对撞机和天体粒子物理应用程序的样板文件。解决方法:Chromo为支持的生成器提供轻量级Python绑定。基于fortran的生成器使用NumPy的f2py包装,而基于c++的Pythia8则通过pybind11公开。PyPI上的预建轮子简化了跨平台安装。安装完成后,Chromo提供了一致的Python API,用于生成、过滤和编辑事件,以及将结果导出为HepMC、ROOT或SVG格式。它可以在Python脚本或Jupyter笔记本中交互使用,也可以作为命令行工具在shell工作流中直接替换CRMC。Chromo也适用于集成到复杂的管道和批处理系统。其他评论包括限制和不寻常的功能:Chromo通过为Python 3.9-3.13提供预构建的轮子正式支持Linux和macOS。虽然大多数功能可以在Windows上工作,但不能保证完全兼容。一些模型需要特定于平台的解决方案,而这些解决方案不受积极支持。用户可以自行决定在Windows上运行Chromo,并使用提供的测试套件验证功能。
{"title":"Chromo: A high-performance python interface to hadronic event generators for collider and cosmic-ray simulations","authors":"Anatoli Fedynitch ,&nbsp;Hans Dembinski ,&nbsp;Anton Prosekin","doi":"10.1016/j.cpc.2026.110031","DOIUrl":"10.1016/j.cpc.2026.110031","url":null,"abstract":"&lt;div&gt;&lt;div&gt;Simulations of hadronic and nuclear interactions are essential in both collider and astroparticle physics. The Chromo package provides a unified Python interface to multiple widely used hadronic event generators, including EPOS, DPMJet, Sibyll, QGSJet, and Pythia. Built on top of their original Fortran and C&lt;span&gt;++&lt;/span&gt; implementations, Chromo offers a zero-overhead abstraction layer suitable for use in Python scripts, Jupyter notebooks, or from the command line, while preserving the performance of direct calls to the generators. It is easy to install via precompiled binary wheels distributed through PyPI, and it integrates well with the Scientific Python ecosystem. Chromo supports event export in HepMC, ROOT, and SVG formats and provides a consistent interface for inspecting, filtering, and modifying particle collision events. This paper describes the architecture, typical use cases, and performance characteristics of Chromo and its role in contemporary astroparticle simulations, such as in the MCEq cascade solver.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;h3&gt;PROGRAM SUMMARY&lt;/h3&gt;&lt;div&gt;&lt;em&gt;Program Title:&lt;/em&gt; Chromo &lt;em&gt;CPC Library link to program files:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://doi.org/10.17632/wdf9bvwhns.1&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; &lt;em&gt;Developer’s repository link:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/impy-project/chromo&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; BSD 3-clause &lt;em&gt;Programming language:&lt;/em&gt; Python, Fortran, C&lt;span&gt;++&lt;/span&gt; &lt;em&gt;Nature of problem:&lt;/em&gt;Simulating hadronic and nuclear interactions currently requires users to learn multiple generator APIs (Fortran or C&lt;span&gt;++&lt;/span&gt;), handle different build systems, and write glue code to translate between event formats. This complexity hinders rapid prototyping in Python, makes batch scripting cumbersome, and prevents seamless integration with the broader Scientific Python ecosystem (NumPy, SciPy, Matplotlib, etc.). A unified, zero-overhead interface is needed to streamline generator access, enforce consistent event I/O, and reduce boilerplate for both collider and astroparticle physics applications. &lt;em&gt;Solution method:&lt;/em&gt;Chromo provides lightweight Python bindings for supported generators. Fortran-based generators are wrapped using NumPy’s f2py, and the C&lt;span&gt;++&lt;/span&gt;-based Pythia8 is exposed via pybind11. Prebuilt wheels on PyPI simplify installation across platforms. After installation, Chromo offers a consistent Python API for generating, filtering, and editing events, and for exporting results to HepMC, ROOT, or SVG formats. It can be used interactively in Python scripts or Jupyter notebooks, or as a command-line tool for drop-in substitution of CRMC in shell workflows. Chromo is also suitable for integration into complex pipelines and batch systems. &lt;em&gt;Additional comments including restrictions and unusual features:&lt;/em&gt;Chromo officially supports Linux and macOS by providing prebuilt wheels for Python 3.9-3.13. While most functionality may work o","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110031"},"PeriodicalIF":3.4,"publicationDate":"2026-01-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146073660","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
A soft particle dynamics method based on shape degrees of freedom for core-shell particles 基于形状自由度的核壳粒子软粒子动力学方法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-01-16 DOI: 10.1016/j.cpc.2026.110030
Yohann Trivino , Vincent Richefeu , Farhang Radjai , Komlanvi Lampoh , Jean-Yves Delenne
In this paper, we present a 2D numerical model developed to simulate the dynamics of soft core-shell particles. To accommodate large particle deformations, the particle surface is represented as a thin shell composed of mass points that interact through elasto-plastic force laws governing their linear and angular relative displacements. Particle shape changes are controlled by these interactions, in conjunction with a uniform particle core stiffness. This model can be applied to simulate flexible beams and core-shell particles of arbitrary shape. We calibrate and verify this model by comparing the deformation of constrained beams under load with theoretical predictions. Subsequently, we explore the diametral compression of a single particle between two walls, focusing on the influence of the particle core stiffness and shell plasticity. Our findings indicate that increased core stiffness reduces particle volume change and promotes the development of flat contact areas with the walls. To further illustrate the model capabilities, we apply it to the uniaxial compaction of a granular material composed of core-shell particles. We show that, depending on the core stiffness and shell plastic threshold, the compaction leads to either a significant reduction of particle volumes or an improved pore filling due to particle shape changes. At high compaction, particle shapes vary such that elastic particles without core stiffness become mostly elongated, elastic particles with core stiffness form polygonal shapes, while plastic particles develop elliptical or highly irregular forms. Finally, we simulate the tensile fracture of a tissue composed of elastic or plastic cells, illustrating the model’s potential applicability to soft tissues that undergo both large cell deformations and fracture.
在本文中,我们提出了一个二维数值模型来模拟软核-壳粒子的动力学。为了适应大颗粒变形,颗粒表面被表示为由质量点组成的薄壳,这些质点通过控制其线性和角相对位移的弹塑性力定律相互作用。粒子形状的变化是由这些相互作用控制的,并与均匀的粒子核心刚度相结合。该模型可用于模拟任意形状的柔性梁和核壳粒子。我们通过比较受约束梁在荷载作用下的变形与理论预测来校准和验证该模型。随后,我们探索了单颗粒在两壁之间的直径压缩,重点研究了颗粒核心刚度和壳塑性的影响。我们的研究结果表明,芯刚度的增加减少了颗粒体积的变化,并促进了与壁的平坦接触区域的发展。为了进一步说明模型的能力,我们将其应用于由核-壳颗粒组成的颗粒材料的单轴压实。我们表明,根据核刚度和壳塑性阈值,压实导致颗粒体积显着减少或由于颗粒形状变化而改善孔隙填充。在高压实下,颗粒的形状发生变化,无核心刚度的弹性颗粒大多呈细长状,有核心刚度的弹性颗粒呈多边形,而塑性颗粒呈椭圆形或高度不规则形状。最后,我们模拟了由弹性或塑性细胞组成的组织的拉伸断裂,说明了该模型对经历大细胞变形和断裂的软组织的潜在适用性。
{"title":"A soft particle dynamics method based on shape degrees of freedom for core-shell particles","authors":"Yohann Trivino ,&nbsp;Vincent Richefeu ,&nbsp;Farhang Radjai ,&nbsp;Komlanvi Lampoh ,&nbsp;Jean-Yves Delenne","doi":"10.1016/j.cpc.2026.110030","DOIUrl":"10.1016/j.cpc.2026.110030","url":null,"abstract":"<div><div>In this paper, we present a 2D numerical model developed to simulate the dynamics of soft core-shell particles. To accommodate large particle deformations, the particle surface is represented as a thin shell composed of mass points that interact through elasto-plastic force laws governing their linear and angular relative displacements. Particle shape changes are controlled by these interactions, in conjunction with a uniform particle core stiffness. This model can be applied to simulate flexible beams and core-shell particles of arbitrary shape. We calibrate and verify this model by comparing the deformation of constrained beams under load with theoretical predictions. Subsequently, we explore the diametral compression of a single particle between two walls, focusing on the influence of the particle core stiffness and shell plasticity. Our findings indicate that increased core stiffness reduces particle volume change and promotes the development of flat contact areas with the walls. To further illustrate the model capabilities, we apply it to the uniaxial compaction of a granular material composed of core-shell particles. We show that, depending on the core stiffness and shell plastic threshold, the compaction leads to either a significant reduction of particle volumes or an improved pore filling due to particle shape changes. At high compaction, particle shapes vary such that elastic particles without core stiffness become mostly elongated, elastic particles with core stiffness form polygonal shapes, while plastic particles develop elliptical or highly irregular forms. Finally, we simulate the tensile fracture of a tissue composed of elastic or plastic cells, illustrating the model’s potential applicability to soft tissues that undergo both large cell deformations and fracture.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110030"},"PeriodicalIF":3.4,"publicationDate":"2026-01-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034996","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