STLCutters.jl: A scalable geometrical framework library for unfitted finite element discretisations

IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2025-04-01 Epub Date: 2024-12-27 DOI:10.1016/j.cpc.2024.109479
Pere A. Martorell , Santiago Badia
{"title":"STLCutters.jl: A scalable geometrical framework library for unfitted finite element discretisations","authors":"Pere A. Martorell ,&nbsp;Santiago Badia","doi":"10.1016/j.cpc.2024.109479","DOIUrl":null,"url":null,"abstract":"<div><div>Approximating partial differential equations for extensive industrial and scientific applications requires leveraging the power of modern high-performance computing. In large-scale parallel computations, the geometrical discretisation rapidly becomes a bottleneck in the simulation pipeline. Unstructured mesh generation is hardly automatic, and meshing algorithms cannot efficiently exploit distributed-memory computers. Besides, partitioning of unstructured meshes relies on graph partitioning strategies, which scale poorly. As a result, the use of dynamic load balancing for locally refined meshes becomes prohibitive. Adaptive Cartesian meshes are far more advantageous, providing cheap and scalable mesh generation, partitioning, and balancing compared to unstructured meshes. However, Cartesian meshes are not suitable for complex geometries when using standard discretisation techniques. Unfitted finite element methods are a promising solution to the abovementioned problems. These numerical schemes rely on Cartesian meshes and can handle complex geometries. Nevertheless, their application is usually constrained to implicit (level set) geometrical representations. The extension to general geometries, e.g., provided by an STL surface mesh, requires advanced intersection algorithms. This work presents an efficient parallel implementation of all the geometric tools required, e.g., for unfitted finite element methods (in a broad sense), for explicit boundary representations. Such geometries can readily be generated using standard computer-aided design tools. The proposed geometrical workflow utilises a multilevel approach to overlapping computations, effectively eliminating bottlenecks in large-scale computations. The numerical results demonstrate perfect weak scalability over 13,000 processors and one billion cells. All these algorithms are implemented in the open-source <span>STLCutters.jl</span> library, written in the Julia programming language. The library is designed to be used in conjunction with the <span>Gridap.jl</span> library provides a high-level interface to the finite element method.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"309 ","pages":"Article 109479"},"PeriodicalIF":3.4000,"publicationDate":"2025-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524004028","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/12/27 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Approximating partial differential equations for extensive industrial and scientific applications requires leveraging the power of modern high-performance computing. In large-scale parallel computations, the geometrical discretisation rapidly becomes a bottleneck in the simulation pipeline. Unstructured mesh generation is hardly automatic, and meshing algorithms cannot efficiently exploit distributed-memory computers. Besides, partitioning of unstructured meshes relies on graph partitioning strategies, which scale poorly. As a result, the use of dynamic load balancing for locally refined meshes becomes prohibitive. Adaptive Cartesian meshes are far more advantageous, providing cheap and scalable mesh generation, partitioning, and balancing compared to unstructured meshes. However, Cartesian meshes are not suitable for complex geometries when using standard discretisation techniques. Unfitted finite element methods are a promising solution to the abovementioned problems. These numerical schemes rely on Cartesian meshes and can handle complex geometries. Nevertheless, their application is usually constrained to implicit (level set) geometrical representations. The extension to general geometries, e.g., provided by an STL surface mesh, requires advanced intersection algorithms. This work presents an efficient parallel implementation of all the geometric tools required, e.g., for unfitted finite element methods (in a broad sense), for explicit boundary representations. Such geometries can readily be generated using standard computer-aided design tools. The proposed geometrical workflow utilises a multilevel approach to overlapping computations, effectively eliminating bottlenecks in large-scale computations. The numerical results demonstrate perfect weak scalability over 13,000 processors and one billion cells. All these algorithms are implemented in the open-source STLCutters.jl library, written in the Julia programming language. The library is designed to be used in conjunction with the Gridap.jl library provides a high-level interface to the finite element method.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
STLCutters。非拟合有限元离散的可伸缩几何框架库
为广泛的工业和科学应用近似偏微分方程需要利用现代高性能计算的力量。在大规模并行计算中,几何离散化迅速成为仿真管道中的瓶颈。非结构化网格生成很难实现自动化,网格划分算法无法有效利用分布式存储计算机。此外,非结构化网格的划分依赖于图划分策略,可扩展性差。因此,使用动态负载平衡局部细化网格变得令人望而却步。与非结构化网格相比,自适应笛卡尔网格更有优势,提供廉价和可扩展的网格生成、分区和平衡。然而,当使用标准离散化技术时,笛卡尔网格不适合复杂的几何形状。非拟合有限元法是解决上述问题的一种有效方法。这些数值格式依赖于笛卡尔网格,可以处理复杂的几何形状。然而,它们的应用通常局限于隐式(水平集)几何表示。对一般几何图形的扩展,例如由STL表面网格提供的扩展,需要先进的相交算法。这项工作提供了所有所需几何工具的有效并行实现,例如,用于非拟合有限元方法(广义上),用于显式边界表示。使用标准的计算机辅助设计工具可以很容易地生成这种几何形状。提出的几何工作流利用多层方法进行重叠计算,有效地消除了大规模计算中的瓶颈。数值结果表明,该算法在13000个处理器和10亿个单元上具有很好的弱扩展性。所有这些算法都在开源的stlcutter中实现。jl库,用Julia编程语言编写。该库被设计为与Gridap一起使用。Jl库提供了有限元方法的高级接口。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
Simple third order operator-splitting schemes for stochastic mechanics and field theory FeynGrav 4.0 WGrin: A Matlab toolbox for computing whispering gallery modes in graded index optical resonators GollumFit: An icecube open-source framework for binned-likelihood neutrino telescope analyses Enhancing photoionization rate calculations in low-temperature plasmas using spectral methods
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1