首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
Mapping strain at the atomic scale with PyNanospacing: An AI-assisted approach to TEM image processing and visualization 用PyNanospacing在原子尺度上映射应变:一种人工智能辅助的TEM图像处理和可视化方法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-26 DOI: 10.1016/j.cpc.2025.109954
Mehmet Ali Sarsıl , Mubashir Mansoor , Mert Saraçoğlu , Servet Timur , Onur Ergen
<div><div>The diverse spectrum of material characteristics, including band gap, mechanical moduli, color, phonon and electronic density of states, along with catalytic and surface properties, are intricately intertwined with the atomic structure and the corresponding interatomic bond lengths. This interconnection extends to the manifestation of interplanar spacings within a crystalline lattice. Analysis of these interplanar spacings and the comprehension of any deviations-whether it be lattice compression or expansion, commonly referred to as strain, hold paramount significance in unraveling various unknowns within the field. Transmission Electron Microscopy (TEM) is widely used to capture these atomic-scale ordering, facilitating direct investigation of interplanar spacings. However, creating critical contour maps for visualizing and interpreting lattice stresses in TEM images remains a challenging task. This study introduces an open-source, AI-assisted application, developed entirely in Python, for processing TEM images to facilitate strain analysis through advanced visualization techniques. This application is designed to process a diverse range of materials, including nanoparticles, 2D materials, pure crystals, and solid solutions. By converting local variations in interplanar spacings into contour maps, it provides a visual representation of lattice expansion and compression. With highly versatile settings, as detailed in this paper, the tool is readily accessible for TEM image-based material analysis. It facilitates an in-depth exploration of strain engineering by generating strain contour maps at the atomic scale, offering valuable insights into material properties. <strong>Program summary</strong> <em>Program Title:</em> PyNanoSpacing <em>CPC Library link to program files:</em> “<span><span>https://doi.org/10.17632/y864t5ykxx.1</span><svg><path></path></svg></span> ” <em>Developer’s repository link:</em> “<span><span>https://github.com/malisarsil/PyNanoSpacing</span><svg><path></path></svg></span> ” <em>Licensing provisions:</em> MIT license <em>Programming language:</em> Python 3.11 <em>Nature of problem:</em> Transmission Electron Microscopy (TEM) is widely used to analyze lattice structures in materials, but extracting quantitative strain information from TEM images remains challenging. Existing tools often lack automation, requiring manual calibration and region selection, leading to inconsistencies. Researchers need a user-friendly, automated solution to analyze local lattice strains and interplanar spacing variations efficiently. <em>Solution method:</em> The developed desktop application simplifies TEM image strain analysis by automating key steps. It extracts image details (such as scale and resolution) and detects atomic regions using AI-based segmentation. A correction step ensures proper alignment before measuring interlayer distances, which are then color-mapped to show strain variations. A smoothing technique is applied to re
材料特性的不同光谱,包括带隙、机械模量、颜色、声子和电子态密度,以及催化和表面性质,与原子结构和相应的原子间键长度错综复杂地交织在一起。这种相互连接延伸到晶格内的面间间隔的表现。对这些面间间距的分析和对任何偏差的理解——无论是晶格压缩还是膨胀,通常被称为应变——对于揭示场内各种未知因素具有至关重要的意义。透射电子显微镜(TEM)被广泛用于捕捉这些原子尺度的有序,方便了对面间间距的直接研究。然而,在TEM图像中创建用于可视化和解释晶格应力的关键等高线图仍然是一项具有挑战性的任务。本研究介绍了一个完全用Python开发的开源ai辅助应用程序,用于处理TEM图像,以便通过先进的可视化技术进行应变分析。该应用程序旨在处理各种材料,包括纳米颗粒,2D材料,纯晶体和固溶体。通过将平面间距的局部变化转换为等高线图,它提供了晶格扩展和压缩的可视化表示。如本文所述,该工具具有高度通用的设置,可以很容易地用于基于TEM图像的材料分析。它通过在原子尺度上生成应变等高线图,促进了对应变工程的深入探索,为材料特性提供了有价值的见解。程序摘要程序标题:PyNanoSpacing CPC库链接到程序文件:“ https://doi.org/10.17632/y864t5ykxx.1 ”开发人员的存储库链接:“ https://github.com/malisarsil/PyNanoSpacing ”许可条款:MIT许可编程语言:Python 3.11问题的性质:透射电子显微镜(TEM)被广泛用于分析材料中的晶格结构,但从TEM图像中提取定量应变信息仍然具有挑战性。现有的工具往往缺乏自动化,需要手动校准和区域选择,导致不一致。研究人员需要一种用户友好的自动化解决方案来有效地分析局部晶格应变和面间距变化。解决方法:开发的桌面应用程序通过自动化关键步骤简化了TEM图像应变分析。它提取图像细节(如规模和分辨率),并使用基于人工智能的分割检测原子区域。校正步骤确保在测量层间距离之前正确对齐,然后用颜色映射以显示应变变化。平滑技术应用于减少噪音,同时保留重要的细节。结果可以导出到Excel,以便进一步分析。这个用户友好的工具集成了人工智能和图像处理,使TEM图像中的应变映射更快,更容易访问。
{"title":"Mapping strain at the atomic scale with PyNanospacing: An AI-assisted approach to TEM image processing and visualization","authors":"Mehmet Ali Sarsıl ,&nbsp;Mubashir Mansoor ,&nbsp;Mert Saraçoğlu ,&nbsp;Servet Timur ,&nbsp;Onur Ergen","doi":"10.1016/j.cpc.2025.109954","DOIUrl":"10.1016/j.cpc.2025.109954","url":null,"abstract":"&lt;div&gt;&lt;div&gt;The diverse spectrum of material characteristics, including band gap, mechanical moduli, color, phonon and electronic density of states, along with catalytic and surface properties, are intricately intertwined with the atomic structure and the corresponding interatomic bond lengths. This interconnection extends to the manifestation of interplanar spacings within a crystalline lattice. Analysis of these interplanar spacings and the comprehension of any deviations-whether it be lattice compression or expansion, commonly referred to as strain, hold paramount significance in unraveling various unknowns within the field. Transmission Electron Microscopy (TEM) is widely used to capture these atomic-scale ordering, facilitating direct investigation of interplanar spacings. However, creating critical contour maps for visualizing and interpreting lattice stresses in TEM images remains a challenging task. This study introduces an open-source, AI-assisted application, developed entirely in Python, for processing TEM images to facilitate strain analysis through advanced visualization techniques. This application is designed to process a diverse range of materials, including nanoparticles, 2D materials, pure crystals, and solid solutions. By converting local variations in interplanar spacings into contour maps, it provides a visual representation of lattice expansion and compression. With highly versatile settings, as detailed in this paper, the tool is readily accessible for TEM image-based material analysis. It facilitates an in-depth exploration of strain engineering by generating strain contour maps at the atomic scale, offering valuable insights into material properties. &lt;strong&gt;Program summary&lt;/strong&gt; &lt;em&gt;Program Title:&lt;/em&gt; PyNanoSpacing &lt;em&gt;CPC Library link to program files:&lt;/em&gt; “&lt;span&gt;&lt;span&gt;https://doi.org/10.17632/y864t5ykxx.1&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; ” &lt;em&gt;Developer’s repository link:&lt;/em&gt; “&lt;span&gt;&lt;span&gt;https://github.com/malisarsil/PyNanoSpacing&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; ” &lt;em&gt;Licensing provisions:&lt;/em&gt; MIT license &lt;em&gt;Programming language:&lt;/em&gt; Python 3.11 &lt;em&gt;Nature of problem:&lt;/em&gt; Transmission Electron Microscopy (TEM) is widely used to analyze lattice structures in materials, but extracting quantitative strain information from TEM images remains challenging. Existing tools often lack automation, requiring manual calibration and region selection, leading to inconsistencies. Researchers need a user-friendly, automated solution to analyze local lattice strains and interplanar spacing variations efficiently. &lt;em&gt;Solution method:&lt;/em&gt; The developed desktop application simplifies TEM image strain analysis by automating key steps. It extracts image details (such as scale and resolution) and detects atomic regions using AI-based segmentation. A correction step ensures proper alignment before measuring interlayer distances, which are then color-mapped to show strain variations. A smoothing technique is applied to re","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109954"},"PeriodicalIF":3.4,"publicationDate":"2025-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145681710","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
Software for simulation and analysis of far-field diffraction patterns in transient grating spectroscopy 瞬态光栅光谱中远场衍射图样的模拟和分析软件
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-25 DOI: 10.1016/j.cpc.2025.109964
Andrii Goloborodko , Myhailo Kotov , Carles Serrat
We present a software package for the simulation and analysis of far-field diffraction patterns in transient grating (TG) spectroscopy. The code is designed to assist both experimental planning and post-processing interpretation by modeling the optical response of TG configurations across a wide range of conditions. It supports input through structured MATLAB variables or Excel-based spreadsheets and provides automated consistency checks and visual output generation. The implementation includes integration over detector pixels, enabling realistic simulations that account for spatial averaging and resolution effects. We demonstrate the software’s capabilities through representative use cases, including the influence of the grating-to-sample distance, the pump-to-probe intensity ratio, and the selection of the division parameter governing pixel integration accuracy. The code is freely available and modular, facilitating its adaptation to different experimental geometries and beam conditions. While full validation is provided elsewhere, this work establishes the core methodology and illustrates the practical value of the tool for TG spectroscopy research.
Program summary
Program title: TGCalc.
Licensing provisions: GNU GPLv3.
Programming language: MATLAB/GNU Octave.
Operating system: Linux and Windows.
Nature of problem: The code has been developed to compute diffraction patterns of light in a transient grating geometry scheme. The output intensity distribution is calculated based on the diffraction integral in the Fresnel and Fraunhofer regimes. Together with the diffraction pattern, the spatial harmonics are obtained using a post-processing script based on the input data filename.
Solution method: The diffraction image is calculated as the diffraction integral over the whole space of a Gaussian beam and normalized by its maximum value. For a Gaussian beam with a spherical approximation of the wavefront, an analytical expression of the electromagnetic field in the Fresnel and Fraunhofer regimes is developed, and a calculation code is implemented.
Additional comments: The TGCalc script has been tested with MATLAB versions R2021a, R2022b, and R2024b. The script also works under GNU Octave software (tested with version 4.0.0). However, under GNU Octave, the matrix data writing could give an error due to the file writeout permissions.
我们提出了一个用于模拟和分析瞬态光栅(TG)光谱远场衍射图的软件包。该代码旨在通过在广泛的条件下模拟TG配置的光学响应来协助实验计划和后处理解释。它支持通过结构化的MATLAB变量或基于excel的电子表格输入,并提供自动一致性检查和可视化输出生成。该实现包括探测器像素的集成,实现了考虑空间平均和分辨率影响的真实模拟。我们通过代表性的用例展示了软件的功能,包括光栅与样本距离的影响,泵与探针强度比,以及控制像素集成精度的分割参数的选择。代码是免费的和模块化的,便于其适应不同的实验几何形状和光束条件。虽然在其他地方提供了充分的验证,但这项工作建立了核心方法,并说明了热重光谱研究工具的实用价值。项目简介项目名称:TGCalc。许可条款:GNU GPLv3。编程语言:MATLAB/GNU Octave。操作系统:Linux、Windows。问题性质:该代码已开发计算光的衍射模式在瞬态光栅几何方案。根据菲涅耳区和弗劳恩霍夫区的衍射积分计算了输出光强分布。结合衍射图,利用基于输入数据文件名的后处理脚本获得空间谐波。求解方法:将衍射像计算为高斯光束在整个空间上的衍射积分,并按其最大值归一化。对于波前近似为球形的高斯光束,给出了菲涅耳和弗劳恩霍夫电磁场的解析表达式,并实现了计算程序。附加注释:TGCalc脚本已在MATLAB版本R2021a, R2022b和R2024b中进行了测试。该脚本也可以在GNU Octave软件下工作(使用版本4.0.0进行测试)。然而,在GNU Octave下,由于文件写权限,矩阵数据写入可能会产生错误。
{"title":"Software for simulation and analysis of far-field diffraction patterns in transient grating spectroscopy","authors":"Andrii Goloborodko ,&nbsp;Myhailo Kotov ,&nbsp;Carles Serrat","doi":"10.1016/j.cpc.2025.109964","DOIUrl":"10.1016/j.cpc.2025.109964","url":null,"abstract":"<div><div>We present a software package for the simulation and analysis of far-field diffraction patterns in transient grating (TG) spectroscopy. The code is designed to assist both experimental planning and post-processing interpretation by modeling the optical response of TG configurations across a wide range of conditions. It supports input through structured MATLAB variables or Excel-based spreadsheets and provides automated consistency checks and visual output generation. The implementation includes integration over detector pixels, enabling realistic simulations that account for spatial averaging and resolution effects. We demonstrate the software’s capabilities through representative use cases, including the influence of the grating-to-sample distance, the pump-to-probe intensity ratio, and the selection of the division parameter governing pixel integration accuracy. The code is freely available and modular, facilitating its adaptation to different experimental geometries and beam conditions. While full validation is provided elsewhere, this work establishes the core methodology and illustrates the practical value of the tool for TG spectroscopy research.</div><div><strong>Program summary</strong></div><div><em>Program title</em>: TGCalc.</div><div><em>Licensing provisions</em>: GNU GPLv3.</div><div><em>Programming language</em>: MATLAB/GNU Octave.</div><div><em>Operating system</em>: Linux and Windows.</div><div><em>Nature of problem</em>: The code has been developed to compute diffraction patterns of light in a transient grating geometry scheme. The output intensity distribution is calculated based on the diffraction integral in the Fresnel and Fraunhofer regimes. Together with the diffraction pattern, the spatial harmonics are obtained using a post-processing script based on the input data filename.</div><div><em>Solution method</em>: The diffraction image is calculated as the diffraction integral over the whole space of a Gaussian beam and normalized by its maximum value. For a Gaussian beam with a spherical approximation of the wavefront, an analytical expression of the electromagnetic field in the Fresnel and Fraunhofer regimes is developed, and a calculation code is implemented.</div><div><em>Additional comments</em>: The <span>TGCalc</span> script has been tested with MATLAB versions R2021a, R2022b, and R2024b. The script also works under GNU Octave software (tested with version 4.0.0). However, under GNU Octave, the matrix data writing could give an error due to the file writeout permissions.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109964"},"PeriodicalIF":3.4,"publicationDate":"2025-11-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145681709","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
MHIT36: Extension to wall-bounded turbulence and scalar transport equation 有壁湍流和标量输运方程的推广
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-25 DOI: 10.1016/j.cpc.2025.109956
Alessio Roccon
We present an extended version of MHIT36, a GPU-tailored solver for interface-resolved simulations of multiphase turbulence. The framework couples direct numerical simulation (DNS) of the Navier–Stokes equations, which describe the flow field, with a phase-field method to capture interfacial phenomena. In addition, the transport equation for a scalar can also be solved. The governing equations are discretized using a second-order finite difference scheme. The Navier–Stokes equations are time advanced with an explicit fractional-step method, and the resulting pressure Poisson equation is solved using a FFT-based method. The accurate conservative diffuse interface (ACDI) formulation is used to describe the transport of the phase-field variable. Simulations can be performed in two configurations: a triply-periodic cubic domain or a rectangular domain of arbitrary dimensions bounded by two walls. From a computational standpoint, MHIT36 employs a two-dimensional domain decomposition to distribute the workload across MPI tasks. The cuDecomp library is used to perform pencil transpositions and halo updates, while the cuFFT library and OpenACC directives are leveraged to offload the remaining computational kernels to the GPU. MHIT36 is developed using the managed memory feature and it provides a baseline code that is easy to further extend and modify. MHIT36 is released open source under the MIT license.
我们提出了一个扩展版本的MHIT36,一个gpu定制的求解器,用于多相湍流的界面解析模拟。该框架将描述流场的Navier-Stokes方程的直接数值模拟(DNS)与相场方法相结合,以捕捉界面现象。此外,还可以求解标量的输运方程。采用二阶有限差分格式对控制方程进行离散化。采用显式分步法对Navier-Stokes方程进行时间推进,并采用基于fft的方法求解得到的压力泊松方程。采用精确保守扩散界面(ACDI)公式来描述相场变量的输运。模拟可以在两种配置下进行:三周期立方域或任意尺寸的由两面墙包围的矩形域。从计算的角度来看,MHIT36采用二维域分解来跨MPI任务分配工作负载。cuDecomp库用于执行铅笔换位和光晕更新,而cuFFT库和OpenACC指令用于将剩余的计算内核卸载到GPU。MHIT36是使用托管内存特性开发的,它提供了一个易于进一步扩展和修改的基准代码。MHIT36是在MIT许可下开源发布的。
{"title":"MHIT36: Extension to wall-bounded turbulence and scalar transport equation","authors":"Alessio Roccon","doi":"10.1016/j.cpc.2025.109956","DOIUrl":"10.1016/j.cpc.2025.109956","url":null,"abstract":"<div><div>We present an extended version of MHIT36, a GPU-tailored solver for interface-resolved simulations of multiphase turbulence. The framework couples direct numerical simulation (DNS) of the Navier–Stokes equations, which describe the flow field, with a phase-field method to capture interfacial phenomena. In addition, the transport equation for a scalar can also be solved. The governing equations are discretized using a second-order finite difference scheme. The Navier–Stokes equations are time advanced with an explicit fractional-step method, and the resulting pressure Poisson equation is solved using a FFT-based method. The accurate conservative diffuse interface (ACDI) formulation is used to describe the transport of the phase-field variable. Simulations can be performed in two configurations: a triply-periodic cubic domain or a rectangular domain of arbitrary dimensions bounded by two walls. From a computational standpoint, MHIT36 employs a two-dimensional domain decomposition to distribute the workload across MPI tasks. The cuDecomp library is used to perform pencil transpositions and halo updates, while the cuFFT library and OpenACC directives are leveraged to offload the remaining computational kernels to the GPU. MHIT36 is developed using the managed memory feature and it provides a baseline code that is easy to further extend and modify. MHIT36 is released open source under the MIT license.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109956"},"PeriodicalIF":3.4,"publicationDate":"2025-11-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145616112","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
Digifrac: Reconstruction and quantification of discrete fractures in rocks using micro-CT images 用微ct图像重建和量化岩石中的离散裂缝
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-21 DOI: 10.1016/j.cpc.2025.109962
Lianhe Sun , Bin Wang , Yaochen Zhang , Jiacheng Jin , Zelong Mao , Haizhu Wang , Mao Sheng , Bing Yang , Sergey Stanchits , Alexey Cheremisin
Fractures in rock masses are a central focus in research areas such as unconventional energy extraction, nuclear waste disposal, and carbon sequestration. Laboratory investigations of fracture parameters are essential for optimizing field operations. In recent years, CT scanning has emerged as a widely adopted non-destructive inspection technique. However, existing methods for post-processing CT scan data face persistent challenges in achieving high accuracy and efficiency. To address these challenges, we propose a novel Python-based post-processing framework that integrates a slice-by-slice thinning algorithm, local thickness computation, and point cloud data processing techniques. This framework enables precise characterization of fractured digital rocks by quantifying fracture width distribution and fracture surface orientation, alongside standard structural evaluation metrics such as the fractal dimension, volume ratio, and the H-index. Its feasibility, accuracy, and flexibility are validated through analyses of diverse fracturing samples, including fluid-fractured samples, shear-induced fracture samples, and samples containing multiple secondary fractures. PROGRAM SUMMARY Program title:Digifrac CPC Library link to program files: https://10.17632/hcynpd9hf4.1 Developer’s repository link: https://github.com/BinWang0213/DigiFrac Licensing provisions: GPLv3 Programming language: Python Nature of problem: This program quantitatively calculates the three-dimensional structural parameters of fracture networks in rocks based on CT scan data. In addition to basic parameters such as fractal dimension, fracture volume, and surface area, it also provides accurate determinations of fracture width distribution and fracture surface orientation. Solution method: The random forest algorithm is employed to improve the accuracy of CT data segmentation, while a slice-by-slice thinning algorithm is used to extract the fracture medial surface, thereby enhancing the precision of fracture aperture distribution calculations. Furthermore, the three-dimensional orientation distribution of fractures is determined from the 3D point cloud data of the extracted medial surface.
岩体裂缝是非常规能源开采、核废料处理和碳封存等研究领域的中心焦点。裂缝参数的实验室研究对于优化现场作业至关重要。近年来,CT扫描已成为一种被广泛采用的无损检测技术。然而,现有的CT扫描数据后处理方法在实现高精度和高效率方面面临着持续的挑战。为了解决这些挑战,我们提出了一种新的基于python的后处理框架,该框架集成了逐片细化算法、局部厚度计算和点云数据处理技术。该框架通过量化裂缝宽度分布和裂缝面方向,以及分形维数、体积比和h指数等标准结构评价指标,能够精确表征裂缝性数字岩石。通过对不同压裂样品的分析,包括流体压裂样品、剪切诱导裂缝样品和含有多个次生裂缝的样品,验证了该方法的可行性、准确性和灵活性。程序名称:Digifrac CPC Library链接到程序文件:https://10.17632/hcynpd9hf4.1开发者库链接:https://github.com/BinWang0213/DigiFrac许可条款:GPLv3编程语言:Python问题性质:该程序根据CT扫描数据定量计算岩石裂缝网络的三维结构参数。除了分形维数、裂缝体积和表面积等基本参数外,还可以准确确定裂缝宽度分布和裂缝面方向。解决方法:采用随机森林算法提高CT数据分割精度,同时采用逐片细化算法提取裂缝内侧面,提高裂缝孔径分布计算精度。利用提取的内表面三维点云数据确定裂缝的三维方位分布。
{"title":"Digifrac: Reconstruction and quantification of discrete fractures in rocks using micro-CT images","authors":"Lianhe Sun ,&nbsp;Bin Wang ,&nbsp;Yaochen Zhang ,&nbsp;Jiacheng Jin ,&nbsp;Zelong Mao ,&nbsp;Haizhu Wang ,&nbsp;Mao Sheng ,&nbsp;Bing Yang ,&nbsp;Sergey Stanchits ,&nbsp;Alexey Cheremisin","doi":"10.1016/j.cpc.2025.109962","DOIUrl":"10.1016/j.cpc.2025.109962","url":null,"abstract":"<div><div>Fractures in rock masses are a central focus in research areas such as unconventional energy extraction, nuclear waste disposal, and carbon sequestration. Laboratory investigations of fracture parameters are essential for optimizing field operations. In recent years, CT scanning has emerged as a widely adopted non-destructive inspection technique. However, existing methods for post-processing CT scan data face persistent challenges in achieving high accuracy and efficiency. To address these challenges, we propose a novel Python-based post-processing framework that integrates a slice-by-slice thinning algorithm, local thickness computation, and point cloud data processing techniques. This framework enables precise characterization of fractured digital rocks by quantifying fracture width distribution and fracture surface orientation, alongside standard structural evaluation metrics such as the fractal dimension, volume ratio, and the H-index. Its feasibility, accuracy, and flexibility are validated through analyses of diverse fracturing samples, including fluid-fractured samples, shear-induced fracture samples, and samples containing multiple secondary fractures. <strong>PROGRAM SUMMARY</strong> <em>Program title</em>:Digifrac <em>CPC Library link to program files</em>: <span><span>https://10.17632/hcynpd9hf4.1</span><svg><path></path></svg></span> <em>Developer’s repository link</em>: <span><span>https://github.com/BinWang0213/DigiFrac</span><svg><path></path></svg></span> <em>Licensing provisions</em>: GPLv3 <em>Programming language</em>: Python <em>Nature of problem</em>: This program quantitatively calculates the three-dimensional structural parameters of fracture networks in rocks based on CT scan data. In addition to basic parameters such as fractal dimension, fracture volume, and surface area, it also provides accurate determinations of fracture width distribution and fracture surface orientation. <em>Solution method</em>: The random forest algorithm is employed to improve the accuracy of CT data segmentation, while a slice-by-slice thinning algorithm is used to extract the fracture medial surface, thereby enhancing the precision of fracture aperture distribution calculations. Furthermore, the three-dimensional orientation distribution of fractures is determined from the 3D point cloud data of the extracted medial surface.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109962"},"PeriodicalIF":3.4,"publicationDate":"2025-11-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145616214","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
Numerical implementation of the partial secular approximation and unified master equation in structured open quantum systems 结构开放量子系统中部分长期近似和统一主方程的数值实现
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-21 DOI: 10.1016/j.cpc.2025.109948
Antti Vaaranta , Marco Cattaneo
The Markovian dynamics of open quantum systems is typically described through Lindblad equations, which are derived from the Redfield equation via the full secular approximation. The latter neglects the rotating terms in the master equation corresponding to pairs of jump operators with different Bohr frequencies. However, for many physical systems this approximation breaks down, and thus a more accurate treatment of the slowly rotating terms is required. Indeed, more precise physical results can be obtained by performing the partial secular approximation, which takes into account the relevant time scale associated with each pair of jump operators and compares it with the time scale arising from the system-environment coupling. In this work, we introduce a general code for performing the partial secular approximation in the Redfield equation for structured open quantum systems. The code can be applied to a generic Hamiltonian of any multipartite system coupled to bosonic baths. Moreover, it can also reproduce the unified master equation, which captures the same physical behavior as the Redfield equation under the partial secular approximation, but is mathematically guaranteed to generate a completely positive dynamical map. Finally, the code can compute both the local and global version of the master equation for the same physical problem. We illustrate the code by studying the steady-state heat flow in a structured open quantum system composed of two superconducting qubits, each coupled to a bosonic mode, which in turn interacts with a thermal bath. The results in this work can be employed for the numerical study of a wide range of complex open quantum systems.
开放量子系统的马尔可夫动力学通常通过Lindblad方程来描述,Lindblad方程是通过完全长期近似从Redfield方程导出的。后者忽略了主方程中对应于具有不同玻尔频率的跳跃算子对的旋转项。然而,对于许多物理系统,这种近似失效了,因此需要更精确地处理缓慢旋转的项。事实上,通过执行部分长期近似可以获得更精确的物理结果,该近似考虑了与每对跳跃算子相关的时间尺度,并将其与系统-环境耦合产生的时间尺度进行比较。在这项工作中,我们引入了一个通用代码,用于在结构化开放量子系统的Redfield方程中执行部分长期逼近。该代码可应用于与玻色子场耦合的任何多部系统的一般哈密顿量。此外,它还可以再现统一的主方程,它在部分长期近似下捕获与Redfield方程相同的物理行为,但在数学上保证生成完全正的动态映射。最后,代码可以计算同一物理问题的主方程的局部和全局版本。我们通过研究由两个超导量子比特组成的结构化开放量子系统中的稳态热流来说明代码,每个量子比特都耦合到玻色子模式,而玻色子模式又与热浴相互作用。这项工作的结果可用于广泛的复杂开放量子系统的数值研究。
{"title":"Numerical implementation of the partial secular approximation and unified master equation in structured open quantum systems","authors":"Antti Vaaranta ,&nbsp;Marco Cattaneo","doi":"10.1016/j.cpc.2025.109948","DOIUrl":"10.1016/j.cpc.2025.109948","url":null,"abstract":"<div><div>The Markovian dynamics of open quantum systems is typically described through Lindblad equations, which are derived from the Redfield equation via the <em>full</em> secular approximation. The latter neglects the rotating terms in the master equation corresponding to pairs of jump operators with different Bohr frequencies. However, for many physical systems this approximation breaks down, and thus a more accurate treatment of the slowly rotating terms is required. Indeed, more precise physical results can be obtained by performing the <em>partial</em> secular approximation, which takes into account the relevant time scale associated with each pair of jump operators and compares it with the time scale arising from the system-environment coupling. In this work, we introduce a general code for performing the partial secular approximation in the Redfield equation for structured open quantum systems. The code can be applied to a generic Hamiltonian of any multipartite system coupled to bosonic baths. Moreover, it can also reproduce the <em>unified master equation</em>, which captures the same physical behavior as the Redfield equation under the partial secular approximation, but is mathematically guaranteed to generate a completely positive dynamical map. Finally, the code can compute both the local and global version of the master equation for the same physical problem. We illustrate the code by studying the steady-state heat flow in a structured open quantum system composed of two superconducting qubits, each coupled to a bosonic mode, which in turn interacts with a thermal bath. The results in this work can be employed for the numerical study of a wide range of complex open quantum systems.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109948"},"PeriodicalIF":3.4,"publicationDate":"2025-11-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145616216","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
Semiconductor Bloch equations in Wannier gauge with well-behaved dephasing 具有良好减相特性的万尼尔规范半导体布洛赫方程
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-21 DOI: 10.1016/j.cpc.2025.109958
Martin Thümmler , Thomas Lettau , Alexander Croy , Ulf Peschel , Stefanie Gräfe
The semiconductor Bloch equations (SBEs) with a dephasing operator for the microscopic polarizations are a well established approach to simulate high-harmonic spectra in solids. We discuss the impact of the dephasing operator on the stability of the numerical integration of the SBEs in the Wannier gauge. It is shown that the commonly used phenomenological approach to apply dephasing is ill-defined in the presence of band crossings and leads to artifacts in the carrier distribution. They are caused by rapid changes of the dephasing operator matrix elements in the Wannier gauge, which render the convergence of the simulation in the stationary basis infeasible. In the comoving basis, also called Houston basis, these rapid changes can be resolved, but only at the cost of a largely increased computation time. As a remedy, we propose a modification of the dephasing operator with reduced magnitude in energetically close subspaces. This approach removes the artifacts in the carrier distribution and significantly speeds up the calculations, while affecting the high-harmonic spectrum only marginally. To foster further development, we provide our parallelized source code.
带消相算子的半导体布洛赫方程(SBEs)是一种很好的模拟固体中高谐波谱的方法。讨论了消相算子对万尼尔规范中sbe数值积分稳定性的影响。研究表明,在存在带交叉的情况下,常用的现象学方法应用消相是不明确的,并且会导致载波分布中的伪影。它们是由万尼尔规范中减相算子矩阵元素的快速变化引起的,这使得模拟在平稳基上的收敛变得不可行。在移动基中,也称为休斯敦基,可以解决这些快速变化,但代价是大大增加了计算时间。作为补救措施,我们提出了一种在能量闭合子空间中具有减小幅度的减相算子的修正。这种方法消除了载波分布中的伪影,大大加快了计算速度,同时对高谐波频谱的影响很小。为了促进进一步的开发,我们提供了我们的并行源代码。
{"title":"Semiconductor Bloch equations in Wannier gauge with well-behaved dephasing","authors":"Martin Thümmler ,&nbsp;Thomas Lettau ,&nbsp;Alexander Croy ,&nbsp;Ulf Peschel ,&nbsp;Stefanie Gräfe","doi":"10.1016/j.cpc.2025.109958","DOIUrl":"10.1016/j.cpc.2025.109958","url":null,"abstract":"<div><div>The semiconductor Bloch equations (SBEs) with a dephasing operator for the microscopic polarizations are a well established approach to simulate high-harmonic spectra in solids. We discuss the impact of the dephasing operator on the stability of the numerical integration of the SBEs in the Wannier gauge. It is shown that the commonly used phenomenological approach to apply dephasing is ill-defined in the presence of band crossings and leads to artifacts in the carrier distribution. They are caused by rapid changes of the dephasing operator matrix elements in the Wannier gauge, which render the convergence of the simulation in the stationary basis infeasible. In the comoving basis, also called Houston basis, these rapid changes can be resolved, but only at the cost of a largely increased computation time. As a remedy, we propose a modification of the dephasing operator with reduced magnitude in energetically close subspaces. This approach removes the artifacts in the carrier distribution and significantly speeds up the calculations, while affecting the high-harmonic spectrum only marginally. To foster further development, we provide our parallelized source code.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109958"},"PeriodicalIF":3.4,"publicationDate":"2025-11-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145616215","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
TinyDEM: Minimal open granular DEM code with sliding, rolling and twisting friction TinyDEM:最小开放颗粒DEM代码与滑动,滚动和扭转摩擦
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-19 DOI: 10.1016/j.cpc.2025.109942
Roman Vetter
This article introduces TinyDEM, a lightweight implementation of a full-fledged discrete element method (DEM) solver in 3D. Newton’s damped equations of motion are solved explicitly for translations and rotations of a polydisperse ensemble of dry, soft, granular spherical particles, using quaternions to represent their orientation in space without gimbal lock. Particle collisions are modeled as inelastic and frictional, including full exchange of torque. With a general particle-mesh collision routine, complex rigid geometries can be simulated. TinyDEM is designed to be a compact standalone program written in simple C++11, devoid of explicit pointer arithmetics and advanced concepts such as manual memory management or polymorphism. It is parallelized with OpenMP and published freely under the 3-clause BSD license. TinyDEM can serve as an entry point into classical DEM simulations or as a foundation for more complex models of particle dynamics.
PROGRAM SUMMARY
Program Title: TinyDEM
CPC Library link to program files: (to be added by Technical Editor)
Developer’s repository link:
Licensing provisions: BSD 3-clause
Programming language: C++11
Supplementary material: Videos 1–6
Nature of problem:
Dynamics and statics of polydisperse ensembles of visco-elastic, frictional, non-adhesive spherical particles (such as in granular media) in 1D, 2D and 3D. All three modes of torque exchange (sliding, rolling and twisting) are modeled with slip-stick Coulomb friction.
Solution method:
The discrete element method is used to solve Newton’s damped equations of motion for particle translations and rotations with the semi-implicit Euler scheme. Quaternions are used to represent particle orientations. For efficient collision detection, a linked cell list is used. A static geometrical environment can be defined with a discrete mesh. The program is parallelized with OpenMP for shared-memory systems.
Additional comments including restrictions and unusual features:
The source code is exceptionally compact, consisting of only about 600 commented lines in two files—a header and a source file. With no dependencies, it is highly portable and accessible, making it also suited for educational purposes.
本文介绍了TinyDEM,一个轻量级的实现,一个成熟的三维离散元方法(DEM)求解器。牛顿的阻尼运动方程明确地解决了平移和旋转的多分散系系的干燥,柔软,粒状球形粒子,使用四元数来表示他们的空间方向没有万向节锁定。粒子碰撞建模为非弹性和摩擦,包括扭矩的完全交换。使用一般的粒子网格碰撞程序,可以模拟复杂的刚性几何形状。TinyDEM被设计成一个紧凑的独立程序,用简单的c++ 11编写,没有显式的指针算法和高级概念,如手动内存管理或多态性。它与OpenMP并行,并在3条款BSD许可下免费发布。TinyDEM可以作为经典DEM模拟的切入点,也可以作为更复杂的粒子动力学模型的基础。项目简介项目名称:TinyDEMCPC库链接到程序文件:(由技术编辑添加)开发者存储库链接:-许可条款:BSD 3- clause编程语言:c++ 11补充材料:视频1 - 6问题性质:粘弹性、摩擦、非粘性球形颗粒(如颗粒介质)在1D、2D和3D中的多分散集成的动力学和静力学。所有三种扭矩交换模式(滑动、滚动和扭转)都用滑棒库仑摩擦建模。求解方法:采用离散元法,用半隐式欧拉格式求解牛顿粒子平移和旋转的阻尼运动方程。四元数用来表示粒子的方向。为了有效的碰撞检测,使用了链接单元列表。静态几何环境可以用离散网格来定义。该程序与OpenMP并行用于共享内存系统。附加注释,包括限制和不寻常的特性:源代码非常紧凑,在两个文件(头文件和源文件)中只有大约600行注释。由于没有依赖关系,它具有高度的可移植性和可访问性,因此也适合用于教育目的。
{"title":"TinyDEM: Minimal open granular DEM code with sliding, rolling and twisting friction","authors":"Roman Vetter","doi":"10.1016/j.cpc.2025.109942","DOIUrl":"10.1016/j.cpc.2025.109942","url":null,"abstract":"<div><div>This article introduces TinyDEM, a lightweight implementation of a full-fledged discrete element method (DEM) solver in 3D. Newton’s damped equations of motion are solved explicitly for translations and rotations of a polydisperse ensemble of dry, soft, granular spherical particles, using quaternions to represent their orientation in space without gimbal lock. Particle collisions are modeled as inelastic and frictional, including full exchange of torque. With a general particle-mesh collision routine, complex rigid geometries can be simulated. TinyDEM is designed to be a compact standalone program written in simple C++11, devoid of explicit pointer arithmetics and advanced concepts such as manual memory management or polymorphism. It is parallelized with OpenMP and published freely under the 3-clause BSD license. TinyDEM can serve as an entry point into classical DEM simulations or as a foundation for more complex models of particle dynamics.</div><div><strong>PROGRAM SUMMARY</strong></div><div><em>Program Title:</em> TinyDEM</div><div><em>CPC Library link to program files:</em> (to be added by Technical Editor)</div><div><em>Developer’s repository link:</em> —</div><div><em>Licensing provisions:</em> BSD 3-clause</div><div><em>Programming language:</em> C++11</div><div><em>Supplementary material:</em> Videos 1–6</div><div><strong>Nature of problem:</strong></div><div>Dynamics and statics of polydisperse ensembles of visco-elastic, frictional, non-adhesive spherical particles (such as in granular media) in 1D, 2D and 3D. All three modes of torque exchange (sliding, rolling and twisting) are modeled with slip-stick Coulomb friction.</div><div><strong>Solution method:</strong></div><div>The discrete element method is used to solve Newton’s damped equations of motion for particle translations and rotations with the semi-implicit Euler scheme. Quaternions are used to represent particle orientations. For efficient collision detection, a linked cell list is used. A static geometrical environment can be defined with a discrete mesh. The program is parallelized with OpenMP for shared-memory systems.</div><div><strong>Additional comments including restrictions and unusual features:</strong></div><div>The source code is exceptionally compact, consisting of only about 600 commented lines in two files—a header and a source file. With no dependencies, it is highly portable and accessible, making it also suited for educational purposes.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109942"},"PeriodicalIF":3.4,"publicationDate":"2025-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145616218","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
HFBTHO-AD: Differentiation of a nuclear energy density functional code hfbho - ad:核能密度功能代码的分化
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-19 DOI: 10.1016/j.cpc.2025.109955
Laurent Hascoët , Matt Menickelly , Sri Hari Krishna Narayanan , Jared O’Neal , Nicolas Schunck , Stefan M. Wild
The HFBTHO code implements a nuclear energy density functional solver to model the structure of atomic nuclei. HFBTHO has previously been used to calibrate energy functionals and perform sensitivity analysis by using derivative-free methods. To enable derivative-based optimization and uncertainty quantification approaches, we must compute the derivatives of HFBTHO outputs with respect to the parameters of the energy functional, which are a subset of all input parameters of the code. We use the algorithmic/automatic differentiation (AD) tool Tapenade to differentiate HFBTHO. We compare the derivatives obtained using AD against finite-difference approximation and examine the performance of the derivative computation.
HFBTHO代码实现了一个核能密度泛函求解器来模拟原子核的结构。HFBTHO先前已被用于校准能量泛函并使用无导数方法进行灵敏度分析。为了实现基于导数的优化和不确定性量化方法,我们必须计算HFBTHO输出相对于能量泛函参数的导数,能量泛函是代码所有输入参数的子集。我们使用算法/自动区分(AD)工具Tapenade来区分HFBTHO。我们比较了用AD和有限差分逼近得到的导数,并检验了导数计算的性能。
{"title":"HFBTHO-AD: Differentiation of a nuclear energy density functional code","authors":"Laurent Hascoët ,&nbsp;Matt Menickelly ,&nbsp;Sri Hari Krishna Narayanan ,&nbsp;Jared O’Neal ,&nbsp;Nicolas Schunck ,&nbsp;Stefan M. Wild","doi":"10.1016/j.cpc.2025.109955","DOIUrl":"10.1016/j.cpc.2025.109955","url":null,"abstract":"<div><div>The HFBTHO code implements a nuclear energy density functional solver to model the structure of atomic nuclei. HFBTHO has previously been used to calibrate energy functionals and perform sensitivity analysis by using derivative-free methods. To enable derivative-based optimization and uncertainty quantification approaches, we must compute the derivatives of HFBTHO outputs with respect to the parameters of the energy functional, which are a subset of all input parameters of the code. We use the algorithmic/automatic differentiation (AD) tool Tapenade to differentiate HFBTHO. We compare the derivatives obtained using AD against finite-difference approximation and examine the performance of the derivative computation.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109955"},"PeriodicalIF":3.4,"publicationDate":"2025-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145681674","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
Automation of a matching on-shell calculator 一个匹配的壳上计算器的自动化
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-19 DOI: 10.1016/j.cpc.2025.109935
Javier López Miras, Fuensanta Vilches
We introduce mosca, a Mathematica package designed to facilitate on-shell calculations in effective field theories (EFTs). This initial release focuses on the reduction of Green’s bases to physical bases, as well as transformations between arbitrary operator bases. The core of the package is based on a diagrammatic on-shell matching procedure, grounded in the equivalence of physical observables derived from both redundant and non-redundant Lagrangians. mosca offers a complete set of tools for performing basis transformations, diagram isomorphism detection, numerical substitution of kinematic configurations, and symbolic manipulation of algebraic expressions. Planned future developments include extension to one-loop computations, thus providing support for EFT renormalization directly in a physical basis and automated computation of one-loop finite matching, including contributions from evanescent operators.
PROGRAM SUMMARY Program Title: mosca CPC Library link to program files: (to be added by Technical Editor) Developer’s repository link: https://gitlab.com/matchingonshell/mosca Licensing provisions: GPLv3 Programming language: Mathematica Nature of problem: Matching calculations in effective field theories are traditionally performed off-shell, involving complicated basis reductions through non-trivial field redefinitions to eliminate redundant operators. This process is algebraically intensive and prone to errors. Although on-shell matching, which focuses directly on physical observables, could simplify these steps by avoiding field redefinitions, it has been considered impractical due to the presence of apparent non-localities that must cancel precisely. Automating on-shell matching has therefore been a long-standing challenge. Solution method: Our approach is based on a numerical solution of the on-shell matching equations, which naturally and effortlessly enforces the delicate cancellation of non-local terms between the full theory and the effective theory. By employing rational on-shell kinematics, the method achieves an exact analytic solution despite using numerical techniques. This allows the matching to be performed entirely within a physical operator basis. Additional comments including restrictions and unusual features: The workflow for handling Lagrangians and Feynman diagrams in mosca is based on the integration of FeynArts and FeynCalc. Consequently, users need to provide specific FeynArts model files patched for compatibility with FeynCalc. Additionally, a specialized input format is required to define Wilson coefficients along with their corresponding EFT order (EFTOrder). These requirements ensure the correct processing of models and coefficients.
我们介绍mosca,一个旨在促进有效场论(eft)的壳上计算的Mathematica软件包。这个初始版本的重点是将Green的基减少到物理基,以及任意算子基之间的转换。该包的核心是基于一个图解的壳匹配过程,基于从冗余和非冗余拉格朗日导出的物理可观测值的等效性。Mosca提供了一套完整的工具,用于执行基变换、图同构检测、运动学构型的数值替换和代数表达式的符号操作。计划的未来发展包括扩展到单回路计算,从而在物理基础上直接支持EFT重规范化和单回路有限匹配的自动计算,包括来自倏逝算子的贡献。程序摘要程序标题:mosca CPC库链接到程序文件:(由技术编辑添加)开发人员的存储库链接:https://gitlab.com/matchingonshell/mosca许可条款:GPLv3编程语言:Mathematica问题的性质:有效场理论中的匹配计算传统上是off-shell执行的,涉及通过非琐碎的字段重新定义来消除冗余运算符的复杂基约简。这个过程需要大量的代数运算,而且容易出错。尽管直接关注物理可观察对象的壳上匹配可以通过避免字段重新定义来简化这些步骤,但由于存在必须精确取消的明显非位置,它被认为是不切实际的。因此,在shell上的自动匹配一直是一个长期的挑战。求解方法:我们的方法是基于壳上匹配方程的数值解,它自然而毫不费力地强制在满理论和有效理论之间微妙地消去非局部项。通过采用有理壳上运动学,该方法实现了精确的解析解,尽管使用数值技术。这允许完全在物理操作符的基础上执行匹配。在mosca中处理拉格朗日图和费曼图的工作流程是基于feynnts和FeynCalc的集成。因此,用户需要提供特定的feynnts模型文件补丁,以便与FeynCalc兼容。此外,需要一种专门的输入格式来定义Wilson系数及其相应的EFT顺序(EFTOrder)。这些要求保证了模型和系数的正确处理。
{"title":"Automation of a matching on-shell calculator","authors":"Javier López Miras,&nbsp;Fuensanta Vilches","doi":"10.1016/j.cpc.2025.109935","DOIUrl":"10.1016/j.cpc.2025.109935","url":null,"abstract":"<div><div>We introduce <span>mosca</span>, a <span>Mathematica</span> package designed to facilitate on-shell calculations in effective field theories (EFTs). This initial release focuses on the reduction of Green’s bases to physical bases, as well as transformations between arbitrary operator bases. The core of the package is based on a diagrammatic on-shell matching procedure, grounded in the equivalence of physical observables derived from both redundant and non-redundant Lagrangians. <span>mosca</span> offers a complete set of tools for performing basis transformations, diagram isomorphism detection, numerical substitution of kinematic configurations, and symbolic manipulation of algebraic expressions. Planned future developments include extension to one-loop computations, thus providing support for EFT renormalization directly in a physical basis and automated computation of one-loop finite matching, including contributions from evanescent operators.</div><div><strong>PROGRAM SUMMARY</strong> <em>Program Title:</em> mosca <em>CPC Library link to program files:</em> (to be added by Technical Editor) <em>Developer’s repository link:</em> <span><span>https://gitlab.com/matchingonshell/mosca</span><svg><path></path></svg></span> <em>Licensing provisions:</em> GPLv3 <em>Programming language:</em> Mathematica <em>Nature of problem:</em> Matching calculations in effective field theories are traditionally performed off-shell, involving complicated basis reductions through non-trivial field redefinitions to eliminate redundant operators. This process is algebraically intensive and prone to errors. Although on-shell matching, which focuses directly on physical observables, could simplify these steps by avoiding field redefinitions, it has been considered impractical due to the presence of apparent non-localities that must cancel precisely. Automating on-shell matching has therefore been a long-standing challenge. <em>Solution method:</em> Our approach is based on a numerical solution of the on-shell matching equations, which naturally and effortlessly enforces the delicate cancellation of non-local terms between the full theory and the effective theory. By employing rational on-shell kinematics, the method achieves an exact analytic solution despite using numerical techniques. This allows the matching to be performed entirely within a physical operator basis. <em>Additional comments including restrictions and unusual features:</em> The workflow for handling Lagrangians and Feynman diagrams in mosca is based on the integration of FeynArts and FeynCalc. Consequently, users need to provide specific FeynArts model files patched for compatibility with FeynCalc. Additionally, a specialized input format is required to define Wilson coefficients along with their corresponding EFT order (EFTOrder). These requirements ensure the correct processing of models and coefficients.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109935"},"PeriodicalIF":3.4,"publicationDate":"2025-11-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145681672","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
Numerical solutions of resistive finite-pressure magnetohydrodynamic equilibria for stellarator and non-axisymmetric toroidal plasmas 仿星体和非轴对称环形等离子体电阻性有限压力磁流体动力学平衡的数值解
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2025-11-17 DOI: 10.1016/j.cpc.2025.109961
Jian Zhang , Ping Zhu , Chris C. Hegna
A hybrid spectral/finite-element code is developed to numerically solve the resistive finite-pressure magnetohydrodynamic equilibria without the necessity of postulating nested magnetic flux surfaces in the non-axisymmetric toroidal systems. The adopted approach integrates a hyperbolic parallel damping equation for pressure updating, along with a dynamic resistive relaxation for magnetic field. To address the non-axisymmetry in toroidal geometry, a pseudo flux mapping is employed to relate the axisymmetric computational domain to the physical domain. On the computational mesh, an isoparametric C1-continuous triangular element is utilized to discretize the poloidal plane, which is complemented with a Fourier decomposition in the toroidal direction. The versatility of the code is demonstrated through its application to several different non-axisymmetric toroidal systems, including the inherently three-dimensional equilibria in stellarators, the helical-core equilibrium states in tokamak plasmas, and the quasi-single-helicity states in a reversed-field pinch.
在非轴对称环面系统中,不需要假定嵌套磁通面,提出了一种谱/有限元混合程序来数值求解电阻有限压磁流体动力平衡。采用的方法集成了用于压力更新的双曲平行阻尼方程和用于磁场的动态电阻弛豫方程。为了解决环面几何中的非轴对称问题,采用伪通量映射将轴对称计算域与物理域联系起来。在计算网格上,采用等参c1 -连续三角形单元对极向平面进行离散化,并辅以环向傅里叶分解。通过对几种不同的非轴对称环面系统的应用,包括仿星器中固有的三维平衡态、托卡马克等离子体中的螺旋核平衡态和反场掐缩中的准单螺旋态,证明了该代码的多用途性。
{"title":"Numerical solutions of resistive finite-pressure magnetohydrodynamic equilibria for stellarator and non-axisymmetric toroidal plasmas","authors":"Jian Zhang ,&nbsp;Ping Zhu ,&nbsp;Chris C. Hegna","doi":"10.1016/j.cpc.2025.109961","DOIUrl":"10.1016/j.cpc.2025.109961","url":null,"abstract":"<div><div>A hybrid spectral/finite-element code is developed to numerically solve the resistive finite-pressure magnetohydrodynamic equilibria without the necessity of postulating nested magnetic flux surfaces in the non-axisymmetric toroidal systems. The adopted approach integrates a hyperbolic parallel damping equation for pressure updating, along with a dynamic resistive relaxation for magnetic field. To address the non-axisymmetry in toroidal geometry, a pseudo flux mapping is employed to relate the axisymmetric computational domain to the physical domain. On the computational mesh, an isoparametric C1-continuous triangular element is utilized to discretize the poloidal plane, which is complemented with a Fourier decomposition in the toroidal direction. The versatility of the code is demonstrated through its application to several different non-axisymmetric toroidal systems, including the inherently three-dimensional equilibria in stellarators, the helical-core equilibrium states in tokamak plasmas, and the quasi-single-helicity states in a reversed-field pinch.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109961"},"PeriodicalIF":3.4,"publicationDate":"2025-11-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145571120","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Computer Physics Communications
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1