首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
YADE - An extensible framework for the interactive simulation of multiscale, multiphase, and multiphysics particulate systems YADE - 多尺度、多相和多物理场颗粒系统交互式模拟的可扩展框架
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-28 DOI: 10.1016/j.cpc.2024.109293
Vasileios Angelidakis , Katia Boschi , Karol Brzeziński , Robert A. Caulk , Bruno Chareyre , Carlos Andrés del Valle , Jérôme Duriez , Anton Gladky , Dingeman L.H. van der Haven , Janek Kozicki , Gerald Pekmezi , Luc Scholtès , Klaus Thoeni

This contribution presents the key elements of YADE, an extensible open-source framework for dynamic simulations. During the past 19 years, YADE has evolved from “Yet Another Dynamic Engine” to a versatile multiscale and multiphysics solver, counting a large, active, and growing community of users and developers. The computationally intense parts of the source code are written in C++, using flexible object models that allow for easy implementation of new features. The source code is wrapped in Python, equipping the software with an interactive kernel used for rapid and concise scene construction, simulation control, post-processing, and debugging. The project, including documentation and examples, is hosted on https://yade-dem.org, while the source code is freely available on GitLab. Over the last decade, YADE has expanded in terms of capabilities thanks to the contribution of many developers from different fields of expertise, including soil and rock mechanics, chemical engineering, physics, bulk material handling, and mineral processing. The rapid growth of YADE can be attributed to (1) the careful and robust design of the framework core, (2) a continuous integration pipeline with fully embedded thorough tests which are executed upon each merge request, ensuring stable compilation for various operating systems, and (3) user-friendliness, facilitated by the Python interface, detailed documentation, and rigorous user support. In this paper, we review the main features of YADE, highlighting its versatility in terms of applications, its flexibility in terms of code development, as well as recent improvements in terms of computational efficiency.

Program summary

Program Title: YADE - Yet Another Dynamic Engine

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

Developer's repository link: https://gitlab.com/yade-dev/trunk

Licensing provisions: GNU General Public License 2

Programming language: C++, Python

Nature of problem: Numerical simulation of many-particle systems requires accurate models for particle-to-particle interactions, efficient contact detection between objects of various shapes, and robust time integration. In addition, the flow of fluids, thermal effects, as well as other coupled problems in the presence of particles are found in many fundamental and practical applications and they need dedicated computational tools. YADE provides a computational framework to perform such simulations using the discrete element method and multiple extensions of it.

Solution method: YADE simulates particulate systems using the Discrete Element Method (DEM) in a flexible platform combining C++ and Python

