首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
vortex-p: A Helmholtz-Hodge and Reynolds decomposition algorithm for particle-based simulations vortex-p:用于粒子模拟的亥姆霍兹-霍奇和雷诺分解算法
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-04 DOI: 10.1016/j.cpc.2024.109305
David Vallés-Pérez , Susana Planelles , Vicent Quilis , Frederick Groth , Tirso Marin-Gilabert , Klaus Dolag

Astrophysical turbulent flows display an intrinsically multi-scale nature, making their numerical simulation and the subsequent analyses of simulated data a complex problem. In particular, two fundamental steps in the study of turbulent velocity fields are the Helmholtz-Hodge decomposition (compressive+solenoidal; HHD) and the Reynolds decomposition (bulk+turbulent; RD). These problems are relatively simple to perform numerically for uniformly-sampled data, such as the one emerging from Eulerian, fix-grid simulations; but their computation is remarkably more complex in the case of non-uniformly sampled data, such as the one stemming from particle-based or meshless simulations. In this paper, we describe, implement and test vortex-p, a publicly available tool evolved from the vortex code, to perform both these decompositions upon the velocity fields of particle-based simulations, either from smoothed particle hydrodynamics (SPH), moving-mesh or meshless codes. The algorithm relies on the creation of an ad-hoc adaptive mesh refinement (AMR) set of grids, on which the input velocity field is represented. HHD is then addressed by means of elliptic solvers, while for the RD we adapt an iterative, multi-scale filter. We perform a series of idealised tests to assess the accuracy, convergence and scaling of the code. Finally, we present some applications of the code to various SPH and meshless finite-mass (MFM) simulations of galaxy clusters performed with OpenGadget3, with different resolutions and physics, to showcase the capabilities of the code.

