首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
A chemistry load balancing model for OpenFOAM OpenFOAM 的化学负载平衡模型
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-18 DOI: 10.1016/j.cpc.2024.109322
Jan Wilhelm Gärtner, Ali Shamooni, Thorsten Zirwes, Andreas Kronenburg

Efficient simulation tools are crucial for studying complex systems such as reacting flows where computational costs of computing chemical reaction rates can vastly exceed the costs for the integration of the convective and diffusive transport terms. Load imbalance in parallel computing poses a significant challenge for massively parallel reacting flow simulations. In response, a novel load balancing library has been developed to enhance OpenFOAM's solver performance in parallel environments. This library seamlessly integrates with OpenFOAM, offering ease of use and applicability to any OpenFOAM reacting solver incorporating finite-rate chemistry. In addition, it supports the standard and the dynamic adaptive chemistry model (TDAC) of OpenFOAM.

The newly developed load-balanced standard and TDAC models address significant load imbalances by exchanging information between processes via MPI calls and tracking ODE solution times on a cell level. The TDAC model introduces dual tables on each core and enables immediate addition of computed solutions, enhancing computational efficiency. Validation on various test cases, including simulations on the HLRS Hawk supercomputer with up to 8000 cores, confirms identical results compared to the original unbalanced models, with notable speed-up factors of up to 6 for the standard and 5 for the TDAC model. Despite non-linear scaling at lower cell count per processor, load-balanced models consistently outperform unbalanced counterparts, making them the preferred choice for reacting flow simulations in OpenFOAM.

