arrow
Return

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

delete2026-09-01
delete0
PRE
AI
J
Josué D. Díaz-Avalos *
A
Antoine Laurain
DOI:10.1016/j.finel.2026.104597delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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 presented in A level set-based structural optimization code using FEniCS (Laurain, 2018) 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.
Keywords:
Shape optimization
Distributed shape derivative
Level set method
FEniCSx
Parallel computing

Journal

Finite Elements in Analysis and Design cover
Finite Elements in Analysis and Design
IF:
3.5
Papers:
2.6K
Citations:
5.1K

Organization

U
university of duisburg essen
Scholars:
232
Papers: 73
Citations: 0
Cited Papers

Cited Papers

No cited papers available