天体物理湍流具有内在的多尺度性质,因此对其进行数值模拟以及随后对模拟数据进行分析是一个复杂的问题。特别是,研究湍流速度场的两个基本步骤是亥姆霍兹-霍奇分解(压缩+索状;HHD)和雷诺分解(体积+湍流;RD)。对于均匀采样的数据,如欧拉固定网格模拟产生的数据,这些问题的数值计算相对简单;但对于非均匀采样的数据,如粒子模拟或无网格模拟产生的数据,这些问题的计算就明显复杂得多。在本文中,我们描述、实现并测试了 vortex-p,这是一个从涡旋代码发展而来的公开工具,用于对基于粒子的模拟(来自平滑粒子流体力学(SPH)、移动网格或无网格代码)的速度场进行上述两种分解。该算法依赖于创建一个自适应网格细化(AMR)的临时网格集,在该网格集上表示输入速度场。然后,通过椭圆求解器解决 HHD 问题,而对于 RD,我们采用了迭代多尺度滤波器。我们进行了一系列理想化测试,以评估代码的准确性、收敛性和扩展性。最后,我们介绍了代码在使用 OpenGadget3 进行的各种星系团 SPH 和无网格有限质量(MFM)模拟中的一些应用,这些模拟具有不同的分辨率和物理特性,以展示代码的能力。
{"title":"vortex-p: A Helmholtz-Hodge and Reynolds decomposition algorithm for particle-based simulations","authors":"David Vallés-Pérez ,&nbsp;Susana Planelles ,&nbsp;Vicent Quilis ,&nbsp;Frederick Groth ,&nbsp;Tirso Marin-Gilabert ,&nbsp;Klaus Dolag","doi":"10.1016/j.cpc.2024.109305","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109305","url":null,"abstract":"<div><p>Astrophysical turbulent flows display an intrinsically multi-scale nature, making their numerical simulation and the subsequent analyses of simulated data a complex problem. In particular, two fundamental steps in the study of turbulent velocity fields are the Helmholtz-Hodge decomposition (compressive+solenoidal; HHD) and the Reynolds decomposition (bulk+turbulent; RD). These problems are relatively simple to perform numerically for uniformly-sampled data, such as the one emerging from Eulerian, fix-grid simulations; but their computation is remarkably more complex in the case of non-uniformly sampled data, such as the one stemming from particle-based or meshless simulations. In this paper, we describe, implement and test <span>vortex-p</span>, a publicly available tool evolved from the <span>vortex</span> code, to perform both these decompositions upon the velocity fields of particle-based simulations, either from smoothed particle hydrodynamics (SPH), moving-mesh or meshless codes. The algorithm relies on the creation of an ad-hoc adaptive mesh refinement (AMR) set of grids, on which the input velocity field is represented. HHD is then addressed by means of elliptic solvers, while for the RD we adapt an iterative, multi-scale filter. We perform a series of idealised tests to assess the accuracy, convergence and scaling of the code. Finally, we present some applications of the code to various SPH and meshless finite-mass (MFM) simulations of galaxy clusters performed with <span>OpenGadget3</span>, with different resolutions and physics, to showcase the capabilities of the code.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002285/pdfft?md5=c598207a6435a4989865b3be3b66e73f&pid=1-s2.0-S0010465524002285-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141593360","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A modified Allen–Cahn equation with a mesh size-dependent interfacial parameter on a triangular mesh 三角形网格上与网格尺寸有关的界面参数的修正艾伦-卡恩方程
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-02 DOI: 10.1016/j.cpc.2024.109301
Junxiang Yang , Jian Wang , Soobin Kwak , Seokjun Ham , Junseok Kim

In this article, we propose a modified Allen–Cahn (AC) equation with a space-dependent interfacial parameter. When numerically solving the AC equation with a constant interfacial parameter over large domains, a substantial number of grid points are essential, which leads to significant computational costs. To effectively resolve this problem, numerous adaptive mesh techniques have been developed and implemented. These methods use locally refined meshes that adaptively track the interfacial positions of the phase field throughout the simulation. However, the data structures for adaptive algorithms are generally complex, and the problems to be solved may involve challenges at multiple scales. In this article, we present a modified AC equation with a mesh size-dependent interfacial parameter on a triangular mesh to efficiently solve multi-scale problems. In the proposed method, a triangular mesh is used, and the interfacial parameter value at a node point is defined as a function of the average length of the edges connected to the node point. The proposed algorithm effectively uses large and small values of the interfacial parameter on coarse and fine meshes, respectively. To demonstrate the efficiency and superior performance of the proposed method, we conduct several representative numerical experiments. The computational results indicate that the proposed interfacial function can adequately evolve the multi-scale phase interfaces without excessive relaxation or freezing of the interfaces. Finally, we provide the main source code for the methodology, including mesh generation as described in this paper, so that interested readers can use it.

在这篇文章中,我们提出了一个修正的艾伦-卡恩(AC)方程,该方程的界面参数与空间有关。在大域范围内对具有恒定界面参数的 AC 方程进行数值求解时,必须使用大量网格点,这将导致巨大的计算成本。为有效解决这一问题,人们开发并实施了大量自适应网格技术。这些方法使用局部细化网格,在整个模拟过程中自适应地跟踪相场的界面位置。然而,自适应算法的数据结构通常比较复杂,要解决的问题可能涉及多个尺度的挑战。在本文中,我们提出了一种修改后的交流方程,该方程在三角形网格上具有与网格尺寸相关的界面参数,可高效解决多尺度问题。在所提出的方法中,使用了三角形网格,节点点上的界面参数值被定义为与节点点相连的边的平均长度的函数。所提出的算法在粗网格和细网格上分别有效地使用了界面参数的大值和小值。为了证明所提方法的效率和优越性能,我们进行了几个有代表性的数值实验。计算结果表明,所提出的界面函数可以充分演化多尺度相界面,而不会造成界面过度松弛或冻结。最后,我们提供了该方法的主要源代码,包括本文所述的网格生成,以便感兴趣的读者使用。
{"title":"A modified Allen–Cahn equation with a mesh size-dependent interfacial parameter on a triangular mesh","authors":"Junxiang Yang ,&nbsp;Jian Wang ,&nbsp;Soobin Kwak ,&nbsp;Seokjun Ham ,&nbsp;Junseok Kim","doi":"10.1016/j.cpc.2024.109301","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109301","url":null,"abstract":"<div><p>In this article, we propose a modified Allen–Cahn (AC) equation with a space-dependent interfacial parameter. When numerically solving the AC equation with a constant interfacial parameter over large domains, a substantial number of grid points are essential, which leads to significant computational costs. To effectively resolve this problem, numerous adaptive mesh techniques have been developed and implemented. These methods use locally refined meshes that adaptively track the interfacial positions of the phase field throughout the simulation. However, the data structures for adaptive algorithms are generally complex, and the problems to be solved may involve challenges at multiple scales. In this article, we present a modified AC equation with a mesh size-dependent interfacial parameter on a triangular mesh to efficiently solve multi-scale problems. In the proposed method, a triangular mesh is used, and the interfacial parameter value at a node point is defined as a function of the average length of the edges connected to the node point. The proposed algorithm effectively uses large and small values of the interfacial parameter on coarse and fine meshes, respectively. To demonstrate the efficiency and superior performance of the proposed method, we conduct several representative numerical experiments. The computational results indicate that the proposed interfacial function can adequately evolve the multi-scale phase interfaces without excessive relaxation or freezing of the interfaces. Finally, we provide the main source code for the methodology, including mesh generation as described in this paper, so that interested readers can use it.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-07-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141593358","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
NEBOAS: A Neutron yiElds Based On AcceleratorS application NEBOAS:基于加速器的中子 yiElds 应用程序
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-02 DOI: 10.1016/j.cpc.2024.109304

The web-based application NEBOAS was developed to calculate the neutron yield of the accelerator-based neutron source MONNET (MONo-energetic NEutron Tower) at JRC-Geel. Neutrons are produced with p and d-induced reactions on particular targets. NEBOAS provides double differential neutron yields, as a function of the angle of neutron emission and energy. It provides also integrated neutron yields, and neutron energy spectra. Any projectile energy may be utilized, as long as it is covered by the nuclear data available on thin targets (that just degrade the projectiles' energy) or thick targets (that stop the projectiles). The calculation employs reaction cross-section evaluations from Evaluated Nuclear Data File (ENDF) or compilations of experimental measurements from the Experimental Nuclear Reaction Data (EXFOR), and stopping powers as recommended in the National Institute of Standards and Technology (NIST) or the Stopping and Range of Ions in Matter (SRIM-2013) databases.

开发基于网络的应用程序 NEBOAS 是为了计算 JRC-Geel 基于加速器的中子源 MONNET(MONo-energetic NEutron Tower)的中子产率。中子是通过特定靶上的 p 和 d 诱导反应产生的。NEBOAS 提供双差分中子产率,作为中子发射角和能量的函数。它还提供综合中子产率和中子能谱。任何射弹能量都可以使用,只要它能被薄目标(仅降低射弹能量)或厚目标(阻止射弹)的核数据所覆盖。计算采用的是 "评估核数据文件"(ENDF)中的反应截面评估或 "实验核反应数据"(EXFOR)中的实验测量汇编,以及美国国家标准与技术研究院(NIST)或 "物质中离子的停止和射程"(SRIM-2013)数据库中推荐的停止功率。
{"title":"NEBOAS: A Neutron yiElds Based On AcceleratorS application","authors":"","doi":"10.1016/j.cpc.2024.109304","DOIUrl":"10.1016/j.cpc.2024.109304","url":null,"abstract":"<div><p>The web-based application NEBOAS was developed to calculate the neutron yield of the accelerator-based neutron source MONNET (MONo-energetic NEutron Tower) at JRC-Geel. Neutrons are produced with <em>p</em> and <em>d</em>-induced reactions on particular targets. NEBOAS provides double differential neutron yields, as a function of the angle of neutron emission and energy. It provides also integrated neutron yields, and neutron energy spectra. Any projectile energy may be utilized, as long as it is covered by the nuclear data available on thin targets (that just degrade the projectiles' energy) or thick targets (that stop the projectiles). The calculation employs reaction cross-section evaluations from Evaluated Nuclear Data File (ENDF) or compilations of experimental measurements from the Experimental Nuclear Reaction Data (EXFOR), and stopping powers as recommended in the National Institute of Standards and Technology (NIST) or the Stopping and Range of Ions in Matter (SRIM-2013) databases.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-07-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141691651","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
Prometheus: An open-source neutrino telescope simulation 普罗米修斯开源中微子望远镜模拟
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-01 DOI: 10.1016/j.cpc.2024.109298
Jeffrey Lazar , Stephan Meighen-Berger , Christian Haack , David Kim , Santiago Giner , Carlos A. Argüelles

Neutrino telescopes are gigaton-scale neutrino detectors comprised of individual light-detection units. Though constructed from simple building blocks, they have opened a new window to the Universe and are able to probe center-of-mass energies that are comparable to those of collider experiments. Prometheus is a new, open-source simulation tailored for this kind of detector. Our package, which is written in a combination of C++ and Python provides a balance of ease of use and performance and allows the user to simulate a neutrino telescope with arbitrary geometry deployed in ice or water. Prometheus simulates the neutrino interactions in the volume surrounding the detector, computes the light yield of the hadronic shower and the out-going lepton, propagates the photons in the medium, and records their arrival times and position in user-defined regions. Finally, Prometheus events are serialized into a parquet file, which is a compact and interoperational file format that allows prompt access to the events for further analysis.

Program summary

Program title: Prometheus

CPC Library link to program files: https://doi.org/10.17632/svwyd4rd83.1

Developer's repository link: https://github.com/Harvard-Neutrino/prometheus

Licensing provisions: GNU Lesser General Public License 2.1

Programming language: Python

Nature of problem: Simulation of neutrino telescopes in ice and water.

Solution method: Monte Carlo methods.

中微子望远镜是由单个光探测单元组成的千兆吨级中微子探测器。虽然由简单的积木搭建而成,但它们为宇宙打开了一扇新窗口,能够探测与对撞机实验相当的质量中心能量。普罗米修斯(Prometheus)是为这种探测器量身定制的全新开源模拟软件。我们的软件包是用 C++ 和 Python 编写的,兼顾了易用性和性能,允许用户模拟部署在冰或水中的具有任意几何形状的中微子望远镜。普罗米修斯模拟探测器周围体积内的中微子相互作用,计算强子阵雨和出射轻子的光产率,在介质中传播光子,并记录它们在用户定义区域内的到达时间和位置。最后,Prometheus 事件会被序列化为一个 parquet 文件,这是一种紧凑的互操作文件格式,可以快速访问事件以进行进一步分析:PrometheusCPC Library 程序文件链接:https://doi.org/10.17632/svwyd4rd83.1Developer's repository 链接:https://github.com/Harvard-Neutrino/prometheusLicensing 规定:GNU Lesser General Public License 2.1编程语言:问题性质:模拟冰和水中的中微子望远镜:蒙特卡洛方法。
{"title":"Prometheus: An open-source neutrino telescope simulation","authors":"Jeffrey Lazar ,&nbsp;Stephan Meighen-Berger ,&nbsp;Christian Haack ,&nbsp;David Kim ,&nbsp;Santiago Giner ,&nbsp;Carlos A. Argüelles","doi":"10.1016/j.cpc.2024.109298","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109298","url":null,"abstract":"<div><p>Neutrino telescopes are gigaton-scale neutrino detectors comprised of individual light-detection units. Though constructed from simple building blocks, they have opened a new window to the Universe and are able to probe center-of-mass energies that are comparable to those of collider experiments. <span>Prometheus</span> is a new, open-source simulation tailored for this kind of detector. Our package, which is written in a combination of <span>C++</span> and <span>Python</span> provides a balance of ease of use and performance and allows the user to simulate a neutrino telescope with arbitrary geometry deployed in ice or water. <span>Prometheus</span> simulates the neutrino interactions in the volume surrounding the detector, computes the light yield of the hadronic shower and the out-going lepton, propagates the photons in the medium, and records their arrival times and position in user-defined regions. Finally, <span>Prometheus</span> events are serialized into a <span>parquet</span> file, which is a compact and interoperational file format that allows prompt access to the events for further analysis.</p></div><div><h3>Program summary</h3><p><em>Program title:</em> <span>Prometheus</span></p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/svwyd4rd83.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/Harvard-Neutrino/prometheus</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> GNU Lesser General Public License 2.1</p><p><em>Programming language:</em> <span>Python</span></p><p><em>Nature of problem:</em> Simulation of neutrino telescopes in ice and water.</p><p><em>Solution method:</em> Monte Carlo methods.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141607668","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
An adaptive preconditioning scheme for the self-consistent field iteration and generalized stacking fault energy calculations 自洽场迭代和广义堆积断层能量计算的自适应预处理方案
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-01 DOI: 10.1016/j.cpc.2024.109300
Sitong Zhang , Xingyu Gao , Haifeng Song , Bin Wen

The generalized stacking fault energy (GSFE) stands as a fundamental yet pivotal parameter for the plastic deformation of materials. In our investigation, we conduct first-principles calculations using the full-potential linearized augmented planewave (FLAPW) method to assess the GSFE, employing both single-shift and triple-shift supercell models. Different defects in these models result in different impacts on the self-consistent field (SCF) iterations and atomic relaxation. We propose an adaptive preconditioning scheme that can identify the long-wavelength divergence behavior of the Jacobian during the SCF iteration and automatically switch on the Kerker preconditioning to accelerate the convergence without any prior information. We implement this algorithm based on Elk-7.2.42 package and calculate the GSFE curves for the (111) plane along 1¯1¯2 direction of Al, Cu, and Si. The results indicate that defects induced by the vacuum layer in the single-shift supercell model negatively impact the convergence of SCF iterations and atomic relaxation, therefore the triple-shift supercell model is more recommended.

广义堆积断层能(GSFE)是材料塑性变形的一个基本而关键的参数。在研究中,我们使用全电位线性化增强平面波(FLAPW)方法进行第一原理计算,采用单移和三移超级电池模型来评估 GSFE。这些模型中的不同缺陷会对自洽场(SCF)迭代和原子弛豫产生不同的影响。我们提出了一种自适应预处理方案,它可以在 SCF 迭代过程中识别雅各布的长波发散行为,并自动开启 Kerker 预处理,从而在没有任何先验信息的情况下加速收敛。我们基于 Elk-7.2.42 软件包实现了该算法,并计算了铝、铜和硅沿〈1¯1¯2〉方向的 (111) 平面的 GSFE 曲线。结果表明,单移超级晶胞模型中真空层引起的缺陷对 SCF 迭代的收敛性和原子弛豫有负面影响,因此更推荐使用三移超级晶胞模型。
{"title":"An adaptive preconditioning scheme for the self-consistent field iteration and generalized stacking fault energy calculations","authors":"Sitong Zhang ,&nbsp;Xingyu Gao ,&nbsp;Haifeng Song ,&nbsp;Bin Wen","doi":"10.1016/j.cpc.2024.109300","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109300","url":null,"abstract":"<div><p>The generalized stacking fault energy (GSFE) stands as a fundamental yet pivotal parameter for the plastic deformation of materials. In our investigation, we conduct first-principles calculations using the full-potential linearized augmented planewave (FLAPW) method to assess the GSFE, employing both single-shift and triple-shift supercell models. Different defects in these models result in different impacts on the self-consistent field (SCF) iterations and atomic relaxation. We propose an adaptive preconditioning scheme that can identify the long-wavelength divergence behavior of the Jacobian during the SCF iteration and automatically switch on the Kerker preconditioning to accelerate the convergence without any prior information. We implement this algorithm based on Elk-7.2.42 package and calculate the GSFE curves for the (111) plane along <span><math><mo>〈</mo><mover><mrow><mn>1</mn></mrow><mrow><mo>¯</mo></mrow></mover><mover><mrow><mn>1</mn></mrow><mrow><mo>¯</mo></mrow></mover><mn>2</mn><mo>〉</mo></math></span> direction of Al, Cu, and Si. The results indicate that defects induced by the vacuum layer in the single-shift supercell model negatively impact the convergence of SCF iterations and atomic relaxation, therefore the triple-shift supercell model is more recommended.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539383","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
Exploring exponential time integration for strongly magnetized charged particle motion 探索强磁化带电粒子运动的指数时间积分
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-01 DOI: 10.1016/j.cpc.2024.109294

A fundamental task in particle-in-cell (PIC) simulations of plasma physics is solving for charged particle motion in electromagnetic fields. This problem is especially challenging when the plasma is strongly magnetized due to numerical stiffness arising from the wide separation in time scales between highly oscillatory gyromotion and overall macroscopic behavior of the system. In contrast to conventional finite difference schemes, we investigated exponential integration techniques to numerically simulate strongly magnetized charged particle motion. Numerical experiments with a uniform magnetic field show that exponential integrators yield superior performance for linear problems (i.e. configurations with an electric field given by a quadratic electric scalar potential) and are competitive with conventional methods for nonlinear problems with cubic and quartic electric scalar potentials.

等离子体物理的粒子在胞(PIC)模拟的一项基本任务是求解带电粒子在电磁场中的运动。当等离子体被强磁化时,由于高度振荡回旋运动与系统整体宏观行为之间的时间尺度相差很大,会产生数值刚度,因此这个问题尤其具有挑战性。与传统的有限差分方案不同,我们研究了指数积分技术来数值模拟强磁化带电粒子运动。均匀磁场的数值实验表明,指数积分器对于线性问题(即由二次电标量势给出的电场配置)具有卓越的性能,而对于具有三次和四次电标量势的非线性问题,指数积分器与传统方法相比具有竞争力。
{"title":"Exploring exponential time integration for strongly magnetized charged particle motion","authors":"","doi":"10.1016/j.cpc.2024.109294","DOIUrl":"10.1016/j.cpc.2024.109294","url":null,"abstract":"<div><p>A fundamental task in particle-in-cell (PIC) simulations of plasma physics is solving for charged particle motion in electromagnetic fields. This problem is especially challenging when the plasma is strongly magnetized due to numerical stiffness arising from the wide separation in time scales between highly oscillatory gyromotion and overall macroscopic behavior of the system. In contrast to conventional finite difference schemes, we investigated exponential integration techniques to numerically simulate strongly magnetized charged particle motion. Numerical experiments with a uniform magnetic field show that exponential integrators yield superior performance for linear problems (i.e. configurations with an electric field given by a quadratic electric scalar potential) and are competitive with conventional methods for nonlinear problems with cubic and quartic electric scalar potentials.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002170/pdfft?md5=9f3b8ea83c053b8ae7f64c41736e3c0d&pid=1-s2.0-S0010465524002170-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141630688","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
TRIQS/Nevanlinna: Implementation of the Nevanlinna Analytic Continuation method for noise-free data TRIQS/Nevanlinna:针对无噪声数据实施 Nevanlinna 分析连续法
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-01 DOI: 10.1016/j.cpc.2024.109299
Sergei Iskakov , Alexander Hampel , Nils Wentzell , Emanuel Gull

We present the TRIQS/Nevanlinna analytic continuation package, an efficient implementation of the methods proposed by J. Fei et al. (2021) [53] and (2021) [55]. TRIQS/Nevanlinna strives to provide a high quality open source (distributed under the GNU General Public License version 3) alternative to the more widely adopted Maximum Entropy based analytic continuation programs. With the additional Hardy functions optimization procedure, it allows for an accurate resolution of wide band and sharp features in the spectral function. Those problems can be formulated in terms of imaginary time or Matsubara frequency response functions. The application is based on the TRIQS C++/Python framework, which allows for easy interoperability with other TRIQS-based applications, electronic band structure codes and visualization tools. Similar to other TRIQS packages, it comes with a convenient Python interface.

Program summary

Program Title: TRIQS/Nevanlinna

CPC Library link to program files: https://doi.org/10.17632/4cbzfy5rds.1

Developer's repository link: https://github.com/TRIQS/Nevanlinna

Licensing provisions: GPLv3

Programming language: C++/Python

External routines/libraries: TRIQS 3.2 [1], Boost >= 1.76.0, Eigen >= 3.4.0, cmake >= 3.20.

Nature of problem: Finite-temperature field theories are widely used to study quantum many-body effects and electronic structure of correlated materials. Obtaining physically relevant spectral functions from results in the imaginary time/Matsubara frequency domains requires solution of an ill-posed analytic continuation problem as a post-processing step.

Solution method: We present an efficient C++/Python open-source implementation of the Nevanlinna/Caratheodory analytic continuation.

我们介绍 TRIQS/Nevanlinna 分析续集软件包,它是 J. Fei 等人(2021)[53] 和(2021)[55] 提出的方法的有效实现。TRIQS/Nevanlinna 致力于提供高质量的开放源代码(根据 GNU 通用公共许可证第 3 版发布),以替代更广泛采用的基于最大熵的分析延续程序。通过附加的哈代函数优化程序,它可以精确地解决频谱函数中的宽带和尖锐特征问题。这些问题可以用虚时间或 Matsubara 频率响应函数来表述。该应用程序基于 TRIQS C++/Python 框架,可轻松与其他基于 TRIQS 的应用程序、电子带结构代码和可视化工具互操作。与其他 TRIQS 软件包类似,该程序带有方便的 Python 界面:TRIQS/NevanlinnaCPC 库程序文件链接:https://doi.org/10.17632/4cbzfy5rds.1Developer's 资源库链接:https://github.com/TRIQS/NevanlinnaLicensing 规定:GPLv3编程语言C++/Python外部例程/库:TRIQS 3.2 [1], Boost >= 1.76.0, Eigen >= 3.4.0, cmake >= 3.20.问题性质:有限温场理论被广泛用于研究量子多体效应和相关材料的电子结构。要从虚时域/松原频域的结果中获得与物理相关的谱函数,需要在后处理步骤中解决一个求解困难的解析延续问题:求解方法:我们介绍了 Nevanlinna/Caratheodory 解析延续的高效 C++/Python 开源实现。
{"title":"TRIQS/Nevanlinna: Implementation of the Nevanlinna Analytic Continuation method for noise-free data","authors":"Sergei Iskakov ,&nbsp;Alexander Hampel ,&nbsp;Nils Wentzell ,&nbsp;Emanuel Gull","doi":"10.1016/j.cpc.2024.109299","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109299","url":null,"abstract":"<div><p>We present the <span>TRIQS</span>/<span>Nevanlinna</span> analytic continuation package, an efficient implementation of the methods proposed by J. Fei et al. (2021) <span>[53]</span> and (2021) <span>[55]</span>. <span>TRIQS</span>/<span>Nevanlinna</span> strives to provide a high quality open source (distributed under the GNU General Public License version 3) alternative to the more widely adopted Maximum Entropy based analytic continuation programs. With the additional Hardy functions optimization procedure, it allows for an accurate resolution of wide band and sharp features in the spectral function. Those problems can be formulated in terms of imaginary time or Matsubara frequency response functions. The application is based on the <span>TRIQS</span> C++/Python framework, which allows for easy interoperability with other <span>TRIQS</span>-based applications, electronic band structure codes and visualization tools. Similar to other <span>TRIQS</span> packages, it comes with a convenient Python interface.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> <span>TRIQS</span>/<span>Nevanlinna</span></p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/4cbzfy5rds.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/TRIQS/Nevanlinna</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> GPLv3</p><p><em>Programming language:</em> <span>C++</span>/<span>Python</span></p><p><em>External routines/libraries:</em> <span>TRIQS 3.2</span> <span>[1]</span>, <span>Boost &gt;= 1.76.0</span>, <span>Eigen &gt;= 3.4.0</span>, <span>cmake &gt;= 3.20</span>.</p><p><em>Nature of problem:</em> Finite-temperature field theories are widely used to study quantum many-body effects and electronic structure of correlated materials. Obtaining physically relevant spectral functions from results in the imaginary time/Matsubara frequency domains requires solution of an ill-posed analytic continuation problem as a post-processing step.</p><p><em>Solution method:</em> We present an efficient C++/Python open-source implementation of the Nevanlinna/Caratheodory analytic continuation.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141593361","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
Multilevel Schur-complement algorithms for scalable parallel reservoir simulation with temperature variation 温度变化下可扩展并行储层模拟的多级舒尔补全算法
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-28 DOI: 10.1016/j.cpc.2024.109296
Mei Zhang , Haijian Yang , Yong Liu , Rui Li

In reservoir simulation, the non-isothermal multiphase flow problem introduces the temperature variable to account for thermal effects, simultaneously posing challenges in efficiently solving the nonlinear systems for large-scale simulations. In this paper, we introduce and investigate a family of Schur-complement-based field-split algorithms designed for addressing non-isothermal multiphase flow problems, particularly those characterized by high heterogeneity. This algorithm involves decomposing a large system into smaller, more manageable sub-systems for solving non-isothermal multiphase flow problems with multiple physical fields, which enables parallel computation and makes it suitable for high-performance computing environments. Furthermore, a multilevel Schur-complement preconditioner, which involves applying the Schur-complement technique at each level of the hierarchy by capturing the coupling between different fields and physics, is proposed to enhance the efficiency and robustness of the parallel simulator. Large-scale simulations for both benchmark and realistic problems are conducted on a supercomputer, showcasing the method's efficacy in managing heat diffusion, significantly reducing linear iterations, and demonstrating a good parallel scalability.

在油藏模拟中,非等温多相流问题引入了温度变量以考虑热效应,这同时对大规模模拟中高效求解非线性系统提出了挑战。在本文中,我们介绍并研究了一系列基于舒尔补全的场拆分算法,旨在解决非等温多相流问题,尤其是那些具有高度异质性的问题。该算法将大型系统分解为更小、更易于管理的子系统,用于解决具有多个物理场的非等温多相流问题,从而实现并行计算,并使其适用于高性能计算环境。此外,为了提高并行模拟器的效率和鲁棒性,还提出了多级舒尔补全预处理器,即通过捕捉不同场和物理场之间的耦合,在层次结构的每一级应用舒尔补全技术。在超级计算机上对基准和现实问题进行了大规模模拟,展示了该方法在管理热扩散方面的功效,显著减少了线性迭代,并证明了良好的并行可扩展性。
{"title":"Multilevel Schur-complement algorithms for scalable parallel reservoir simulation with temperature variation","authors":"Mei Zhang ,&nbsp;Haijian Yang ,&nbsp;Yong Liu ,&nbsp;Rui Li","doi":"10.1016/j.cpc.2024.109296","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109296","url":null,"abstract":"<div><p>In reservoir simulation, the non-isothermal multiphase flow problem introduces the temperature variable to account for thermal effects, simultaneously posing challenges in efficiently solving the nonlinear systems for large-scale simulations. In this paper, we introduce and investigate a family of Schur-complement-based field-split algorithms designed for addressing non-isothermal multiphase flow problems, particularly those characterized by high heterogeneity. This algorithm involves decomposing a large system into smaller, more manageable sub-systems for solving non-isothermal multiphase flow problems with multiple physical fields, which enables parallel computation and makes it suitable for high-performance computing environments. Furthermore, a multilevel Schur-complement preconditioner, which involves applying the Schur-complement technique at each level of the hierarchy by capturing the coupling between different fields and physics, is proposed to enhance the efficiency and robustness of the parallel simulator. Large-scale simulations for both benchmark and realistic problems are conducted on a supercomputer, showcasing the method's efficacy in managing heat diffusion, significantly reducing linear iterations, and demonstrating a good parallel scalability.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539376","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
PM2D: A parallel GPU-based code for the kinetic simulation of laser plasma instabilities at large scales PM2D:基于 GPU 的并行代码,用于大尺度激光等离子体不稳定性的动力学模拟
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-28 DOI: 10.1016/j.cpc.2024.109295
Hanghang Ma , Liwei Tan , Suming Weng , Wenjun Ying , Zhengming Sheng , Jie Zhang

Laser plasma instabilities (LPIs) have significant influences on the laser energy deposition efficiency and therefore are important processes in inertial confined fusion (ICF). Numerical simulations play important roles in revealing the complex physics of LPIs. Since LPIs are typically a three wave coupling process, the precise simulations of LPIs with kinetic effects require to resolve the laser period (around one femtosecond) and laser wavelength (less than one micron). In the typical ICF experiments, however, LPIs are involved in a spatial scale of several millimeters and a temporal scale of several nanoseconds. Therefore, the precise kinetic simulations of LPIs in such scales require huge computational resources and are hard to be carried out by present kinetic codes like particle-in-cell (PIC) codes. In this paper, a full wave fluid model of LPIs is constructed and numerically solved by the particle-mesh method, where the plasma is described by macro particles that can move across the mesh grids freely. Based upon this model, a two-dimensional (2D) GPU code named PM2D is developed. The PM2D code can simulate the kinetic effects of LPIs self-consistently as normal PIC codes. Moreover, as the physical model adopted in the PM2D code is specifically constructed for LPIs, the required macro particles per grid in the simulations can be largely reduced and thus overall simulation cost is considerably reduced comparing with PIC codes. More importantly, the numerical noise in the PM2D code is much lower, which makes it more robust than PIC codes in the simulation of LPIs for the long-time scale above 10 picoseconds. After the distributed computing is realized, our PM2D code is able to run on GPU clusters with a total mesh grids up to several billions, which meets the requirements for the simulations of LPIs at ICF experimental scale with reasonable cost.

Program summary

Program Title: PM2D

CPC Library link to program files: https://doi.org/10.17632/xscj6vnkkw.1

Licensing provisions: GNU General Public License v3.0.

Programming language: C++, CUDA.

Nature of problem: Although the large scale simulations of laser plasma instabilities (LPIs) is of great significance for the inertial confinement fusion (ICF), there is still no suitable code to simulate these problems. PM2D code based on a GPU platform provides an effective method to simulate these large scale problems in ICF.

Solution method: A fluid model for LPIs is established firstly, which contains wave equations that describe the laser propagating process, electron and ion fluid equations that describe the plasma motions, and a Poisson's equation that describes the electrostatic field induced by charge separation. The wave equation is solved on a rectangular region using absorption boundary conditions on all of four boundaries. The absorption boun

激光等离子体不稳定性(LPIs)对激光能量沉积效率有重大影响,因此是惯性约束聚变(ICF)的重要过程。数值模拟在揭示 LPIs 的复杂物理过程中发挥着重要作用。由于 LPI 通常是一个三波耦合过程,对具有动力学效应的 LPI 进行精确模拟需要解析激光周期(约一飞秒)和激光波长(小于一微米)。然而,在典型的 ICF 实验中,LPI 的空间尺度为几毫米,时间尺度为几纳秒。因此,在这样的尺度上对 LPI 进行精确的动力学模拟需要巨大的计算资源,而目前的动力学代码(如粒子入胞(PIC)代码)很难实现。本文构建了 LPIs 的全波流体模型,并采用粒子网格法进行数值求解,其中等离子体由可在网格中自由移动的宏粒子描述。在此模型的基础上,开发了名为 PM2D 的二维 GPU 代码。PM2D 代码能像普通 PIC 代码一样自洽地模拟 LPI 的动力学效应。此外,由于 PM2D 代码所采用的物理模型是专门为 LPIs 而构建的,因此与 PIC 代码相比,模拟中每个网格所需的宏粒子数量可以大大减少,从而大大降低了整体模拟成本。更重要的是,PM2D 代码的数值噪声更低,因此在 10 皮秒以上的长时间尺度上,它比 PIC 代码在 LPI 仿真中更加稳健。在实现分布式计算后,我们的 PM2D 代码能够在网格总数高达几十亿的 GPU 集群上运行,从而以合理的成本满足了 ICF 实验规模的 LPI 仿真要求:PM2DCPC 库程序文件链接:https://doi.org/10.17632/xscj6vnkkw.1Licensing provisions:GNU General Public License v3.0.Programming language:C++, CUDA.Nature of problem: 虽然激光等离子体不稳定性(LPIs)的大规模模拟对惯性约束聚变(ICF)具有重要意义,但目前仍没有合适的代码来模拟这些问题。基于GPU平台的PM2D代码为模拟ICF中的这些大规模问题提供了一种有效的方法:首先建立 LPI 的流体模型,其中包括描述激光传播过程的波方程、描述等离子体运动的电子和离子流体方程以及描述电荷分离引起的静电场的泊松方程。波方程是在一个矩形区域内求解的,在四个边界上都使用了吸收边界条件。左边界的吸收边界条件进一步扩展,允许驱动激光同时入射和散射激光同时吸收。物理模型中的流体方程采用粒子网格法求解,其中大粒子受流体力驱动移动。由于宏粒子可以在固定的流体网格内自由移动,因此 PM2D 代码可以自洽地捕捉到动力学效应。静电场的泊松方程是通过 Y 方向的傅立叶分解法求解的,这有助于大大降低模拟成本。PM2D 代码是在基于 CUDA 工具包的 GPU 平台上开发的,大大提高了计算速度。
{"title":"PM2D: A parallel GPU-based code for the kinetic simulation of laser plasma instabilities at large scales","authors":"Hanghang Ma ,&nbsp;Liwei Tan ,&nbsp;Suming Weng ,&nbsp;Wenjun Ying ,&nbsp;Zhengming Sheng ,&nbsp;Jie Zhang","doi":"10.1016/j.cpc.2024.109295","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109295","url":null,"abstract":"<div><p>Laser plasma instabilities (LPIs) have significant influences on the laser energy deposition efficiency and therefore are important processes in inertial confined fusion (ICF). Numerical simulations play important roles in revealing the complex physics of LPIs. Since LPIs are typically a three wave coupling process, the precise simulations of LPIs with kinetic effects require to resolve the laser period (around one femtosecond) and laser wavelength (less than one micron). In the typical ICF experiments, however, LPIs are involved in a spatial scale of several millimeters and a temporal scale of several nanoseconds. Therefore, the precise kinetic simulations of LPIs in such scales require huge computational resources and are hard to be carried out by present kinetic codes like particle-in-cell (PIC) codes. In this paper, a full wave fluid model of LPIs is constructed and numerically solved by the particle-mesh method, where the plasma is described by macro particles that can move across the mesh grids freely. Based upon this model, a two-dimensional (2D) GPU code named PM2D is developed. The PM2D code can simulate the kinetic effects of LPIs self-consistently as normal PIC codes. Moreover, as the physical model adopted in the PM2D code is specifically constructed for LPIs, the required macro particles per grid in the simulations can be largely reduced and thus overall simulation cost is considerably reduced comparing with PIC codes. More importantly, the numerical noise in the PM2D code is much lower, which makes it more robust than PIC codes in the simulation of LPIs for the long-time scale above 10 picoseconds. After the distributed computing is realized, our PM2D code is able to run on GPU clusters with a total mesh grids up to several billions, which meets the requirements for the simulations of LPIs at ICF experimental scale with reasonable cost.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> PM2D</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/xscj6vnkkw.1</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> GNU General Public License v3.0.</p><p><em>Programming language:</em> C++, CUDA.</p><p><em>Nature of problem:</em> Although the large scale simulations of laser plasma instabilities (LPIs) is of great significance for the inertial confinement fusion (ICF), there is still no suitable code to simulate these problems. PM2D code based on a GPU platform provides an effective method to simulate these large scale problems in ICF.</p><p><em>Solution method:</em> A fluid model for LPIs is established firstly, which contains wave equations that describe the laser propagating process, electron and ion fluid equations that describe the plasma motions, and a Poisson's equation that describes the electrostatic field induced by charge separation. The wave equation is solved on a rectangular region using absorption boundary conditions on all of four boundaries. The absorption boun","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539377","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
Change point detection of events in molecular simulations using dupin 利用杜宾检测分子模拟中的事件变化点
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-28 DOI: 10.1016/j.cpc.2024.109297
Brandon L. Butler , Domagoj Fijan , Sharon C. Glotzer

Particle tracking is commonly used to study time-dependent behavior in many different types of physical and chemical systems involving constituents that span many length scales, including atoms, molecules, nanoparticles, granular particles, and even larger objects. Behaviors of interest studied using particle tracking information include disorder-order transitions, thermodynamic phase transitions, structural transitions, protein folding, crystallization, gelation, swarming, avalanches and fracture. A common challenge in studies of these systems involves change detection. Change point detection discerns when a temporal signal undergoes a change in distribution. These changes can be local or global, instantaneous or prolonged, obvious or subtle. Moreover, system-wide changes marking an interesting physical or chemical phenomenon (e.g. crystallization of a liquid) are often preceded by events (e.g. pre-nucleation clusters) that are localized and can occur anywhere at anytime in the system. For these reasons, detecting events in particle trajectories generated by molecular simulation is challenging and typically accomplished via ad hoc solutions unique to the behavior and system under study. Consequently, methods for event detection lack generality, and those used in one field are not easily used by scientists in other fields. Here we present a new Python-based tool, dupin, that allows for universal event detection from particle trajectory data irrespective of the system details. dupin works by creating a signal representing the simulation and partitioning the signal based on events (changes within the trajectory). This approach allows for studies where manual annotating of event boundaries would require a prohibitive amount of time. Furthermore, dupin can serve as a tool in automated and reproducible workflows. We demonstrate the application of dupin using three examples and discuss its applicability to a wider class of problems.

Program summary

Program Title: dupin

CPC Library link to program files: https://doi.org/10.17632/kjcn97zc46.1%

Developer's repository link:: https://github.com/glotzerlab/dupin

Licensing provisions: BSD 3-clause

Programming language: Python

Nature of problem: In the field of molecular simulations, detecting structural transitions or events within trajectories can be both challenging and time-consuming for larger studies due to the requirement of a manual approach. This issue is particularly pronounced in studies involving hundreds or thousands of simulations, where manual detection and analysis of transitions become infeasible. Our goal is to develop an automated, accurate and efficient method for detecting transition points in simulation trajectories, which both

我们的方法证明,在提供信息描述符的情况下,在仿真轨迹中检测转换点的准确度很高。通过自动检测过程,我们的解决方案能够为大规模模拟研究提供高效的变化点检测:我们的软件包 dupin 在高精度检测仿真轨迹中的变化点方面大有可为;但必须注意的是,它在很大程度上依赖于对信息描述符的选择。如果选择的描述符不能有效捕捉系统属性的变化,检测的准确性就会大打折扣。不过,可以通过选择多种描述符和应用特征选择工具来完善信号,从而减轻这种限制。
{"title":"Change point detection of events in molecular simulations using dupin","authors":"Brandon L. Butler ,&nbsp;Domagoj Fijan ,&nbsp;Sharon C. Glotzer","doi":"10.1016/j.cpc.2024.109297","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109297","url":null,"abstract":"<div><p>Particle tracking is commonly used to study time-dependent behavior in many different types of physical and chemical systems involving constituents that span many length scales, including atoms, molecules, nanoparticles, granular particles, and even larger objects. Behaviors of interest studied using particle tracking information include disorder-order transitions, thermodynamic phase transitions, structural transitions, protein folding, crystallization, gelation, swarming, avalanches and fracture. A common challenge in studies of these systems involves change detection. Change point detection discerns when a temporal signal undergoes a change in distribution. These changes can be local or global, instantaneous or prolonged, obvious or subtle. Moreover, system-wide changes marking an interesting physical or chemical phenomenon (e.g. crystallization of a liquid) are often preceded by events (e.g. pre-nucleation clusters) that are localized and can occur anywhere at anytime in the system. For these reasons, detecting events in particle trajectories generated by molecular simulation is challenging and typically accomplished via <em>ad hoc</em> solutions unique to the behavior and system under study. Consequently, methods for event detection lack generality, and those used in one field are not easily used by scientists in other fields. Here we present a new Python-based tool, <span>dupin</span>, that allows for universal event detection from particle trajectory data irrespective of the system details. <span>dupin</span> works by creating a signal representing the simulation and partitioning the signal based on events (changes within the trajectory). This approach allows for studies where manual annotating of event boundaries would require a prohibitive amount of time. Furthermore, <span>dupin</span> can serve as a tool in automated and reproducible workflows. We demonstrate the application of <span>dupin</span> using three examples and discuss its applicability to a wider class of problems.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> <span>dupin</span></p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/kjcn97zc46.1</span><svg><path></path></svg>%</p><p><em>Developer's repository link::</em> <span>https://github.com/glotzerlab/dupin</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> BSD 3-clause</p><p><em>Programming language:</em> Python</p><p><em>Nature of problem:</em> In the field of molecular simulations, detecting structural transitions or events within trajectories can be both challenging and time-consuming for larger studies due to the requirement of a manual approach. This issue is particularly pronounced in studies involving hundreds or thousands of simulations, where manual detection and analysis of transitions become infeasible. Our goal is to develop an automated, accurate and efficient method for detecting transition points in simulation trajectories, which both ","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539382","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学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1