arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.05709math.OC
收藏

FormOpt:基于水平集的形状优化工具箱,支持并行计算

FormOpt: A FEniCSx toolbox for level set-based shape optimization supporting parallel computing

Faculty of Mathematics, University of Duisburg-Essen(杜伊斯堡-埃森大学数学学院)

Josué D. Díaz-Avalos, Antoine Laurain

AI总结:

FormOpt是一个基于水平集的形状优化工具箱,支持并行计算,采用分布式形状导数和张量表示,提升计算效率。

摘要:

本文介绍了FormOpt工具箱,用于二维和三维形状优化,并具备并行计算能力,基于FEniCSx软件框架。我们介绍了形状灵敏度分析的基本概念及其数值应用,主要出于教育目的,同时强调通过并行计算提高计算效率。我们采用基于分布式形状导数及其张量表示的优化后离散策略,遵循\cite{MR3843884}的方法,并在多个方向上进行了扩展。数值形状建模依赖于水平集方法,其演化由从形状导数计算出的下降方向驱动。几何约束通过近端扰动拉格朗日方法准确处理。FormOpt利用FEniCSx的强大功能,特别是其支持偏微分方程的弱形式、多种有限元类型和可扩展的并行计算。实现支持三种不同的并行计算模式:数据并行、任务并行和混合模式。数据并行利用FEniCSx的网格划分功能,我们实现了任务并行模式,该模式适用于由一组具有不同参数的偏微分方程所支配的问题。混合模式方便地结合了两种策略,以实现计算资源的高效利用。

英文摘要:

This article presents the toolbox FormOpt for two- and three-dimensional shape optimization with parallel computing capabilities, built on the FEniCSx software framework. We introduce fundamental concepts of shape sensitivity analysis and their numerical applications, mainly for educational purposes, while also emphasizing computational efficiency via parallelism for practitioners. We adopt an optimize-then-discretize strategy based on the distributed shape derivative and its tensor representation, following the approach of \cite{MR3843884} and extending it in several directions. The numerical shape modeling relies on a level set method, whose evolution is driven by a descent direction computed from the shape derivative. Geometric constraints are treated accurately through a Proximal-Perturbed Lagrangian approach. FormOpt leverages the powerful features of FEniCSx, particularly its support for weak formulations of partial differential equations, diverse finite element types, and scalable parallelism. The implementation supports three different parallel computing modes: data parallelism, task parallelism, and a mixed mode. Data parallelism exploits FEniCSx's mesh partitioning features, and we implement a task parallelism mode which is useful for problems governed by a set of partial differential equations with varying parameters. The mixed mode conveniently combines both strategies to achieve efficient utilization of computational resources.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