高效的仿真工具对于研究反应流等复杂系统至关重要,在反应流中,计算化学反应速率的计算成本可能远远超过整合对流和扩散传输项的成本。并行计算中的负载不平衡给大规模并行反应流模拟带来了巨大挑战。为此,我们开发了一个新颖的负载平衡库,以提高 OpenFOAM 求解器在并行环境中的性能。该库与 OpenFOAM 无缝集成,易于使用,适用于任何包含有限速率化学的 OpenFOAM 反应求解器。此外,它还支持 OpenFOAM 的标准和动态自适应化学模型 (TDAC)。新开发的负载平衡标准和 TDAC 模型通过 MPI 调用在进程间交换信息,并在单元级别跟踪 ODE 解算时间,从而解决了显著的负载不平衡问题。TDAC 模型在每个内核上引入了双表,可立即添加已计算的解决方案,从而提高了计算效率。在各种测试案例(包括在拥有多达 8000 个内核的 HLRS Hawk 超级计算机上进行的模拟)上进行的验证证实,与最初的非平衡模型相比,结果完全相同,标准模型和 TDAC 模型的显著加速系数分别高达 6 和 5。尽管在每个处理器单元数较少的情况下会出现非线性扩展,但负载平衡模型的性能始终优于非平衡模型,使其成为 OpenFOAM 反应流模拟的首选。
{"title":"A chemistry load balancing model for OpenFOAM","authors":"Jan Wilhelm Gärtner,&nbsp;Ali Shamooni,&nbsp;Thorsten Zirwes,&nbsp;Andreas Kronenburg","doi":"10.1016/j.cpc.2024.109322","DOIUrl":"10.1016/j.cpc.2024.109322","url":null,"abstract":"<div><p>Efficient simulation tools are crucial for studying complex systems such as reacting flows where computational costs of computing chemical reaction rates can vastly exceed the costs for the integration of the convective and diffusive transport terms. Load imbalance in parallel computing poses a significant challenge for massively parallel reacting flow simulations. In response, a novel load balancing library has been developed to enhance OpenFOAM's solver performance in parallel environments. This library seamlessly integrates with OpenFOAM, offering ease of use and applicability to any OpenFOAM reacting solver incorporating finite-rate chemistry. In addition, it supports the standard and the dynamic adaptive chemistry model (TDAC) of OpenFOAM.</p><p>The newly developed load-balanced standard and TDAC models address significant load imbalances by exchanging information between processes via MPI calls and tracking ODE solution times on a cell level. The TDAC model introduces dual tables on each core and enables immediate addition of computed solutions, enhancing computational efficiency. Validation on various test cases, including simulations on the HLRS Hawk supercomputer with up to 8000 cores, confirms identical results compared to the original unbalanced models, with notable speed-up factors of up to 6 for the standard and 5 for the TDAC model. Despite non-linear scaling at lower cell count per processor, load-balanced models consistently outperform unbalanced counterparts, making them the preferred choice for reacting flow simulations in OpenFOAM.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"305 ","pages":"Article 109322"},"PeriodicalIF":7.2,"publicationDate":"2024-07-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002455/pdfft?md5=3adc8b807a9e08b0e97c85b63e4b6320&pid=1-s2.0-S0010465524002455-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141842300","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
An approach for dynamically adaptable SIMD vectorization of FEM kernels 有限元内核动态适应 SIMD 矢量化方法
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-17 DOI: 10.1016/j.cpc.2024.109319
Kristian Kadlubiak, Ondřej Meca, Lubomír Říha, Tomáš Brzobohatý

The paper focuses on the optimization of the FEM matrix kernels with respect to user-defined parameters such as materials, initial conditions, and boundary conditions that are known during run-time only. Adapting the kernels to specific parameters can save a significant amount of execution time and increase performance. Handling them efficiently is challenging due to the exponential number of potential combinations that the user can specify.

The paper presents an approach that combines (a) cross-element vectorization for the easy-to-write transformation of the original scalar code to vectorized one, (b) meta-programming for utilization of a compiler for building sub-kernels tailored for a particular set of parameters, (c) and dynamic polymorphism allowing run-time selection of sub-kernels.

We show that the above techniques allow (1) straightforward code modifications, (2) efficient handling of required dynamic behavior with a minor performance penalty for most kernels, and (3) achieving up to 8-fold speedups compared to non-adapted kernels.

本文的重点是根据用户定义的参数(如材料、初始条件和边界条件)优化有限元矩阵内核,这些参数仅在运行时已知。根据特定参数调整矩阵核可以节省大量执行时间并提高性能。本文介绍了一种方法,该方法结合了(a)跨元素矢量化,便于将原始标量代码转换为矢量化代码;(b)元编程,利用编译器为特定参数集构建子内核;(c)动态多态性,允许运行时选择子内核。我们的研究表明,采用上述技术可以:(1)直接修改代码;(2)高效处理所需的动态行为,对大多数内核的性能影响较小;(3)与非适配内核相比,速度最多可提高 8 倍。
{"title":"An approach for dynamically adaptable SIMD vectorization of FEM kernels","authors":"Kristian Kadlubiak,&nbsp;Ondřej Meca,&nbsp;Lubomír Říha,&nbsp;Tomáš Brzobohatý","doi":"10.1016/j.cpc.2024.109319","DOIUrl":"10.1016/j.cpc.2024.109319","url":null,"abstract":"<div><p>The paper focuses on the optimization of the FEM matrix kernels with respect to user-defined parameters such as materials, initial conditions, and boundary conditions that are known during run-time only. Adapting the kernels to specific parameters can save a significant amount of execution time and increase performance. Handling them efficiently is challenging due to the exponential number of potential combinations that the user can specify.</p><p>The paper presents an approach that combines (a) cross-element vectorization for the easy-to-write transformation of the original scalar code to vectorized one, (b) meta-programming for utilization of a compiler for building sub-kernels tailored for a particular set of parameters, (c) and dynamic polymorphism allowing run-time selection of sub-kernels.</p><p>We show that the above techniques allow (1) straightforward code modifications, (2) efficient handling of required dynamic behavior with a minor performance penalty for most kernels, and (3) achieving up to 8-fold speedups compared to non-adapted kernels.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"304 ","pages":"Article 109319"},"PeriodicalIF":7.2,"publicationDate":"2024-07-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141847976","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
Study α decay and proton emission based on data-driven symbolic regression 基于数据驱动的符号回归研究α衰变和质子发射
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-11 DOI: 10.1016/j.cpc.2024.109317
Junhao Cheng , Binglin Wang , Wenyu Zhang , Xiaojun Duan , Tongpu Yu

α decay and proton emission were combined using symbolic regression to improve the accuracy of predicting their respective half-lives using two theoretical formulations: (1) adjustable parameters for the universal decay law and universal decay law for proton emission are obtained by regressions with fully-constrained symbolic regressions. (2) New theoretical formulas for calculating the half-life of proton emission and α decay are obtained using unconstrained symbolic regressions combined with nuclear data. Our computational analysis indicates that fully-constrained symbolic regressions and unconstrained symbolic regressions are reliable for specific and general nuclei, respectively, in terms of replicating experimental results, and are sufficiently robust to produce accurate half-life predictions. Unlike other machine learning methods that generate complex and opaque results, our approach integrates physics and machine learning to create interpretable formulas that provide intuitive parametric outcomes and transparent and dependable inferences of half-lives, even in areas with limited experimental data. The test results show that the equation yields accurate results, and can be easily applied to future α decay and proton emission studies.

利用符号回归法将α衰变和质子发射结合起来,以提高利用两种理论公式预测它们各自半衰期的准确性:(1)通过完全受约束的符号回归法获得质子发射的普遍衰变规律和普遍衰变规律的可调参数。(2)利用无约束符号回归结合核数据,获得计算质子发射半衰期和α衰变半衰期的新理论公式。我们的计算分析表明,全约束符号回归和无约束符号回归在复制实验结果方面分别对特定原子核和一般原子核是可靠的,并且具有足够的鲁棒性,可以产生准确的半衰期预测。与其他产生复杂而不透明结果的机器学习方法不同,我们的方法整合了物理学和机器学习,创建了可解释的公式,即使在实验数据有限的领域,也能提供直观的参数结果和透明可靠的半衰期推断。测试结果表明,该方程能得出准确的结果,并能轻松应用于未来的α衰变和质子发射研究。
{"title":"Study α decay and proton emission based on data-driven symbolic regression","authors":"Junhao Cheng ,&nbsp;Binglin Wang ,&nbsp;Wenyu Zhang ,&nbsp;Xiaojun Duan ,&nbsp;Tongpu Yu","doi":"10.1016/j.cpc.2024.109317","DOIUrl":"10.1016/j.cpc.2024.109317","url":null,"abstract":"<div><p><em>α</em> decay and proton emission were combined using symbolic regression to improve the accuracy of predicting their respective half-lives using two theoretical formulations: (1) adjustable parameters for the universal decay law and universal decay law for proton emission are obtained by regressions with fully-constrained symbolic regressions. (2) New theoretical formulas for calculating the half-life of proton emission and <em>α</em> decay are obtained using unconstrained symbolic regressions combined with nuclear data. Our computational analysis indicates that fully-constrained symbolic regressions and unconstrained symbolic regressions are reliable for specific and general nuclei, respectively, in terms of replicating experimental results, and are sufficiently robust to produce accurate half-life predictions. Unlike other machine learning methods that generate complex and opaque results, our approach integrates physics and machine learning to create interpretable formulas that provide intuitive parametric outcomes and transparent and dependable inferences of half-lives, even in areas with limited experimental data. The test results show that the equation yields accurate results, and can be easily applied to future <em>α</em> decay and proton emission studies.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"304 ","pages":"Article 109317"},"PeriodicalIF":7.2,"publicationDate":"2024-07-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141637759","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
1D drift-kinetic numerical model based on semi-implicit particle-in-cell method 基于半隐式粒子入胞法的一维漂移动力学数值模型
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-10 DOI: 10.1016/j.cpc.2024.109318
V.V. Glinskiy , I.V. Timofeev , E.A. Berendeev

The paper presents a new one-dimensional drift-kinetic electrostatic model based on the particle-in-cell method and capable of simulating the processes of plasma heating and confinement in mirror traps. The most of particle and energy losses in these traps occur along the magnetic field lines. The key role in limiting these losses is played by the ambipolar electric potential which creates a potential barrier for electrons and significantly reduces the heat flux that, without this barrier, would go to wall due to the classical electron thermal conductivity. However, modeling the formation of such a potential on real spatial and temporal scales of experiments is a challenging problem, since it requires a detailed description of not only ion, but also electron kinetics. In this work, we propose to solve the problem of taking into account electron kinetic effects on the time scale of plasma confinement in a mirror trap using the particle-in-cell method adapted to the approximate drift-kinetic equations of plasma motion. Unlike other electrostatic particle-in-cell models, which use fully implicit schemes to solve the nonlinear system of Vlasov-Poisson and Vlasov-Ampere equations, we propose a semi-implicit approach. By analogy with the Energy Conserving Semi-Implicit Method (ECSIM), it allows for precise conservation of energy and reduces the procedure for finding the electric field to inverting a tridiagonal matrix without multiple nonlinear iterations. Such a model will be useful for simulating not only collisional losses of hot plasma in fusion experiments, but also for studying the features of creating cold starting plasma in mirror traps using plasma or electron guns.

本文介绍了一种基于粒子入室法的新型一维漂移动静电模型,该模型能够模拟镜面陷阱中的等离子体加热和束缚过程。这些陷阱中的大部分粒子和能量损失都是沿着磁场线发生的。在限制这些损耗方面起关键作用的是伏极电势,它为电子创建了一个势垒,并显著降低了热通量。然而,在实际实验的空间和时间尺度上模拟这种电势的形成是一个具有挑战性的问题,因为这不仅需要详细描述离子动力学,还需要详细描述电子动力学。在这项工作中,我们建议使用适应等离子体运动的近似漂移动力学方程的粒子入室法来解决在镜像阱中等离子体约束的时间尺度上考虑电子动力学效应的问题。其他静电粒子入室模型使用全隐式方案求解弗拉索夫-泊松方程和弗拉索夫-安培方程的非线性系统,与此不同,我们提出了一种半隐式方法。通过与能量守恒半隐式方法(ECSIM)进行类比,该方法可以实现精确的能量守恒,并将寻找电场的过程简化为倒转一个三对角矩阵,而无需多次非线性迭代。这种模型不仅有助于模拟核聚变实验中热等离子体的碰撞损耗,还有助于研究利用等离子体枪或电子枪在镜像陷阱中产生冷启动等离子体的特征。
{"title":"1D drift-kinetic numerical model based on semi-implicit particle-in-cell method","authors":"V.V. Glinskiy ,&nbsp;I.V. Timofeev ,&nbsp;E.A. Berendeev","doi":"10.1016/j.cpc.2024.109318","DOIUrl":"10.1016/j.cpc.2024.109318","url":null,"abstract":"<div><p>The paper presents a new one-dimensional drift-kinetic electrostatic model based on the particle-in-cell method and capable of simulating the processes of plasma heating and confinement in mirror traps. The most of particle and energy losses in these traps occur along the magnetic field lines. The key role in limiting these losses is played by the ambipolar electric potential which creates a potential barrier for electrons and significantly reduces the heat flux that, without this barrier, would go to wall due to the classical electron thermal conductivity. However, modeling the formation of such a potential on real spatial and temporal scales of experiments is a challenging problem, since it requires a detailed description of not only ion, but also electron kinetics. In this work, we propose to solve the problem of taking into account electron kinetic effects on the time scale of plasma confinement in a mirror trap using the particle-in-cell method adapted to the approximate drift-kinetic equations of plasma motion. Unlike other electrostatic particle-in-cell models, which use fully implicit schemes to solve the nonlinear system of Vlasov-Poisson and Vlasov-Ampere equations, we propose a semi-implicit approach. By analogy with the Energy Conserving Semi-Implicit Method (ECSIM), it allows for precise conservation of energy and reduces the procedure for finding the electric field to inverting a tridiagonal matrix without multiple nonlinear iterations. Such a model will be useful for simulating not only collisional losses of hot plasma in fusion experiments, but also for studying the features of creating cold starting plasma in mirror traps using plasma or electron guns.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"304 ","pages":"Article 109318"},"PeriodicalIF":7.2,"publicationDate":"2024-07-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141630729","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 determination of free energies of non-ideal solid solutions via hybrid Monte Carlo simulations 通过混合蒙特卡罗模拟有效测定非理想固溶体的自由能
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-10 DOI: 10.1016/j.cpc.2024.109307
Zhi Li, Sandro Scandolo

Predicting the phase diagram of solid solutions is crucial for understanding their physical behavior under various conditions and at different compositions. However, conventional sampling methods face challenges in efficiently addressing configurational and vibrational disorder for substitutional solid solutions. Additionally, a persistent obstacle has been the lack of a robust theoretical approach for determining the free energy of interstitial solid solutions characterized by the fluid-like diffusion of interstitial species. The method presented in this paper overcomes both hurdles by coupling thermodynamic integration with hybrid Monte Carlo algorithms. We validate the accuracy of the method by computing the free energies of iron alloys described by a Lennard-Jones potential. We also showcase its efficiency by determining the phase diagram of the MgO-CaO system, described by a machine-learning interatomic potential. The high efficiencies achieved with this method pave the way to the determination of the free energies of solid solutions with ab initio accuracy.

预测固溶体的相图对于了解它们在不同条件和不同成分下的物理行为至关重要。然而,传统的取样方法在有效处理置换固溶体的构型和振动紊乱方面面临挑战。此外,一个长期存在的障碍是缺乏可靠的理论方法来确定以间隙物种的流体扩散为特征的间隙固溶体的自由能。本文介绍的方法通过将热力学积分与混合蒙特卡罗算法相结合,克服了这两个障碍。我们通过计算伦纳德-琼斯势描述的铁合金的自由能,验证了该方法的准确性。我们还通过确定由机器学习原子间势描述的氧化镁-氧化钙体系相图,展示了该方法的效率。该方法所实现的高效率为精确测定固体溶液的自由能铺平了道路。
{"title":"Efficient determination of free energies of non-ideal solid solutions via hybrid Monte Carlo simulations","authors":"Zhi Li,&nbsp;Sandro Scandolo","doi":"10.1016/j.cpc.2024.109307","DOIUrl":"10.1016/j.cpc.2024.109307","url":null,"abstract":"<div><p>Predicting the phase diagram of solid solutions is crucial for understanding their physical behavior under various conditions and at different compositions. However, conventional sampling methods face challenges in efficiently addressing configurational and vibrational disorder for substitutional solid solutions. Additionally, a persistent obstacle has been the lack of a robust theoretical approach for determining the free energy of interstitial solid solutions characterized by the fluid-like diffusion of interstitial species. The method presented in this paper overcomes both hurdles by coupling thermodynamic integration with hybrid Monte Carlo algorithms. We validate the accuracy of the method by computing the free energies of iron alloys described by a Lennard-Jones potential. We also showcase its efficiency by determining the phase diagram of the MgO-CaO system, described by a machine-learning interatomic potential. The high efficiencies achieved with this method pave the way to the determination of the free energies of solid solutions with <em>ab initio</em> accuracy.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"304 ","pages":"Article 109307"},"PeriodicalIF":7.2,"publicationDate":"2024-07-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141622343","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
PCDMD: Physics-constrained dynamic mode decomposition for accurate and robust forecasting of dynamical systems with imperfect data and physics PCDMD:物理约束动态模式分解,用于对数据和物理条件不完善的动力系统进行准确而稳健的预测
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-06 DOI: 10.1016/j.cpc.2024.109303
Yuhui Yin , Chenhui Kou , Shengkun Jia , Lu Lu , Xigang Yuan , Yiqing Luo

The dynamic mode decomposition (DMD) method has attracted widespread attention as a representative modal-decomposition method and can build a predictive model. However, DMD may give predicted results that deviate from physical reality in some scenarios, such as dealing with translation problems or noisy data. Here, we propose a physics-constrained DMD (PCDMD) method to address this issue. The proposed PCDMD method first employs a data-driven model using DMD, then calculates the residual of the physical equations, and finally corrects the predicted results using Kalman filter and gain coefficients. In this way, the PCDMD method can integrate the physics-informed equations with the data-driven model generated by DMD. Numerical experiments are conducted using PCDMD, including the Allen–Cahn, advection-diffusion, Burgers' equations and lid-driven cavity flow. The results demonstrate that the proposed PCDMD method can reduce the reconstruction and prediction errors by 1%-10% by incorporating physical constraints. Regarding noisy datasets and imperfect physical constraints, PCDMD can still ensure that the predicted results satisfy the physical constraints, thereby reducing errors.

Program summary

Program title: PCDMD

Dataset link: https://github.com/YinYuhuiTJU/PCDMD

Licensing provisions: MIT

Programming language: Python

动态模态分解(DMD)方法作为一种具有代表性的模态分解方法,能够建立预测模型,因而受到广泛关注。然而,在某些情况下,如处理平移问题或噪声数据时,DMD 得出的预测结果可能会偏离物理现实。在此,我们提出一种物理约束 DMD(PCDMD)方法来解决这一问题。所提出的 PCDMD 方法首先使用 DMD 建立数据驱动模型,然后计算物理方程的残差,最后使用卡尔曼滤波器和增益系数修正预测结果。这样,PCDMD 方法就能将物理方程与 DMD 生成的数据驱动模型整合在一起。利用 PCDMD 进行了数值实验,包括 Allen-Cahn、平流-扩散、Burgers'方程和顶盖驱动空腔流。结果表明,所提出的 PCDMD 方法通过加入物理约束,可将重建和预测误差降低 1%-10%。对于噪声数据集和不完善的物理约束,PCDMD 仍能确保预测结果满足物理约束,从而减少误差:PCDMDDataset link: https://github.com/YinYuhuiTJU/PCDMDLicensing provisions:MITProgramming language:Python
{"title":"PCDMD: Physics-constrained dynamic mode decomposition for accurate and robust forecasting of dynamical systems with imperfect data and physics","authors":"Yuhui Yin ,&nbsp;Chenhui Kou ,&nbsp;Shengkun Jia ,&nbsp;Lu Lu ,&nbsp;Xigang Yuan ,&nbsp;Yiqing Luo","doi":"10.1016/j.cpc.2024.109303","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109303","url":null,"abstract":"<div><p>The dynamic mode decomposition (DMD) method has attracted widespread attention as a representative modal-decomposition method and can build a predictive model. However, DMD may give predicted results that deviate from physical reality in some scenarios, such as dealing with translation problems or noisy data. Here, we propose a physics-constrained DMD (PCDMD) method to address this issue. The proposed PCDMD method first employs a data-driven model using DMD, then calculates the residual of the physical equations, and finally corrects the predicted results using Kalman filter and gain coefficients. In this way, the PCDMD method can integrate the physics-informed equations with the data-driven model generated by DMD. Numerical experiments are conducted using PCDMD, including the Allen–Cahn, advection-diffusion, Burgers' equations and lid-driven cavity flow. The results demonstrate that the proposed PCDMD method can reduce the reconstruction and prediction errors by 1%-10% by incorporating physical constraints. Regarding noisy datasets and imperfect physical constraints, PCDMD can still ensure that the predicted results satisfy the physical constraints, thereby reducing errors.</p></div><div><h3>Program summary</h3><p><em>Program title:</em> PCDMD</p><p><em>Dataset link:</em> <span>https://github.com/YinYuhuiTJU/PCDMD</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> MIT</p><p><em>Programming language:</em> Python</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"304 ","pages":"Article 109303"},"PeriodicalIF":7.2,"publicationDate":"2024-07-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141607669","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
XtalOpt version 13: Multi-objective evolutionary search for novel functional materials XtalOpt 第 13 版:新型功能材料的多目标进化搜索
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-05 DOI: 10.1016/j.cpc.2024.109306
Samad Hajinazar, Eva Zurek

Version 13 of XtalOpt, an evolutionary algorithm for crystal structure prediction, is now available for download from the CPC program library or the XtalOpt website, https://xtalopt.github.io. In the new version of the XtalOpt code, a general platform for multi-objective global optimization is implemented. This functionality is designed to facilitate the search for (meta)stable phases of functional materials through minimization of the enthalpy of a crystalline system coupled with the simultaneous optimization of any desired properties that are specified by the user. The code is also able to perform a constrained search by filtering the parent pool of structures based on a user-specified feature, while optimizing multiple objectives. Here, we present the implementation and various technical details, and we provide a brief overview of additional improvements that have been introduced in the new version of XtalOpt.

Program summary

Program Title: XtalOpt

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

Developer's repository link: https://github.com/xtalopt/XtalOpt

Licensing provisions: BSD 3-clause

Programming language: C++.

Journal reference of previous version: Comput. Phys. Commun. 237 (2019) 274–275.

Does the new version supersede the previous version?: Yes.

Reasons for the new version: Implementation of a multi-objective evolutionary search within the XtalOpt program package.

Summary of revisions: Implemented a general user-friendly multi-objective search capability, made various improvements to user interface and functionalities, performed bug fixes.

Nature of problem: The XtalOpt algorithm is designed to search for (meta)stable crystal structures, optionally with specific functionalities – a grand challenge in computational materials science, chemistry and physics.

Solution method: A generalized scalar fitness function, where a set of user-specified objectives contribute to the fitness value for candidate structures, is implemented within XtalOpt. This generalized fitness biases the search towards the discovery of (meta)stable phases with structural motifs that are key for the desired characteristics. As a result, the evolutionary search explores regions of the energy landscape of higher relevance in terms of target properties.

用于晶体结构预测的进化算法 XtalOpt 第 13 版现已可从 CPC 程序库或 XtalOpt 网站 https://xtalopt.github.io 下载。在新版 XtalOpt 代码中,实现了多目标全局优化的通用平台。该功能旨在通过最小化晶体系统的热焓,同时优化用户指定的任何所需的属性,促进功能材料(元)稳定相的搜索。该代码还能在优化多个目标的同时,根据用户指定的特征过滤父结构池,从而执行受限搜索。在此,我们介绍了该程序的实现和各种技术细节,并简要概述了新版 XtalOpt 中引入的其他改进:XtalOptCPC 库程序文件链接:https://doi.org/10.17632/jt5pvnnm39.4Developer's repository 链接:https://github.com/xtalopt/XtalOptLicensing 规定:BSD 3-clause编程语言:C++.Journal reference of previous version:Comput.Phys.237 (2019) 274-275.Does the new version supersede the previous version?是的:在 XtalOpt 程序包中实现了多目标进化搜索:问题性质:XtalOpt算法旨在搜索(元)稳定晶体结构,可选择具有特定功能的晶体结构--这是计算材料科学、化学和物理学领域的一大挑战:解决方法:XtalOpt 采用广义标量适配函数,用户指定的一系列目标都会对候选结构的适配值产生影响。这种广义拟合度使搜索偏向于发现(元)稳定相,这些稳定相具有对所需特性至关重要的结构图案。因此,进化搜索会探索与目标特性相关性更高的能量景观区域。
{"title":"XtalOpt version 13: Multi-objective evolutionary search for novel functional materials","authors":"Samad Hajinazar,&nbsp;Eva Zurek","doi":"10.1016/j.cpc.2024.109306","DOIUrl":"10.1016/j.cpc.2024.109306","url":null,"abstract":"<div><p>Version 13 of <span>XtalOpt</span>, an evolutionary algorithm for crystal structure prediction, is now available for download from the CPC program library or the <span>XtalOpt</span> website, <span><span>https://xtalopt.github.io</span><svg><path></path></svg></span>. In the new version of the <span>XtalOpt</span> code, a general platform for multi-objective global optimization is implemented. This functionality is designed to facilitate the search for (meta)stable phases of functional materials through minimization of the enthalpy of a crystalline system coupled with the simultaneous optimization of any desired properties that are specified by the user. The code is also able to perform a constrained search by filtering the parent pool of structures based on a user-specified feature, while optimizing multiple objectives. Here, we present the implementation and various technical details, and we provide a brief overview of additional improvements that have been introduced in the new version of <span>XtalOpt</span>.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> XtalOpt</p><p><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/jt5pvnnm39.4</span><svg><path></path></svg></span></p><p><em>Developer's repository link:</em> <span><span>https://github.com/xtalopt/XtalOpt</span><svg><path></path></svg></span></p><p><em>Licensing provisions:</em> BSD 3-clause</p><p><em>Programming language:</em> C++.</p><p><em>Journal reference of previous version:</em> Comput. Phys. Commun. 237 (2019) 274–275.</p><p><em>Does the new version supersede the previous version?:</em> Yes.</p><p><em>Reasons for the new version:</em> Implementation of a multi-objective evolutionary search within the XtalOpt program package.</p><p><em>Summary of revisions:</em> Implemented a general user-friendly multi-objective search capability, made various improvements to user interface and functionalities, performed bug fixes.</p><p><em>Nature of problem:</em> The XtalOpt algorithm is designed to search for (meta)stable crystal structures, optionally with specific functionalities – a grand challenge in computational materials science, chemistry and physics.</p><p><em>Solution method:</em> A generalized scalar fitness function, where a set of user-specified objectives contribute to the fitness value for candidate structures, is implemented within XtalOpt. This generalized fitness biases the search towards the discovery of (meta)stable phases with structural motifs that are key for the desired characteristics. As a result, the evolutionary search explores regions of the energy landscape of higher relevance in terms of target properties.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"304 ","pages":"Article 109306"},"PeriodicalIF":7.2,"publicationDate":"2024-07-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141630689","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
CGNSDE: Conditional Gaussian neural stochastic differential equation for modeling complex systems and data assimilation CGNSDE:用于复杂系统建模和数据同化的条件高斯神经随机微分方程
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-04 DOI: 10.1016/j.cpc.2024.109302
Chuanqi Chen , Nan Chen , Jin-Long Wu

A new knowledge-based and machine learning hybrid modeling approach, called conditional Gaussian neural stochastic differential equation (CGNSDE), is developed to facilitate modeling complex dynamical systems and implementing analytic formulae of the associated data assimilation (DA). In contrast to the standard neural network predictive models, the CGNSDE is designed to effectively tackle both forward prediction tasks and inverse state estimation problems. The CGNSDE starts by exploiting a systematic causal inference via information theory to build a simple knowledge-based nonlinear model that nevertheless captures as much explainable physics as possible. Then, neural networks are supplemented to the knowledge-based model in a specific way, which not only characterizes the remaining features that are challenging to model with simple forms but also advances the use of analytic formulae to efficiently compute the nonlinear DA solution. These analytic formulae are used as an additional computationally affordable loss to train the neural networks that directly improve the DA accuracy. This DA loss function promotes the CGNSDE to capture the interactions between state variables and thus advances its modeling skills. With the DA loss, the CGNSDE is more capable of estimating extreme events and quantifying the associated uncertainty. Furthermore, crucial physical properties in many complex systems, such as the translate-invariant local dependence of state variables, can significantly simplify the neural network structures and facilitate the CGNSDE to be applied to high-dimensional systems. Numerical experiments based on chaotic systems with intermittency and strong non-Gaussian features indicate that the CGNSDE outperforms knowledge-based regression models, and the DA loss further enhances the modeling skills of the CGNSDE.

我们开发了一种新的基于知识和机器学习的混合建模方法,称为条件高斯神经随机微分方程(CGNSDE),以促进复杂动力系统的建模和相关数据同化(DA)分析公式的实现。与标准的神经网络预测模型不同,CGNSDE 可有效解决正向预测任务和反向状态估计问题。CGNSDE 首先通过信息论利用系统的因果推理建立一个简单的基于知识的非线性模型,该模型能够捕捉到尽可能多的可解释物理现象。然后,神经网络以一种特定的方式补充到基于知识的模型中,这种方式不仅可以描述用简单形式建模具有挑战性的其余特征,还可以推进解析公式的使用,从而高效计算非线性数模解。这些解析公式被用作额外的计算负担得起的损失函数来训练神经网络,从而直接提高 DA 的准确性。这种损耗函数可促进 CGNSDE 捕捉状态变量之间的相互作用,从而提高其建模能力。有了 DA 损失,CGNSDE 就更有能力估计极端事件并量化相关的不确定性。此外,许多复杂系统的关键物理特性,如状态变量的平移不变局部依赖性,可以大大简化神经网络结构,促进 CGNSDE 在高维系统中的应用。基于具有间歇性和强非高斯特征的混沌系统的数值实验表明,CGNSDE优于基于知识的回归模型,而DA损失进一步增强了CGNSDE的建模能力。
{"title":"CGNSDE: Conditional Gaussian neural stochastic differential equation for modeling complex systems and data assimilation","authors":"Chuanqi Chen ,&nbsp;Nan Chen ,&nbsp;Jin-Long Wu","doi":"10.1016/j.cpc.2024.109302","DOIUrl":"https://doi.org/10.1016/j.cpc.2024.109302","url":null,"abstract":"<div><p>A new knowledge-based and machine learning hybrid modeling approach, called conditional Gaussian neural stochastic differential equation (CGNSDE), is developed to facilitate modeling complex dynamical systems and implementing analytic formulae of the associated data assimilation (DA). In contrast to the standard neural network predictive models, the CGNSDE is designed to effectively tackle both forward prediction tasks and inverse state estimation problems. The CGNSDE starts by exploiting a systematic causal inference via information theory to build a simple knowledge-based nonlinear model that nevertheless captures as much explainable physics as possible. Then, neural networks are supplemented to the knowledge-based model in a specific way, which not only characterizes the remaining features that are challenging to model with simple forms but also advances the use of analytic formulae to efficiently compute the nonlinear DA solution. These analytic formulae are used as an additional computationally affordable loss to train the neural networks that directly improve the DA accuracy. This DA loss function promotes the CGNSDE to capture the interactions between state variables and thus advances its modeling skills. With the DA loss, the CGNSDE is more capable of estimating extreme events and quantifying the associated uncertainty. Furthermore, crucial physical properties in many complex systems, such as the translate-invariant local dependence of state variables, can significantly simplify the neural network structures and facilitate the CGNSDE to be applied to high-dimensional systems. Numerical experiments based on chaotic systems with intermittency and strong non-Gaussian features indicate that the CGNSDE outperforms knowledge-based regression models, and the DA loss further enhances the modeling skills of the CGNSDE.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"304 ","pages":"Article 109302"},"PeriodicalIF":7.2,"publicationDate":"2024-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141593362","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
vortex-p: A Helmholtz-Hodge and Reynolds decomposition algorithm for particle-based simulations vortex-p:用于粒子模拟的亥姆霍兹-霍奇和雷诺分解算法
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-07-04 DOI: 10.1016/j.cpc.2024.109305
David Vallés-Pérez , Susana Planelles , Vicent Quilis , Frederick Groth , Tirso Marin-Gilabert , Klaus Dolag

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

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

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

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