本文介绍了 YADE 的关键要素,YADE 是用于动态模拟的可扩展开源框架。在过去的 19 年中,YADE 已从 "又一个动态引擎 "发展成为一个多功能的多尺度和多物理场求解器,拥有一个庞大、活跃且不断壮大的用户和开发者社区。源代码中计算密集的部分是用 C++ 编写的,使用灵活的对象模型,可以轻松实现新功能。源代码用 Python 包装,为软件配备了一个交互式内核,用于快速简洁地构建场景、模拟控制、后处理和调试。该项目(包括文档和示例)托管在 https://yade-dem.org 上,源代码可在 GitLab 上免费获取。在过去的十年中,YADE 的功能不断扩展,这要归功于来自不同专业领域(包括土壤和岩石力学、化学工程、物理学、散装物料处理和矿物加工)的众多开发人员。YADE 的快速发展应归功于:(1) 框架核心精心而稳健的设计;(2) 持续集成流水线,每次合并请求时都会执行全面的嵌入式测试,确保在各种操作系统下都能稳定编译;(3) Python 界面、详细的文档和严格的用户支持为用户提供了便利。在本文中,我们回顾了 YADE 的主要特点,强调了它在应用方面的多样性、代码开发方面的灵活性,以及最近在计算效率方面的改进:YADE - Yet Another Dynamic EngineCPC Library 程序文件链接:https://doi.org/10.17632/n4f5fw97rd.1Developer's repository 链接:https://gitlab.com/yade-dev/trunkLicensing provisions:GNU 通用公共许可证 2编程语言:C++、PythonC++, Python问题性质:多粒子系统的数值模拟需要精确的粒子间相互作用模型、各种形状物体间的高效接触检测以及稳健的时间积分。此外,在许多基础和实际应用中都会发现流体流动、热效应以及其他存在粒子的耦合问题,这些问题都需要专用的计算工具。YADE 提供了一个计算框架,利用离散元法及其多种扩展方法进行此类模拟:YADE 在一个结合了 C++ 和 Python 的灵活平台上使用离散元法 (DEM) 模拟微粒系统。它提供了多种形状和相互作用模型、显式时间积分方案以及许多后处理工具。YADE 具有孔隙尺度流体和热通量的专用求解器,并支持与 Escript(有限元法)和 OpenFOAM(计算流体动力学)等第三方软件的耦合。
{"title":"YADE - An extensible framework for the interactive simulation of multiscale, multiphase, and multiphysics particulate systems","authors":"Vasileios Angelidakis ,&nbsp;Katia Boschi ,&nbsp;Karol Brzeziński ,&nbsp;Robert A. Caulk ,&nbsp;Bruno Chareyre ,&nbsp;Carlos Andrés del Valle ,&nbsp;Jérôme Duriez ,&nbsp;Anton Gladky ,&nbsp;Dingeman L.H. van der Haven ,&nbsp;Janek Kozicki ,&nbsp;Gerald Pekmezi ,&nbsp;Luc Scholtès ,&nbsp;Klaus Thoeni","doi":"10.1016/j.cpc.2024.109293","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109293","url":null,"abstract":"<div><p>This contribution presents the key elements of <span>YADE</span>, an extensible open-source framework for dynamic simulations. During the past 19 years, <span>YADE</span> has evolved from “Yet Another Dynamic Engine” to a versatile multiscale and multiphysics solver, counting a large, active, and growing community of users and developers. The computationally intense parts of the source code are written in C++, using flexible object models that allow for easy implementation of new features. The source code is wrapped in Python, equipping the software with an interactive kernel used for rapid and concise scene construction, simulation control, post-processing, and debugging. The project, including documentation and examples, is hosted on <span>https://yade-dem.org</span><svg><path></path></svg>, while the source code is freely available on GitLab. Over the last decade, <span>YADE</span> has expanded in terms of capabilities thanks to the contribution of many developers from different fields of expertise, including soil and rock mechanics, chemical engineering, physics, bulk material handling, and mineral processing. The rapid growth of <span>YADE</span> can be attributed to (1) the careful and robust design of the framework core, (2) a continuous integration pipeline with fully embedded thorough tests which are executed upon each merge request, ensuring stable compilation for various operating systems, and (3) user-friendliness, facilitated by the Python interface, detailed documentation, and rigorous user support. In this paper, we review the main features of <span>YADE</span>, highlighting its versatility in terms of applications, its flexibility in terms of code development, as well as recent improvements in terms of computational efficiency.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> YADE - Yet Another Dynamic Engine</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/n4f5fw97rd.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://gitlab.com/yade-dev/trunk</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> GNU General Public License 2</p><p><em>Programming language:</em> C++, Python</p><p><em>Nature of problem:</em> Numerical simulation of many-particle systems requires accurate models for particle-to-particle interactions, efficient contact detection between objects of various shapes, and robust time integration. In addition, the flow of fluids, thermal effects, as well as other coupled problems in the presence of particles are found in many fundamental and practical applications and they need dedicated computational tools. <span>YADE</span> provides a computational framework to perform such simulations using the discrete element method and multiple extensions of it.</p><p><em>Solution method:</em> <span>YADE</span> simulates particulate systems using the Discrete Element Method (DEM) in a flexible platform combining C++ and Python","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":"https://www.sciencedirect.com/science/article/pii/S0010465524002169/pdfft?md5=adceaced53a861b5179b33ae68901234&pid=1-s2.0-S0010465524002169-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539375","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
Fast Fourier Transform periodic interpolation method for superposition sums in a periodic unit cell 快速傅里叶变换周期插值法,用于周期性单元格中的叠加和
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-27 DOI: 10.1016/j.cpc.2024.109291

We propose a Fast Fourier Transform based Periodic Interpolation Method (FFT-PIM), a flexible and computationally efficient approach for computing the scalar potential given by a superposition sum in a unit cell of an infinitely periodic array. Under the same umbrella, FFT-PIM allows computing the potential for 1D, 2D, and 3D periodicities for dynamic problems involving the Helmholtz potential and static problems involving Coulomb potential, including problems with and without a periodic phase shift. The computational complexity of the FFT-PIM is of O(NlogN) for N spatially coinciding sources and observer points. The FFT-PIM uses rapidly converging series representations of the Green's function serving as a kernel in the superposition sum. Based on these representations, the FFT-PIM splits the potential into its near-zone component, which includes a small number of images surrounding the unit cell of interest, and far-zone component, which includes the rest of an infinite number of images. The far-zone component is evaluated by projecting the non-uniform sources onto a sparse uniform grid, performing superposition sums on this sparse grid, and interpolating the potential from the uniform grid to the non-uniform observation points. The near-zone component is evaluated using an FFT-based method, which is adapted to efficiently handle non-uniform source-observer distributions within the periodic unit cell. The FFT-PIM can be used for a broad range of applications, such as periodic problems involving integral equations for wave propagation in electromagnetics and acoustics, micromagnetic solvers, and density functional theory solvers.

我们提出了基于快速傅立叶变换的周期插值法(FFT-PIM),这是一种灵活、计算效率高的方法,用于计算无限周期阵列单元格中叠加和给出的标量势。在同一框架下,FFT-PIM 可以计算涉及亥姆霍兹势的动态问题和涉及库仑势的静态问题的一维、二维和三维周期势,包括有周期相移和无周期相移的问题。对于 N 个空间重合的源点和观测点,FFT-PIM 的计算复杂度为 O(NlogN)。FFT-PIM 使用快速收敛的格林函数序列表示作为叠加和的核。基于这些表示法,FFT-PIM 将势能分为近区分量和远区分量,前者包括感兴趣的单元格周围的少量图像,后者包括无限多图像的其余部分。评估远区部分的方法是将非均匀源投影到稀疏的均匀网格上,在该稀疏网格上进行叠加求和,然后将电势从均匀网格插值到非均匀观测点。近区分量采用基于 FFT 的方法进行评估,该方法可有效处理周期性单元格内的非均匀源观测点分布。FFT-PIM 可用于广泛的应用领域,如涉及电磁学和声学中波传播积分方程的周期性问题、微磁求解器和密度泛函理论求解器。
{"title":"Fast Fourier Transform periodic interpolation method for superposition sums in a periodic unit cell","authors":"","doi":"10.1016/j.cpc.2024.109291","DOIUrl":"10.1016/j.cpc.2024.109291","url":null,"abstract":"<div><p>We propose a Fast Fourier Transform based Periodic Interpolation Method (FFT-PIM), a flexible and computationally efficient approach for computing the scalar potential given by a superposition sum in a unit cell of an infinitely periodic array. Under the same umbrella, FFT-PIM allows computing the potential for 1D, 2D, and 3D periodicities for dynamic problems involving the Helmholtz potential and static problems involving Coulomb potential, including problems with and without a periodic phase shift. The computational complexity of the FFT-PIM is of <span><math><mi>O</mi><mo>(</mo><mi>N</mi><mi>log</mi><mo>⁡</mo><mi>N</mi><mo>)</mo></math></span> for <em>N</em> spatially coinciding sources and observer points. The FFT-PIM uses rapidly converging series representations of the Green's function serving as a kernel in the superposition sum. Based on these representations, the FFT-PIM splits the potential into its near-zone component, which includes a small number of images surrounding the unit cell of interest, and far-zone component, which includes the rest of an infinite number of images. The far-zone component is evaluated by projecting the non-uniform sources onto a sparse uniform grid, performing superposition sums on this sparse grid, and interpolating the potential from the uniform grid to the non-uniform observation points. The near-zone component is evaluated using an FFT-based method, which is adapted to efficiently handle non-uniform source-observer distributions within the periodic unit cell. The FFT-PIM can be used for a broad range of applications, such as periodic problems involving integral equations for wave propagation in electromagnetics and acoustics, micromagnetic solvers, and density functional theory solvers.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002145/pdfft?md5=23d356ca2f300c3da1f4f8e8b1608506&pid=1-s2.0-S0010465524002145-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141729599","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
Comment on “Trans-Net: A transferable pretrained neural networks based on temporal domain decomposition for solving partial differential equations” by D. Zhang, Y. Li, and S. Ying 关于 "Trans-Net:基于时域分解的可转移预训练神经网络用于求解偏微分方程 "的评论(作者:D. Zhang, Y. Li, and S. Ying
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-26 DOI: 10.1016/j.cpc.2024.109289
Michael Penwarden
{"title":"Comment on “Trans-Net: A transferable pretrained neural networks based on temporal domain decomposition for solving partial differential equations” by D. Zhang, Y. Li, and S. Ying","authors":"Michael Penwarden","doi":"10.1016/j.cpc.2024.109289","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109289","url":null,"abstract":"","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141480501","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
Speeding up all-electron real-time TDDFT demonstrated by the exciting package 加速全电子实时 TDDFT 的精彩软件包演示
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-26 DOI: 10.1016/j.cpc.2024.109292
Ronaldo Rodrigues Pela , Claudia Draxl

Currently, many ab initio codes are being prepared for exascale computing. A first and important step is to significantly improve the efficiency of existing implementations by devising algorithms that perform better also on a single-core level. This manuscript addresses this challenge for real-time time-dependent density functional theory in the full-potential all-electron code exciting, with a focus on systems with reduced dimensionality. Following the strategy described here, calculations can run orders of magnitude faster than before. We demonstrate this with the molecules H2 and CO, achieving speedups between 98 to over 50,000. We also present an example where conventional calculations would be particularly costly, namely the inorganic/organic heterostructure of pyridine physisorbed on monolayer MoS2.

目前,许多超大规模计算所需的原子序数代码正在准备中。第一步也是最重要的一步是通过设计在单核级别也能更好地运行的算法,大幅提高现有实现的效率。本手稿针对全电位全电子代码中的实时时变密度泛函理论提出了这一挑战,重点是降维系统。按照本文所述的策略,计算的运行速度可以比以前快几个数量级。我们以 H2 和 CO 分子为例进行了演示,计算速度提高了 98 至 50,000 多倍。我们还以单层 MoS2 上物理吸附的吡啶的无机/有机异质结构为例,介绍了传统计算所需的高昂成本。
{"title":"Speeding up all-electron real-time TDDFT demonstrated by the exciting package","authors":"Ronaldo Rodrigues Pela ,&nbsp;Claudia Draxl","doi":"10.1016/j.cpc.2024.109292","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109292","url":null,"abstract":"<div><p>Currently, many <em>ab initio</em> codes are being prepared for exascale computing. A first and important step is to significantly improve the efficiency of existing implementations by devising algorithms that perform better also on a single-core level. This manuscript addresses this challenge for real-time time-dependent density functional theory in the full-potential all-electron code <span>exciting</span>, with a focus on systems with reduced dimensionality. Following the strategy described here, calculations can run orders of magnitude faster than before. We demonstrate this with the molecules H<sub>2</sub> and CO, achieving speedups between 98 to over 50,000. We also present an example where conventional calculations would be particularly costly, namely the inorganic/organic heterostructure of pyridine physisorbed on monolayer MoS<sub>2</sub>.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539393","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
Spherical harmonic–based DEM in LAMMPS: Implementation, verification and performance assessment LAMMPS 中基于球谐波的 DEM:实施、验证和性能评估
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-26 DOI: 10.1016/j.cpc.2024.109290
Mohammad Imaran , James Young , Rosario Capozza , Kevin Stratford , Kevin J. Hanley

Particle shape plays a major role in the behaviour of most granular systems. This has led to increasing interest in the representation of arbitrarily shaped particles in discrete element method (DEM) simulations. In this paper, we present a simulation approach based on the representation of particle shapes using spherical harmonics where their radii can be calculated in spherical coordinates. An energy-conserving contact model is adopted which is based on the volume of overlap between interacting particles. Contact detection makes use of the bounding spheres of the interacting particles, simplifying its incorporation within a conventional sphere-based DEM code. The volume of overlap and other required quantities are calculated using Gaussian quadrature integration of the spherical cap formed by the bounding spheres. Both the accuracy and the computational cost increase with the number of quadrature points. The algorithm has been implemented as a LAMMPS user package, and verified by means of energy conservation. The performance and parallel scaling of the approach are illustrated, and an observed scaling limitation owing to load imbalance arising from the evaluation of the overlap volume is discussed.

Program summary

Program Title: SH-DEM LAMMPS package

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

Developer's repository link: https://github.com/EPCCed/lammps/tree/feature-sh-dem

Licensing provisions: GPLv2

Programming language: C++

Nature of problem: Particles are often highly non-spherical. Spherical harmonics provide a natural way to represent complex particle shapes within a discrete element method (DEM) simulation. However, there is no publicly available DEM code which allows particle shapes to be represented using spherical harmonics.

Solution method: The SH-DEM package extends the capabilities of LAMMPS so that irregularly shaped particles can be represented using spherical harmonics. The package includes the definition of a new ‘shdem’ atom style for spherical harmonic particles, a time integration scheme for these particles based on the Velocity Verlet algorithm, algorithms for detecting and evaluating contacts between spherical harmonic particles, evaluation of the contact forces between these particles and rigid walls, and two energy computes for groups of spherical harmonic particles.

Additional comments including restrictions and unusual features: The SH-DEM package is applicable only to 3D simulations. In order for a particle to be defined by spherical harmonics, it is required that any line segment drawn from an origin inside the particle crosses the contour of the particle's three-dimensional surface only once. If the ‘shdem’ atom style is used, the current implementation

颗粒形状在大多数颗粒系统的行为中起着重要作用。因此,在离散元素法(DEM)模拟中表示任意形状的颗粒越来越受到关注。在本文中,我们提出了一种基于使用球面谐波表示颗粒形状的模拟方法,颗粒的半径可以用球面坐标计算。本文采用了一种能量守恒接触模型,该模型基于相互作用的粒子之间的重叠体积。接触检测利用了相互作用粒子的边界球,从而简化了将其纳入传统基于球体的 DEM 代码的过程。重叠体积和其他所需数量是通过对边界球形成的球帽进行高斯正交积分计算得出的。精度和计算成本都会随着正交点数量的增加而增加。该算法已作为 LAMMPS 用户软件包实现,并通过能量守恒进行了验证。说明了该方法的性能和并行缩放,并讨论了由于评估重叠体积时产生的负载不平衡而导致的缩放限制:SH-DEM LAMMPS 程序包 CPC 库与程序文件的链接:https://doi.org/10.17632/vk6fj6yjtf.1Developer's 资源库链接:https://github.com/EPCCed/lammps/tree/feature-sh-demLicensing 规定:GPLv2 编程语言问题性质:粒子通常高度非球形。球谐波是离散元法 (DEM) 模拟中表示复杂粒子形状的一种自然方法。然而,目前还没有公开的 DEM 代码允许使用球面谐波来表示粒子形状:SH-DEM 软件包扩展了 LAMMPS 的功能,从而可以使用球谐波来表示不规则形状的粒子。求解方法:SH-DEM 软件包扩展了 LAMMPS 的功能,使不规则形状的粒子可以用球谐波表示。该软件包包括为球谐波粒子定义新的 "shdem "原子样式、基于速度 Verlet 算法的这些粒子的时间积分方案、检测和评估球谐波粒子之间接触的算法、评估这些粒子与刚性壁之间的接触力以及球谐波粒子组的两种能量计算:SH-DEM 软件包仅适用于三维模拟。为了用球谐波对粒子进行定义,要求从粒子内部原点绘制的任何线段只能与粒子的三维表面轮廓线交叉一次。如果使用了 "shdem "原子样式,当前的实现要求所有粒子都必须使用这种原子样式来定义,例如,不允许混合使用球形和 shdem 原子样式。
{"title":"Spherical harmonic–based DEM in LAMMPS: Implementation, verification and performance assessment","authors":"Mohammad Imaran ,&nbsp;James Young ,&nbsp;Rosario Capozza ,&nbsp;Kevin Stratford ,&nbsp;Kevin J. Hanley","doi":"10.1016/j.cpc.2024.109290","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109290","url":null,"abstract":"<div><p>Particle shape plays a major role in the behaviour of most granular systems. This has led to increasing interest in the representation of arbitrarily shaped particles in discrete element method (DEM) simulations. In this paper, we present a simulation approach based on the representation of particle shapes using spherical harmonics where their radii can be calculated in spherical coordinates. An energy-conserving contact model is adopted which is based on the volume of overlap between interacting particles. Contact detection makes use of the bounding spheres of the interacting particles, simplifying its incorporation within a conventional sphere-based DEM code. The volume of overlap and other required quantities are calculated using Gaussian quadrature integration of the spherical cap formed by the bounding spheres. Both the accuracy and the computational cost increase with the number of quadrature points. The algorithm has been implemented as a LAMMPS user package, and verified by means of energy conservation. The performance and parallel scaling of the approach are illustrated, and an observed scaling limitation owing to load imbalance arising from the evaluation of the overlap volume is discussed.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> SH-DEM LAMMPS package</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/vk6fj6yjtf.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/EPCCed/lammps/tree/feature-sh-dem</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> GPLv2</p><p><em>Programming language:</em> C++</p><p><em>Nature of problem:</em> Particles are often highly non-spherical. Spherical harmonics provide a natural way to represent complex particle shapes within a discrete element method (DEM) simulation. However, there is no publicly available DEM code which allows particle shapes to be represented using spherical harmonics.</p><p><em>Solution method:</em> The <em>SH-DEM</em> package extends the capabilities of LAMMPS so that irregularly shaped particles can be represented using spherical harmonics. The package includes the definition of a new ‘shdem’ atom style for spherical harmonic particles, a time integration scheme for these particles based on the Velocity Verlet algorithm, algorithms for detecting and evaluating contacts between spherical harmonic particles, evaluation of the contact forces between these particles and rigid walls, and two energy computes for groups of spherical harmonic particles.</p><p><em>Additional comments including restrictions and unusual features:</em> The <em>SH-DEM</em> package is applicable only to 3D simulations. In order for a particle to be defined by spherical harmonics, it is required that any line segment drawn from an origin inside the particle crosses the contour of the particle's three-dimensional surface only once. If the ‘shdem’ atom style is used, the current implementation","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002133/pdfft?md5=6a37d7ef4a05ac7454f2edf50210087d&pid=1-s2.0-S0010465524002133-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539385","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
Corrigendum to “All electron GW with linearized augmented plane waves for metals and semiconductors” [Computer Physics Communications 295 (2024) 108986] 对 "金属和半导体线性化增强平面波的全电子 GW "的更正 [Computer Physics Communications 295 (2024) 108986]
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-25 DOI: 10.1016/j.cpc.2024.109282
Kristjan Haule , Subhasish Mandal
{"title":"Corrigendum to “All electron GW with linearized augmented plane waves for metals and semiconductors” [Computer Physics Communications 295 (2024) 108986]","authors":"Kristjan Haule ,&nbsp;Subhasish Mandal","doi":"10.1016/j.cpc.2024.109282","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109282","url":null,"abstract":"","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002054/pdfft?md5=129046b19c16b8eb95271167028cec2c&pid=1-s2.0-S0010465524002054-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141480500","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
Legume: A free implementation of the guided-mode expansion method for photonic crystal slabs Legume:光子晶体板导引模式扩展方法的免费实现
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-25 DOI: 10.1016/j.cpc.2024.109286
Simone Zanotti , Momchil Minkov , Davide Nigro , Dario Gerace , Shanhui Fan , Lucio Claudio Andreani

We describe legume, a free electromagnetic solver that implements the guided-mode expansion method for patterned multilayer waveguides, or photonic crystal slabs. legume has a built-in tool for automatic differentiation, which makes it suitable for the inverse design of photonic crystal structures with desired physical properties. Compared to a previous version of the method (M. Minkov et al., 2020 [12]), here we introduce several new features of the code, we discuss additional technical aspects of the method and its numerical implementation. The novel features that are treated in this paper include: (i) the separation of modes according to their mirror symmetry with respect to a vertical symmetry plane of the photonic structure, (ii) the problem of polarization mixing in coupling to far-field radiation modes, and (iii) the description of active two-dimensional layers through a suitably formulated radiation-matter coupling Hamiltonian, allowing to describe the physics of both weakly and strongly coupled exciton-photon modes, the latter leading to photonic crystal polariton eigenmodes. Detailed and direct comparisons with rigorous coupled-wave analysis simulations are used to test the accuracy of the method and the numerical efficiency of the code. These newly added features of the legume code significantly increase the prospective applications of guided-mode expansion, making it a very practical and versatile tool enabling the design of advanced photonic structures and the description of radiation-matter interaction.

Program summary

Program Title: legume

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

Developer's repository link: https://github.com/fancompute/legume

Licensing provisions: MIT

Programming language: Python

Nature of problem: Dispersion and radiative losses of photonic eigenmodes in patterned multilayer waveguides/photonic crystal slabs/periodic metasurfaces. Interaction of photonic modes with exciton resonances leading to exciton-polaritons. Inverse design by optimization of the parameters.

Solution method: Finite-basis expansion using a basis of guided modes of an effective homogeneous waveguide, perturbation theory to describe coupling with far-field radiation. Quantum theory of excitons, photons and their interaction to describe the occurrence of exciton-polaritons. Automatic differentiation via Autograd to implement inverse design. In this upgraded version of the legume code we implement symmetrization with respect to a vertical mirror plane and light-matter interaction for exciton-polaritons. Inverse design has been described previously, here we focus on the new features and applications of the code.

我们介绍了 legume,这是一种免费的电磁求解器,它实现了图案化多层波导或光子晶体板的导模展开方法。legume 有一个内置的自动微分工具,这使它适用于具有所需物理特性的光子晶体结构的逆设计。与该方法的前一版本(M. Minkov 等人,2020 [12])相比,我们在这里介绍了代码的几个新特性,讨论了该方法的其他技术方面及其数值实现。本文讨论的新特征包括(i) 根据相对于光子结构垂直对称面的镜像对称性分离模式;(ii) 与远场辐射模式耦合时的偏振混合问题;(iii) 通过适当制定的辐射-物质耦合哈密顿来描述有源二维层,从而能够描述弱耦合和强耦合激子-光子模式的物理现象,后者导致光子晶体极化子特征模式。通过与严格的耦合波分析模拟进行详细而直接的比较,测试了该方法的准确性和代码的数值效率。legume 代码新增的这些功能大大增加了导模扩展的应用前景,使其成为设计先进光子结构和描述辐射与物质相互作用的非常实用的多功能工具。程序摘要程序标题:legumeCPC 库程序文件链接:https://doi.org/10.17632/kf3cwknx4d.1Developer's repository 链接:https://github.com/fancompute/legumeLicensing provisions:MITProgramming language:问题性质:图案化多层波导/光子晶体板/周期元表面中光子特征模的色散和辐射损耗。光子模式与激子共振的相互作用导致激子-极化子。通过优化参数进行反向设计:求解方法:使用有效均质波导的引导模式基础进行有限基础扩展,用扰动理论描述与远场辐射的耦合。激子、光子及其相互作用的量子理论用于描述激子-极化子的发生。通过 Autograd 自动微分,实现逆向设计。在这个升级版的豆科植物代码中,我们实现了与垂直镜面的对称以及激子-极化子的光-物质相互作用。反向设计之前已经介绍过,这里我们重点介绍代码的新功能和应用。
{"title":"Legume: A free implementation of the guided-mode expansion method for photonic crystal slabs","authors":"Simone Zanotti ,&nbsp;Momchil Minkov ,&nbsp;Davide Nigro ,&nbsp;Dario Gerace ,&nbsp;Shanhui Fan ,&nbsp;Lucio Claudio Andreani","doi":"10.1016/j.cpc.2024.109286","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109286","url":null,"abstract":"<div><p>We describe <span>legume</span>, a free electromagnetic solver that implements the guided-mode expansion method for patterned multilayer waveguides, or photonic crystal slabs. <span>legume</span> has a built-in tool for automatic differentiation, which makes it suitable for the inverse design of photonic crystal structures with desired physical properties. Compared to a previous version of the method (M. Minkov et al., 2020 <span>[12]</span>), here we introduce several new features of the code, we discuss additional technical aspects of the method and its numerical implementation. The novel features that are treated in this paper include: (i) the separation of modes according to their mirror symmetry with respect to a vertical symmetry plane of the photonic structure, (ii) the problem of polarization mixing in coupling to far-field radiation modes, and (iii) the description of active two-dimensional layers through a suitably formulated radiation-matter coupling Hamiltonian, allowing to describe the physics of both weakly and strongly coupled exciton-photon modes, the latter leading to photonic crystal polariton eigenmodes. Detailed and direct comparisons with rigorous coupled-wave analysis simulations are used to test the accuracy of the method and the numerical efficiency of the code. These newly added features of the <span>legume</span> code significantly increase the prospective applications of guided-mode expansion, making it a very practical and versatile tool enabling the design of advanced photonic structures and the description of radiation-matter interaction.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> <span>legume</span></p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/kf3cwknx4d.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/fancompute/legume</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> MIT</p><p><em>Programming language:</em> Python</p><p><em>Nature of problem:</em> Dispersion and radiative losses of photonic eigenmodes in patterned multilayer waveguides/photonic crystal slabs/periodic metasurfaces. Interaction of photonic modes with exciton resonances leading to exciton-polaritons. Inverse design by optimization of the parameters.</p><p><em>Solution method:</em> Finite-basis expansion using a basis of guided modes of an effective homogeneous waveguide, perturbation theory to describe coupling with far-field radiation. Quantum theory of excitons, photons and their interaction to describe the occurrence of exciton-polaritons. Automatic differentiation via Autograd to implement inverse design. In this upgraded version of the <span>legume</span> code we implement symmetrization with respect to a vertical mirror plane and light-matter interaction for exciton-polaritons. Inverse design has been described previously, here we focus on the new features and applications of the code.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002091/pdfft?md5=c9a5f8f0d85ec817bff548b0b92ec8f6&pid=1-s2.0-S0010465524002091-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539381","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
INSPIRED: Inelastic neutron scattering prediction for instantaneous results and experimental design 灵感:非弹性中子散射预测瞬时结果和实验设计
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-25 DOI: 10.1016/j.cpc.2024.109288
Bowen Han , Andrei T. Savici , Mingda Li , Yongqiang Cheng

Inelastic neutron scattering (INS) has unique advantages in probing how atoms vibrate and how the vibrations propagate and interact. Such dynamic information is crucial in understanding various material properties, from heat capacity, thermal conductivity, phase transitions, and chemical reactions to more exotic quantum behavior. The analysis and interpretation of the INS spectra often start from a model structure of the sample, followed by a series of calculations to obtain the simulated spectra to compare with experiments. The conventional way to perform such calculations usually requires significant time, computing resources, and specialized expertise. Here, we present a new program named INSPIRED (Inelastic Neutron Scattering Prediction for Instantaneous Results and Experimental Design), which enables users to perform rapid INS simulations in several different ways on their personal computers in just a few clicks, with the crystal structure as the only input file. Specifically, the users can choose a pre-trained symmetry-aware neural network (coupled with an autoencoder) to predict the phonon density of states (DOS), 1D S(E) and 2D S(|Q|,E) spectra for any given structure. One can also choose an existing density functional theory (DFT) calculation from a database (containing over 12,000 crystals), and quickly obtain the simulated INS spectra for single crystals and powders. It is also possible to use pre-trained universal machine learning force fields to relax a given crystal structure, calculate the phonon dispersion and DOS, and, subsequently, the INS spectra. All these functions are implemented with a PyQt graphic user interface. We expect these new tools will benefit broad user communities and significantly improve the efficiency of experiment design, execution, and data analysis for INS.

Program summary

Program Title: INSPIRED

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

Developer's repository link: https://github.com/cyqjh/inspired (software), https://doi.org/10.5281/zenodo.11478889 (database, models files, and virtual machine appliance file)

Licensing provisions: MIT

Programming language: Python

Nature of problem: How to easily and quickly assess the expected INS spectra for a given crystal structure has been a major challenge in the INS user community. It is a main bottleneck affecting almost every stage of the workflow, from experimental design and steering to data analysis and interpretation. The widely used approach involving DFT calculations is time-consuming, requires advanced computing resources, and has a steep learning curve. With the growing power of neutron sources and more hig

非弹性中子散射(INS)在探测原子如何振动以及振动如何传播和相互作用方面具有独特的优势。这些动态信息对于了解各种材料特性至关重要,从热容量、热导率、相变、化学反应到更奇特的量子行为。对 INS 图谱的分析和解释通常从样品的模型结构开始,然后通过一系列计算获得模拟图谱,并与实验结果进行比较。进行此类计算的传统方法通常需要大量时间、计算资源和专业知识。在此,我们介绍一种名为 INSPIRED(非弹道中子散射瞬时结果和实验设计预测)的新程序,用户只需点击几下,就能在个人电脑上以几种不同的方式快速进行 INS 模拟,而晶体结构则是唯一的输入文件。具体来说,用户可以选择预先训练好的对称性感知神经网络(与自动编码器相结合)来预测任何给定结构的声子态密度(DOS)、一维 S(E) 和二维 S(|Q|,E) 光谱。还可以从数据库(包含 12,000 多种晶体)中选择现有的密度泛函理论(DFT)计算,快速获得单晶体和粉末的模拟 INS 光谱。还可以使用预先训练好的通用机器学习力场来松弛给定的晶体结构,计算声子色散和 DOS,进而计算 INS 光谱。所有这些功能都是通过 PyQt 图形用户界面实现的。我们希望这些新工具能惠及广大用户群体,并显著提高 INS 实验设计、执行和数据分析的效率:INSPIREDCPC 库与程序文件的链接:https://doi.org/10.17632/8g3s8f9n2p.1Developer's repository 链接:https://github.com/cyqjh/inspired(软件)、https://doi.org/10.5281/zenodo.11478889(数据库、模型文件和虚拟机设备文件)许可条款:MIT 编程语言:Python问题性质:如何方便快捷地评估给定晶体结构的预期 INS 光谱一直是 INS 用户社区面临的主要挑战。从实验设计和指导到数据分析和解释,它几乎是影响工作流程每个阶段的主要瓶颈。广泛使用的 DFT 计算方法耗时长,需要先进的计算资源,而且学习曲线陡峭。随着中子源和更多高通量 INS 实验的日益强大,迫切需要解决这一问题,最好是利用机器学习和人工智能的最新发展:我们采用数据驱动的方法来解决这个问题。我们训练了一个对称感知神经网络,从晶体结构直接预测一维光谱或潜在空间向量,然后解码重建二维光谱。用于训练的数据库包含一万多个晶体,也可用于计算单晶体和粉末的 INS 光谱。最近出现的通用机器学习力场为大幅加速模拟提供了另一个途径。所有这些解决方案都是通过图形用户界面实现的,因此没有建模/编程背景或无法使用强大计算机的用户也能轻松运行工作流程。
{"title":"INSPIRED: Inelastic neutron scattering prediction for instantaneous results and experimental design","authors":"Bowen Han ,&nbsp;Andrei T. Savici ,&nbsp;Mingda Li ,&nbsp;Yongqiang Cheng","doi":"10.1016/j.cpc.2024.109288","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109288","url":null,"abstract":"<div><p>Inelastic neutron scattering (INS) has unique advantages in probing how atoms vibrate and how the vibrations propagate and interact. Such dynamic information is crucial in understanding various material properties, from heat capacity, thermal conductivity, phase transitions, and chemical reactions to more exotic quantum behavior. The analysis and interpretation of the INS spectra often start from a model structure of the sample, followed by a series of calculations to obtain the simulated spectra to compare with experiments. The conventional way to perform such calculations usually requires significant time, computing resources, and specialized expertise. Here, we present a new program named INSPIRED (Inelastic Neutron Scattering Prediction for Instantaneous Results and Experimental Design), which enables users to perform rapid INS simulations in several different ways on their personal computers in just a few clicks, with the crystal structure as the only input file. Specifically, the users can choose a pre-trained symmetry-aware neural network (coupled with an autoencoder) to predict the phonon density of states (DOS), 1D S(E) and 2D S(<span><math><mo>|</mo><mtext>Q</mtext><mo>|</mo></math></span>,E) spectra for any given structure. One can also choose an existing density functional theory (DFT) calculation from a database (containing over 12,000 crystals), and quickly obtain the simulated INS spectra for single crystals and powders. It is also possible to use pre-trained universal machine learning force fields to relax a given crystal structure, calculate the phonon dispersion and DOS, and, subsequently, the INS spectra. All these functions are implemented with a PyQt graphic user interface. We expect these new tools will benefit broad user communities and significantly improve the efficiency of experiment design, execution, and data analysis for INS.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> INSPIRED</p><p><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/8g3s8f9n2p.1</span></span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span><span>https://github.com/cyqjh/inspired</span></span><svg><path></path></svg> (software), <span><span>https://doi.org/10.5281/zenodo.11478889</span></span><svg><path></path></svg> (database, models files, and virtual machine appliance file)</p><p><em>Licensing provisions:</em> MIT</p><p><em>Programming language:</em> Python</p><p><em>Nature of problem:</em> How to easily and quickly assess the expected INS spectra for a given crystal structure has been a major challenge in the INS user community. It is a main bottleneck affecting almost every stage of the workflow, from experimental design and steering to data analysis and interpretation. The widely used approach involving DFT calculations is time-consuming, requires advanced computing resources, and has a steep learning curve. With the growing power of neutron sources and more hig","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141539384","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
Molecular modeling of reactive systems with REACTER 利用 REACTER 建立反应体系的分子模型
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-22 DOI: 10.1016/j.cpc.2024.109287
Jacob R. Gissinger , Benjamin D. Jensen , Kristopher E. Wise

From batteries to biology, many important technologies and physical phenomena operate as out-of-equilibrium reactive systems. Accurately modeling the nanoscale dynamics of non-equilibrium reactive systems and how they respond to external stimuli is challenging, especially if both atomistic resolution and large scales (>105 atoms) are required. REACTER is a protocol for modeling chemical reactions during classical molecular dynamics (MD) simulations. Coupling traditional fixed-valence force fields with heuristic reactive MD is advantageous for large-scale simulations of dynamic systems that can include the complex reaction mechanisms common in organic chemistry. This paper details the current features of the LAMMPS implementation of REACTER, known as fix bond/react, and surveys recent applications of the protocol in a variety of fields, including photopolymers, high-performance composites, and membranes. Conceived as a tool for modeling polymerization processes, the scope of REACTER is expanding as it is applied to new materials and supporting features are implemented. Three new case studies are presented that highlight the capabilities of REACTER, including modeling hierarchical materials, the mechanics of molecular machines, and large-scale dynamics of heterogeneous catalysis.

从电池到生物,许多重要技术和物理现象都是作为非平衡反应系统运行的。精确建模非平衡反应系统的纳米级动力学以及它们如何对外部刺激做出反应是一项挑战,尤其是在需要原子分辨率和大尺度(105 个原子)的情况下。REACTER 是一种在经典分子动力学(MD)模拟过程中模拟化学反应的协议。将传统的固定价力场与启发式反应 MD 相结合,有利于对动态系统进行大规模模拟,其中包括有机化学中常见的复杂反应机制。本文详细介绍了 REACTER 的 LAMMPS 实现(即 fix bond/react)的当前功能,并概述了该协议在光聚合物、高性能复合材料和薄膜等多个领域的最新应用。REACTER 原本是用于聚合过程建模的工具,随着它在新材料上的应用和辅助功能的实施,其应用范围也在不断扩大。本报告介绍了三个新的案例研究,突出了 REACTER 的功能,包括分层材料建模、分子机器力学建模和异相催化的大规模动力学建模。
{"title":"Molecular modeling of reactive systems with REACTER","authors":"Jacob R. Gissinger ,&nbsp;Benjamin D. Jensen ,&nbsp;Kristopher E. Wise","doi":"10.1016/j.cpc.2024.109287","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109287","url":null,"abstract":"<div><p>From batteries to biology, many important technologies and physical phenomena operate as out-of-equilibrium reactive systems. Accurately modeling the nanoscale dynamics of non-equilibrium reactive systems and how they respond to external stimuli is challenging, especially if both atomistic resolution and large scales (&gt;10<sup>5</sup> atoms) are required. REACTER is a protocol for modeling chemical reactions during classical molecular dynamics (MD) simulations. Coupling traditional fixed-valence force fields with heuristic reactive MD is advantageous for large-scale simulations of dynamic systems that can include the complex reaction mechanisms common in organic chemistry. This paper details the current features of the LAMMPS implementation of REACTER, known as <em>fix bond/react</em>, and surveys recent applications of the protocol in a variety of fields, including photopolymers, high-performance composites, and membranes. Conceived as a tool for modeling polymerization processes, the scope of REACTER is expanding as it is applied to new materials and supporting features are implemented. Three new case studies are presented that highlight the capabilities of REACTER, including modeling hierarchical materials, the mechanics of molecular machines, and large-scale dynamics of heterogeneous catalysis.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141593359","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
URANOS-2.0: Improved performance, enhanced portability, and model extension towards exascale computing of high-speed engineering flows URANOS-2.0:提高性能、增强可移植性并扩展模型,以实现对高速工程流的超大规模计算
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-06-21 DOI: 10.1016/j.cpc.2024.109285
Francesco De Vanna , Giacomo Baldan

We present URANOS-2.0, the second major release of our massively parallel, GPU-accelerated solver for compressible wall flow applications. This latest version represents a significant leap forward in our initial tool, which was launched in 2023 (De Vanna et al. [1]), and has been specifically optimized to take full advantage of the opportunities offered by the cutting-edge pre-exascale architectures available within the EuroHPC JU. In particular, URANOS-2.0 emphasizes portability and compatibility improvements with the two top-ranked supercomputing architectures in Europe: LUMI and Leonardo. These systems utilize different GPU architectures, AMD and NVIDIA, respectively, which necessitates extensive efforts to ensure seamless usability across their distinct structures. In pursuit of this objective, the current release adheres to the OpenACC standard. This choice not only facilitates efficient utilization of the full potential inherent in these extensive GPU-based architectures but also upholds the principles of vendor neutrality, a distinctive characteristic of URANOS solvers in the CFD solvers' panorama. However, the URANOS-2.0 version goes beyond the goals of improving usability and portability; it introduces performance enhancements and restructures the most demanding computational kernels. This translates into a 2× speedup over the same architecture. In addition to its enhanced single-GPU performance, the present solver release demonstrates very good scalability in multi-GPU environments. URANOS-2.0, in fact, achieves strong scaling efficiencies of over 80% across 64 compute nodes (256 GPUs) for both LUMI and Leonardo. Furthermore, its weak scaling efficiencies reach approximately 95% and 90% on LUMI and Leonardo, respectively, when up to 256 nodes (1024 GPUs) are considered. These significant performance advancements position URANOS-2.0 as a state-of-the-art supercomputing platform tailored for compressible wall turbulence applications, establishing the solver as an integrated tool for various aerospace and energy engineering applications, which can span from direct numerical simulations, wall-resolved large eddy simulations, up to most recent wall-modeled large eddy simulations.

Program summary

Program title: Unsteady Robust All-around Navier-StOkes Solver (URANOS)

CPC Library link to program files: https://doi.org/10.17632/pw5hshn9k6.2

Developer's repository link: https://github.com/uranos-gpu/uranos-gpu, https://github.com/uranos-gpu/uranos-gpu/tree/v2.0

Licensing provisions: BSD License 2.0

Programming language: Modern Fortran, OpenACC, MPI

Nature of problem: Solving the compressible Navier-Stokes equations in a three-dimensional Cartesian framework.

Solution method: Convective terms ar

我们推出的 URANOS-2.0 是针对可压缩壁流应用的大规模并行 GPU 加速求解器的第二个重要版本。这一最新版本代表了我们在 2023 年推出的初始工具(De Vanna 等人[1])的重大飞跃,并经过了专门优化,以充分利用 EuroHPC JU 提供的尖端超大规模前架构所带来的机遇。URANOS-2.0特别强调了与欧洲两大顶级超级计算架构的可移植性和兼容性:LUMI和Leonardo。这两个系统分别采用 AMD 和 NVIDIA 两种不同的 GPU 架构,因此需要做出大量努力,以确保其不同结构之间的无缝可用性。为了实现这一目标,当前版本采用了 OpenACC 标准。这一选择不仅有利于高效利用这些基于 GPU 的广泛架构的内在潜力,而且还坚持了厂商中立原则,这也是 URANOS 求解器在 CFD 求解器领域的一个显著特点。然而,URANOS-2.0 版本的目标不仅限于提高可用性和可移植性,它还引入了性能增强功能,并对要求最苛刻的计算内核进行了重组。与相同的架构相比,速度提高了 2 倍。除了增强单 GPU 性能外,当前版本的求解器在多 GPU 环境中也表现出了良好的可扩展性。事实上,URANOS-2.0 在 LUMI 和 Leonardo 的 64 个计算节点(256 个 GPU)上实现了超过 80% 的强大扩展效率。此外,当考虑到多达 256 个节点(1024 个 GPU)时,其在 LUMI 和 Leonardo 上的弱扩展效率分别达到约 95% 和 90%。这些性能上的重大进步将URANOS-2.0定位为专为可压缩壁面湍流应用量身定制的最先进的超级计算平台,从而使该求解器成为各种航空航天和能源工程应用的集成工具,应用范围从直接数值模拟、壁面分辨大涡流模拟到最新的壁面建模大涡流模拟:Unsteady Robust All-around Navier-StOkes Solver (URANOS)CPC Library 链接到程序文件:https://doi.org/10.17632/pw5hshn9k6.2Developer's repository 链接:https://github.com/uranos-gpu/uranos-gpu, https://github.com/uranos-gpu/uranos-gpu/tree/v2.0Licensing provisions:BSD License 2.0编程语言:问题性质:在三维笛卡尔框架内求解可压缩 Navier-Stokes 方程:对流项采用高分辨率冲击捕捉方案进行处理。系统动力学采用三阶段 Runge-Kutta 方法进行时间推进。并行化采用 MPI+OpenACC。
{"title":"URANOS-2.0: Improved performance, enhanced portability, and model extension towards exascale computing of high-speed engineering flows","authors":"Francesco De Vanna ,&nbsp;Giacomo Baldan","doi":"10.1016/j.cpc.2024.109285","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109285","url":null,"abstract":"<div><p>We present URANOS-2.0, the second major release of our massively parallel, GPU-accelerated solver for compressible wall flow applications. This latest version represents a significant leap forward in our initial tool, which was launched in 2023 (De Vanna et al. <span>[1]</span>), and has been specifically optimized to take full advantage of the opportunities offered by the cutting-edge pre-exascale architectures available within the EuroHPC JU. In particular, URANOS-2.0 emphasizes portability and compatibility improvements with the two top-ranked supercomputing architectures in Europe: LUMI and Leonardo. These systems utilize different GPU architectures, AMD and NVIDIA, respectively, which necessitates extensive efforts to ensure seamless usability across their distinct structures. In pursuit of this objective, the current release adheres to the OpenACC standard. This choice not only facilitates efficient utilization of the full potential inherent in these extensive GPU-based architectures but also upholds the principles of vendor neutrality, a distinctive characteristic of URANOS solvers in the CFD solvers' panorama. However, the URANOS-2.0 version goes beyond the goals of improving usability and portability; it introduces performance enhancements and restructures the most demanding computational kernels. This translates into a 2× speedup over the same architecture. In addition to its enhanced single-GPU performance, the present solver release demonstrates very good scalability in multi-GPU environments. URANOS-2.0, in fact, achieves strong scaling efficiencies of over 80% across 64 compute nodes (256 GPUs) for both LUMI and Leonardo. Furthermore, its weak scaling efficiencies reach approximately 95% and 90% on LUMI and Leonardo, respectively, when up to 256 nodes (1024 GPUs) are considered. These significant performance advancements position URANOS-2.0 as a state-of-the-art supercomputing platform tailored for compressible wall turbulence applications, establishing the solver as an integrated tool for various aerospace and energy engineering applications, which can span from direct numerical simulations, wall-resolved large eddy simulations, up to most recent wall-modeled large eddy simulations.</p></div><div><h3>Program summary</h3><p><em>Program title:</em> Unsteady Robust All-around Navier-StOkes Solver (URANOS)</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/pw5hshn9k6.2</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/uranos-gpu/uranos-gpu</span><svg><path></path></svg>, <span>https://github.com/uranos-gpu/uranos-gpu/tree/v2.0</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> BSD License 2.0</p><p><em>Programming language:</em> Modern Fortran, OpenACC, MPI</p><p><em>Nature of problem:</em> Solving the compressible Navier-Stokes equations in a three-dimensional Cartesian framework.</p><p><em>Solution method:</em> Convective terms ar","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2,"publicationDate":"2024-06-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S001046552400208X/pdfft?md5=7a6e04c9a2b65cdb6b3bf373bd81aed0&pid=1-s2.0-S001046552400208X-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141480379","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
期刊
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