Computer Physics Communications最新文献

筛选
英文 中文
STREAmS-2.1: Supersonic turbulent accelerated Navier-Stokes solver version 2.1 STREAmS-2.1:超音速湍流加速Navier-Stokes求解器版本2.1
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-05-05 DOI: 10.1016/j.cpc.2025.109652
Francesco Salvadore , Giulio Soldati , Alessandro Ceci , Giacomo Rossi , Antonio Memmolo , Giacomo Della Posta , Davide Modesti , Srikanth Sathyanarayana , Matteo Bernardini , Sergio Pirozzoli
{"title":"STREAmS-2.1: Supersonic turbulent accelerated Navier-Stokes solver version 2.1","authors":"Francesco Salvadore ,&nbsp;Giulio Soldati ,&nbsp;Alessandro Ceci ,&nbsp;Giacomo Rossi ,&nbsp;Antonio Memmolo ,&nbsp;Giacomo Della Posta ,&nbsp;Davide Modesti ,&nbsp;Srikanth Sathyanarayana ,&nbsp;Matteo Bernardini ,&nbsp;Sergio Pirozzoli","doi":"10.1016/j.cpc.2025.109652","DOIUrl":"10.1016/j.cpc.2025.109652","url":null,"abstract":"<div><div>We present STREAmS-2.1, an updated version of the flow solver STREAmS <span><span>[1]</span></span>, lastly updated in Bernardini et al. Comput. Phys. Commun. 285 (2023) 108644. STREAmS-2.1 merges the features of the curvilinear solver FLEW <span><span>[2]</span></span> which is able to simulate three canonical cases, namely the circular arc channel, the curved boundary layer and the airfoil case. Moreover, three new backends are included, i.e., OpenMP (for CPUs), HIP (for AMD GPUs) and OpenMP-offload (tested on Intel GPUs but potentially portable). Finally, in situ visualization layer based on Catalyst2 technology is integrated into the solver to reduce the visualization effort, especially for huge computational grids.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"314 ","pages":"Article 109652"},"PeriodicalIF":7.2,"publicationDate":"2025-05-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143911659","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
Distributed-parallel proper orthogonal/dynamic mode decompositions of large flow data 大流量数据的分布式并行正交/动态模态分解
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-05-02 DOI: 10.1016/j.cpc.2025.109644
Vilas Shinde
{"title":"Distributed-parallel proper orthogonal/dynamic mode decompositions of large flow data","authors":"Vilas Shinde","doi":"10.1016/j.cpc.2025.109644","DOIUrl":"10.1016/j.cpc.2025.109644","url":null,"abstract":"<div><div>High-fidelity computational fluid dynamics (CFD) simulations produce large databases, which are typically stored on either centralized or distributed machines. Eigen/Singular value decompositions are some of the early-stage and most useful decompositions. The more popular proper orthogonal decomposition (POD) and dynamics mode decomposition (DMD) of fluid flows are essentially based on the eigen/singular value decomposition algorithms. Although there exist very efficient and parallel eigen/singular value solvers, most of them perform poorly when handling large data particularly in distributed settings, and often resort to a partial estimation of eigen/singular value spectra. In this paper, we present a memory-efficient and highly-scalable POD and DMD procedures in distributed-parallel settings, where the parallel DMD algorithm is an improved tall-and-skinny QR (TSQR) DMD algorithm. A Large Eddy Simulations (LES) database of a fully turbulent Shock Wave Boundary Layer Interaction (SBLI) at Mach 2.7 and Reynolds number of <span><math><mn>54</mn><mo>,</mo><mn>600</mn></math></span> based on the inflow boundary layer thickness is employed, first, to evaluate the performance and accuracy of the algorithms, and second, to elucidate some of the three-dimensional coherent flow features of the SBLI pertaining to POD/DMD. The selected POD/DMD modes of the LES flowfields exhibit full 3D flow features, such as, the streamwise-elongated Görtler-like vortices and high-frequency acoustic packets that are physically relevant to the SBLI dynamics.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109644"},"PeriodicalIF":7.2,"publicationDate":"2025-05-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143904583","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
The design, verification, and applications of Hotspice: A Monte Carlo simulator for artificial spin ice Hotspice的设计、验证和应用:一个人工自旋冰的蒙特卡罗模拟器
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-04-30 DOI: 10.1016/j.cpc.2025.109643
Jonathan Maes , Diego De Gusem , Ian Lateur , Jonathan Leliaert , Aleksandr Kurenkov , Bartel Van Waeyenberge
{"title":"The design, verification, and applications of Hotspice: A Monte Carlo simulator for artificial spin ice","authors":"Jonathan Maes ,&nbsp;Diego De Gusem ,&nbsp;Ian Lateur ,&nbsp;Jonathan Leliaert ,&nbsp;Aleksandr Kurenkov ,&nbsp;Bartel Van Waeyenberge","doi":"10.1016/j.cpc.2025.109643","DOIUrl":"10.1016/j.cpc.2025.109643","url":null,"abstract":"<div><div>We present Hotspice, a Monte Carlo simulation software designed to capture the dynamics and equilibrium states of Artificial Spin Ice (ASI) systems with both in-plane (IP) and out-of-plane (OOP) geometries. An Ising-like model is used where each nanomagnet is represented as a macrospin, with switching events driven by thermal fluctuations, magnetostatic interactions, and external fields. To improve simulation accuracy, we explore the impact of several corrections to this model, concerning for example the calculation of the dipole interaction in IP and OOP ASI, as well as the impact of allowing asymmetric rather than symmetric energy barriers between stable states. We validate these enhancements by comparing simulation results with experimental data for pinwheel and kagome ASI lattices, demonstrating how these corrections enable a more accurate simulation of the behavior of these systems. We finish with a demonstration of ‘clocking’ in pinwheel and OOP square ASI as an example of reservoir computing.</div></div><div><h3>Program summary</h3><div><em>Program title: Hotspice</em></div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/9c3rx36jvn.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/bvwaeyen/Hotspice</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> Python 3</div><div><em>Nature of problem:</em> To tailor the complex phenomena in Artificial Spin Ice for a specific purpose, simulations are key to rapidly assess whether a given combination of system parameters will yield a desirable result. Therefore, a simulator capable of simulating systems containing thousands of magnets is needed, ideally requiring a minimal amount of input parameters. This is particularly important for use cases such as reservoir computing, where system-scale dynamics are of primary interest.</div><div><em>Solution method:</em> Hotspice approximates each single-domain nanomagnet as an Ising spin, associating energies with its various states and accounting for the magnetostatic interaction between all magnets. By calculating switching rates using the Néel-Arrhenius model, or flipping magnets based on the Metropolis-Hastings algorithm, the dynamics of ASI can be calculated for large arrays and over experimentally relevant timescales.</div><div><em>Additional comments including restrictions and unusual features:</em> While Hotspice is well-suited for large-scale ASI simulations, it relies on higher-level approximations which do not account for the detailed internal magnetization dynamics within individual magnets. To improve simulation accuracy, several model variants have been implemented which differ in their calculation of the magnetostatic interactions, the use of symmetric versus asymmetric energy barriers, and their choice of update algorithm.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109643"},"PeriodicalIF":7.2,"publicationDate":"2025-04-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143904585","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
Towards a complete task-based implementation of a 3D particle-in-cell code: Performance studies and benchmarks 迈向一个完整的基于任务的3D粒子单元代码实现:性能研究和基准
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-04-30 DOI: 10.1016/j.cpc.2025.109647
J.J. Silva-Cuevas , M. Zych , K. Peyen , I. Kabadshow , M. Lobet
{"title":"Towards a complete task-based implementation of a 3D particle-in-cell code: Performance studies and benchmarks","authors":"J.J. Silva-Cuevas ,&nbsp;M. Zych ,&nbsp;K. Peyen ,&nbsp;I. Kabadshow ,&nbsp;M. Lobet","doi":"10.1016/j.cpc.2025.109647","DOIUrl":"10.1016/j.cpc.2025.109647","url":null,"abstract":"<div><div>This article investigates different programming models for miniPIC, a Particle-In-Cell mini-app, to improve overall scalability. An innovative implementation of a fully asynchronous task-based implementation of a 3D Particle-In-Cell code miniPIC is presented for the first time. The task-based model has been specially implemented in the particle-in-cell code via the backend OpenMP and the library Eventify. Four physical studies were selected as benchmarks: thermal plasma, plasma beam diffusion, a laser colliding with a plasma beam sphere, and thermal plasma with an imbalanced artificial operator. Besides, different parametric studies were designed to measure the scalability of the implementation to varying numbers of cores and various physical conditions. The current parametric studies were performed in an Intel cascade lake-based machine and an AMD EPYC-based machine to measure scalability performance on different architectures.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109647"},"PeriodicalIF":7.2,"publicationDate":"2025-04-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143908118","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Efficient computation of the magnetic field created by a toroidal volumetric current of convex cross section with application to the study of the magnetic confinement in tokamaks 凸截面环面体积电流产生磁场的有效计算及其在托卡马克磁约束研究中的应用
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-04-30 DOI: 10.1016/j.cpc.2025.109642
Miguel Camacho , Rafael R. Boix , Diego J. Cruz-Zabala , Joaquín Galdón-Quiroga , Juan M. Ayllón-Guerola , Eleonora Viezzer
{"title":"Efficient computation of the magnetic field created by a toroidal volumetric current of convex cross section with application to the study of the magnetic confinement in tokamaks","authors":"Miguel Camacho ,&nbsp;Rafael R. Boix ,&nbsp;Diego J. Cruz-Zabala ,&nbsp;Joaquín Galdón-Quiroga ,&nbsp;Juan M. Ayllón-Guerola ,&nbsp;Eleonora Viezzer","doi":"10.1016/j.cpc.2025.109642","DOIUrl":"10.1016/j.cpc.2025.109642","url":null,"abstract":"<div><div>In this paper we present an efficient approach for the numerical computation of the static vector potential and the poloidal magnetic field of a toroidal volumetric current with arbitrary convex cross section. The standard integral expressions for both the vector potential and the magnetic field include singularities that have a deleterious effect in the computation of these integrals. In order to handle these singularities, we first introduce a change of variables to polar coordinates with origin at the observation point that makes it possible to remove the singularities of the integrands thanks to the Jacobian factor. Then, two different numerical integration methods are applied to the resulting integrals: Ma-Rokhlin-Wandzura quadrature rules and the double exponential quadrature rule. Both methods efficiently handle the singularities in the derivative of the integrand for the integrals of the vector potential and the magnetic field, and the advantages and disadvantages of each method are discussed. The results obtained for the vector potential and magnetic field are validated by comparing with closed-form results existing for the vector potential and magnetic field of a circular loop and an infinite cylinder, and good agreement is found. Then, the magnetic field code is used to model the plasma toroidal current in a tokamak nuclear fusion reactor, and it is shown that the combined magnetic field of the plasma current and that of the poloidal and toroidal coils leads to magnetic confinement of the charged particles existing in the plasma.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109642"},"PeriodicalIF":7.2,"publicationDate":"2025-04-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143904581","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
POLARIS: The POLArized RadIation Simulator for Mie scattering in optically thick dusty plasmas POLARIS:光学厚尘埃等离子体中Mie散射的偏振辐射模拟器
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-04-29 DOI: 10.1016/j.cpc.2025.109645
Julia Kobus , Stefan Reißl , Moritz Lietzow-Sinjen , Alexander Bensberg , Andreas Petersen , Franko Greiner , Sebastian Wolf
{"title":"POLARIS: The POLArized RadIation Simulator for Mie scattering in optically thick dusty plasmas","authors":"Julia Kobus ,&nbsp;Stefan Reißl ,&nbsp;Moritz Lietzow-Sinjen ,&nbsp;Alexander Bensberg ,&nbsp;Andreas Petersen ,&nbsp;Franko Greiner ,&nbsp;Sebastian Wolf","doi":"10.1016/j.cpc.2025.109645","DOIUrl":"10.1016/j.cpc.2025.109645","url":null,"abstract":"<div><div>POLARIS is a 3D Monte-Carlo radiative transfer code written in C++ for simulating the Mie scattering of laser light in optically thick nanodusty plasmas. Originally developed for astrophysical applications, POLARIS has been adapted to address the specific needs of the plasma physics community. To achieve this, a given number of photon packages characterized by their traveling direction <span><math><mover><mrow><mi>d</mi></mrow><mrow><mo>→</mo></mrow></mover></math></span>, wavelength <em>λ</em>, intensity, and polarization state in terms of the Stokes vector <span><math><mover><mrow><mi>S</mi></mrow><mrow><mo>→</mo></mrow></mover></math></span> is generated to mimic the emission of a laser source with a Gaussian intensity distribution. These photon packages are then tracked along their probabilistic paths through the particle cloud, with scattering processes determined stochastically based on probability density distributions derived from the optical properties of the dust particles. POLARIS allows simulations for arbitrary wavelengths and grain sizes, as long as the far-field approximation holds. This paper introduces this adapted version of POLARIS to the plasma physics community, highlighting its capabilities for modeling light scattering in dusty plasmas and serving as a comprehensive reference for its application. In doing so, POLARIS provides a powerful tool for the in-situ analysis of optically thick dusty plasmas.</div></div><div><h3>Program summary</h3><div><em>Program Title:</em> POLARIS</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/8d3jm3x29t.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/polaris-MCRT/POLARIS</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> C++, Python 3</div><div><em>Nature of problem:</em> Simulating Mie scattering in dense dusty plasmas to enable in-situ analysis of these systems.</div><div><em>Solution method:</em> Tracing the random paths of photon packages through a three dimensional grid filled with dust particles making stochastic decisions on scattering processes based on probability density distributions given by the optical properties of the dust particles.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109645"},"PeriodicalIF":7.2,"publicationDate":"2025-04-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143894784","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
FLOW36: A spectral solver for phase-field based multiphase turbulence simulations on heterogeneous computing architectures FLOW36:异构计算架构下基于相场的多相湍流模拟的光谱求解器
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-04-29 DOI: 10.1016/j.cpc.2025.109640
Alessio Roccon , Giovanni Soligo , Alfredo Soldati
{"title":"FLOW36: A spectral solver for phase-field based multiphase turbulence simulations on heterogeneous computing architectures","authors":"Alessio Roccon ,&nbsp;Giovanni Soligo ,&nbsp;Alfredo Soldati","doi":"10.1016/j.cpc.2025.109640","DOIUrl":"10.1016/j.cpc.2025.109640","url":null,"abstract":"&lt;div&gt;&lt;div&gt;We present FLOW36, a GPU-ready solver for interface-resolved simulations of multiphase turbulence. The simulation framework relies on the coupling of direct numerical simulation of turbulence, used to describe the flow field, with a phase-field method, used to describe the shape and deformation of a deformable interface and the presence of surfactants. An additional transport equation for a passive scalar can be solved to describe heat transfer in multiphase turbulence. The governing equations are solved in a cuboid domain bounded by two walls along the wall-normal direction where no-slip, free-slip or fixed/moving wall boundary conditions can be applied, while periodicity is applied along the streamwise and spanwise directions. The numerical method relies on a pseudo-spectral approach where Fourier series (periodic directions) and Chebyshev polynomials (wall-normal direction) are used to discretize the governing equations in space. Equations are advanced in time using an implicit-explicit scheme. From a computational perspective, FLOW36 relies on a multilevel parallelism. The first level of parallelism relies on the message-passing interface (MPI). A second level of parallelism uses OpenACC directives and cuFFT libraries; this second level is used to accelerate the code execution when heterogeneous computing infrastructures are targeted. In this work, we present the numerical method and we discuss the main implementation strategies, with particular reference to the MPI and OpenACC directives and code portability, performance and maintenance strategies. FLOW36 is released open source under the GPLv3 license.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;h3&gt;Program summary&lt;/h3&gt;&lt;div&gt;&lt;em&gt;Program Title:&lt;/em&gt; FLOW36&lt;/div&gt;&lt;div&gt;&lt;em&gt;CPC Library link to program files:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://doi.org/10.17632/ygcn7dsb9k.1&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Developer's repository link:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/MultiphaseFlowLab/FLOW36&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Licensing provisions:&lt;/em&gt; GPLv3 License&lt;/div&gt;&lt;div&gt;&lt;em&gt;Programming language:&lt;/em&gt; Modern Fortran&lt;/div&gt;&lt;div&gt;&lt;em&gt;Nature of problem:&lt;/em&gt; Solving the three-dimensional incompressible Navier–Stokes equations in a Cartesian domain configured for open and closed channel flows. A phase-field method is used to describe the shape and topological changes of deformable interfaces. Additional equations are included to account for the presence of surfactants, heat transfer problems and for the transport of point-wise Lagrangian particles.&lt;/div&gt;&lt;div&gt;&lt;em&gt;Solution method:&lt;/em&gt; The system of governing equations is advanced in time using an implicit-explicit strategy while the governing equations are discretized in space using a pseudo-spectral approach: Fourier series are employed along the homogeneous directions while Chebyshev polynomial along the wall-normal direction. A first order explicit Euler method is used to advance the equations for the Lagrangian particles motion. A two-","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109640"},"PeriodicalIF":7.2,"publicationDate":"2025-04-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143904586","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A robust fourth-order finite-difference discretization for the strongly anisotropic transport equation in magnetized plasmas 磁化等离子体中强各向异性输运方程的鲁棒四阶有限差分离散化
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-04-28 DOI: 10.1016/j.cpc.2025.109646
L. Chacón, J. Hamilton, N. Krasheninnikova
{"title":"A robust fourth-order finite-difference discretization for the strongly anisotropic transport equation in magnetized plasmas","authors":"L. Chacón,&nbsp;J. Hamilton,&nbsp;N. Krasheninnikova","doi":"10.1016/j.cpc.2025.109646","DOIUrl":"10.1016/j.cpc.2025.109646","url":null,"abstract":"<div><div>We propose a second-order temporally implicit, fourth-order-accurate spatial discretization scheme for the strongly anisotropic heat transport equation characteristic of hot, fusion-grade plasmas. Following Du Toit et al. (2018) <span><span>[17]</span></span>, the scheme transforms mixed-derivative diffusion fluxes (which are responsible for the lack of a discrete maximum principle) into nonlinear advective fluxes, amenable to nonlinear-solver-friendly monotonicity-preserving limiters. The scheme enables accurate multi-dimensional heat transport simulations with up to seven orders of magnitude of heat-transport-coefficient anisotropies with low cross-field numerical error pollution and excellent algorithmic performance, with the number of linear iterations scaling very weakly with grid resolution and grid anisotropy, and scaling with the square-root of the implicit timestep. We propose a multigrid preconditioning strategy based on a lower-order approximation that renders the scheme efficient and scalable under grid refinement. Several numerical tests are presented that display the expected spatial convergence rates and strong algorithmic performance, including fully nonlinear magnetohydrodynamics simulations of kink instabilities in a Bennett pinch in 2D helical geometry and of ITER in 3D toroidal geometry.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109646"},"PeriodicalIF":7.2,"publicationDate":"2025-04-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143886149","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
PowerMEIS 3: A versatile tool for simulating ion and electron scattering PowerMEIS 3:一个多功能的模拟离子和电子散射的工具
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-04-28 DOI: 10.1016/j.cpc.2025.109639
G.G. Marmitt , I. Alencar , H. Trombini , F.F. Selau , B. Konrad , P.L. Grande
{"title":"PowerMEIS 3: A versatile tool for simulating ion and electron scattering","authors":"G.G. Marmitt ,&nbsp;I. Alencar ,&nbsp;H. Trombini ,&nbsp;F.F. Selau ,&nbsp;B. Konrad ,&nbsp;P.L. Grande","doi":"10.1016/j.cpc.2025.109639","DOIUrl":"10.1016/j.cpc.2025.109639","url":null,"abstract":"<div><div>The aggressive roadmap for nanotechnology is driving the development of characterization techniques capable of providing nanometric resolution while preserving structural and chemical information for increasingly complex samples. Ion and electron scattering have emerged as powerful methodologies to meet these demands. However, due to the sophistication of modern samples, data interpretation heavily relies on advanced simulations. In this context, we have developed the <span>PowerMEIS<!--> <!-->3</span> computer program, a versatile Monte Carlo tool for simulating the scattering spectra of ions and electrons. This program has been rewritten from its previous versions and incorporates several new features. A detailed description of its implementation is provided after introducing the necessary physical principles. The program's wide range of applications is illustrated through several examples, including Medium Energy Ion Scattering, Rutherford Backscattering Spectrometry, molecular ion scattering, Nuclear Reaction Profiling, and Reflection Electron Energy Loss Spectroscopy. In particular, we demonstrate three distinct strategies for calculating the path integral: the Single Scattering, <em>Connected Trajectory</em>, and <em>Direct Trajectory</em> approaches, all based on a voxel representation of the target sample. Additionally, we compare the performance of <span>PowerMEIS<!--> <!-->3</span> program to other established programs, such as <span>TRBS</span> and <span>SIMNRA</span>. The <em>Connected Trajectory</em> approach is a novel feature in scattering simulations and significantly reduces the simulation time for Multiple Scattering calculations. Moreover, it enables simulations of nanostructures at any incidence angle, a capability not supported by other programs. The program also offers the option to run simulations remotely on a server hosted at <em>Universidade Federal do Rio Grande do Sul</em> (UFRGS). Finally, we discuss the limitations of the <em>Connected Trajectory</em> approach at lower energies, primarily due to the time reversal approximation employed, and highlight possibilities for further development.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109639"},"PeriodicalIF":7.2,"publicationDate":"2025-04-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143904582","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
Multi-expression programming for enhancing MHD heat transfer in a nanofluid-filled enclosure with heat generation and viscous dissipation 基于多表达式编程的具有热生成和粘性耗散的纳米流体填充壳体中MHD传热增强研究
IF 7.2 2区 物理与天体物理
Computer Physics Communications Pub Date : 2025-04-27 DOI: 10.1016/j.cpc.2025.109649
Naeem Ullah , Aneela Bibi , Dianchen Lu
{"title":"Multi-expression programming for enhancing MHD heat transfer in a nanofluid-filled enclosure with heat generation and viscous dissipation","authors":"Naeem Ullah ,&nbsp;Aneela Bibi ,&nbsp;Dianchen Lu","doi":"10.1016/j.cpc.2025.109649","DOIUrl":"10.1016/j.cpc.2025.109649","url":null,"abstract":"<div><div>Efficient thermal management is a critical challenge in various engineering configuration where overheating affects performance, such as electronics, industrial cooling, and HVAC applications. Traditional cooling methods often struggle with confined enclosures, leading to inefficiencies. Nanofluids and optimized heating mechanisms offer a promising solution, but their complex thermal behavior requires precise predictive modeling. This study addresses this challenge by conducting a numerical analysis of heat transfer in nanofluid-filled enclosures with sinusoidal heating. This study employs multi-expression programming technique to improve thermal performance by analyzing heating design and electromagnetic interactions. In this exploration a square enclosure filled with water-based copper oxide nanofluid is evaluated, featuring a centrally located sinusoidal heated element. The enclosure is also partially heated from below, cooled along the sidewalls, while the upper and remaining lower portions are insulated. The numerical simulation explores flow-controlling variables, including nanoparticles volume fraction, heating element amplitude, magnetic field strength and its orientation, viscous dissipation, and heat generation, to assess their impact on flow dynamics and thermal performance. The findings indicate that the Nusselt number increases by <span><math><mrow><mn>26.68</mn><mo>%</mo></mrow></math></span> when nanoparticle concentration reaches <span><math><mrow><mn>4</mn><mo>%</mo></mrow></math></span>, while a rise in Rayleigh number from <span><math><msup><mrow><mn>10</mn></mrow><mn>3</mn></msup></math></span> to <span><math><msup><mrow><mn>10</mn></mrow><mn>6</mn></msup></math></span> results in an approximate <span><math><mrow><mn>75.40</mn><mo>%</mo></mrow></math></span> increase. Moreover, the average percentage decrease in Nusselt number against <span><math><msub><mi>Q</mi><mi>g</mi></msub></math></span> from 0 to 30 is 20.71% while for <span><math><mrow><mi>H</mi><mi>a</mi></mrow></math></span> (10 to 100) it is 42.61%.The multi-expression programming model accurately predicts convective heat transfer trends, achieving a high correlation coefficient (<span><math><mrow><msub><mi>C</mi><mi>R</mi></msub><mo>=</mo><mn>0.99</mn></mrow></math></span> for training, <span><math><mrow><msub><mi>C</mi><mi>R</mi></msub><mo>=</mo><mn>0.94</mn></mrow></math></span> for testing) and low error metrics (<span><math><mrow><mi>R</mi><mi>M</mi><mi>S</mi><mi>E</mi><mspace></mspace><mo>=</mo><mspace></mspace><mn>0.02</mn><mo>,</mo><mspace></mspace><mi>M</mi><mi>A</mi><mi>E</mi><mspace></mspace><mo>=</mo><mspace></mspace><mn>0.03</mn><mo>,</mo><mspace></mspace><mi>P</mi><mi>I</mi><mspace></mspace><mo>=</mo><mspace></mspace><mn>0.06</mn></mrow></math></span> for training), ensuring strong agreement with numerical results.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109649"},"PeriodicalIF":7.2,"publicationDate":"2025-04-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"143908098","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
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信