Cargando…

Fully and semi-automated shape differentiation in NGSolve

In this paper, we present a framework for automated shape differentiation in the finite element software NGSolve. Our approach combines the mathematical Lagrangian approach for differentiating PDE-constrained shape functions with the automated differentiation capabilities of NGSolve. The user can de...

Descripción completa

Detalles Bibliográficos
Autores principales: Gangl, Peter, Sturm, Kevin, Neunteufel, Michael, Schöberl, Joachim
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Springer Berlin Heidelberg 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8550642/
https://www.ncbi.nlm.nih.gov/pubmed/34776815
http://dx.doi.org/10.1007/s00158-020-02742-w
_version_ 1784590997794062336
author Gangl, Peter
Sturm, Kevin
Neunteufel, Michael
Schöberl, Joachim
author_facet Gangl, Peter
Sturm, Kevin
Neunteufel, Michael
Schöberl, Joachim
author_sort Gangl, Peter
collection PubMed
description In this paper, we present a framework for automated shape differentiation in the finite element software NGSolve. Our approach combines the mathematical Lagrangian approach for differentiating PDE-constrained shape functions with the automated differentiation capabilities of NGSolve. The user can decide which degree of automatisation is required, thus allowing for either a more custom-like or black-box–like behaviour of the software. We discuss the automatic generation of first- and second-order shape derivatives for unconstrained model problems as well as for more realistic problems that are constrained by different types of partial differential equations. We consider linear as well as nonlinear problems and also problems which are posed on surfaces. In numerical experiments, we verify the accuracy of the computed derivatives via a Taylor test. Finally, we present first- and second-order shape optimisation algorithms and illustrate them for several numerical optimisation examples ranging from nonlinear elasticity to Maxwell’s equations. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1007/s00158-020-02742-w.
format Online
Article
Text
id pubmed-8550642
institution National Center for Biotechnology Information
language English
publishDate 2020
publisher Springer Berlin Heidelberg
record_format MEDLINE/PubMed
spelling pubmed-85506422021-11-10 Fully and semi-automated shape differentiation in NGSolve Gangl, Peter Sturm, Kevin Neunteufel, Michael Schöberl, Joachim Struct Multidiscipl Optim Educational Paper In this paper, we present a framework for automated shape differentiation in the finite element software NGSolve. Our approach combines the mathematical Lagrangian approach for differentiating PDE-constrained shape functions with the automated differentiation capabilities of NGSolve. The user can decide which degree of automatisation is required, thus allowing for either a more custom-like or black-box–like behaviour of the software. We discuss the automatic generation of first- and second-order shape derivatives for unconstrained model problems as well as for more realistic problems that are constrained by different types of partial differential equations. We consider linear as well as nonlinear problems and also problems which are posed on surfaces. In numerical experiments, we verify the accuracy of the computed derivatives via a Taylor test. Finally, we present first- and second-order shape optimisation algorithms and illustrate them for several numerical optimisation examples ranging from nonlinear elasticity to Maxwell’s equations. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1007/s00158-020-02742-w. Springer Berlin Heidelberg 2020-11-05 2021 /pmc/articles/PMC8550642/ /pubmed/34776815 http://dx.doi.org/10.1007/s00158-020-02742-w Text en © The Author(s) 2020, corrected publication 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Educational Paper
Gangl, Peter
Sturm, Kevin
Neunteufel, Michael
Schöberl, Joachim
Fully and semi-automated shape differentiation in NGSolve
title Fully and semi-automated shape differentiation in NGSolve
title_full Fully and semi-automated shape differentiation in NGSolve
title_fullStr Fully and semi-automated shape differentiation in NGSolve
title_full_unstemmed Fully and semi-automated shape differentiation in NGSolve
title_short Fully and semi-automated shape differentiation in NGSolve
title_sort fully and semi-automated shape differentiation in ngsolve
topic Educational Paper
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8550642/
https://www.ncbi.nlm.nih.gov/pubmed/34776815
http://dx.doi.org/10.1007/s00158-020-02742-w
work_keys_str_mv AT ganglpeter fullyandsemiautomatedshapedifferentiationinngsolve
AT sturmkevin fullyandsemiautomatedshapedifferentiationinngsolve
AT neunteufelmichael fullyandsemiautomatedshapedifferentiationinngsolve
AT schoberljoachim fullyandsemiautomatedshapedifferentiationinngsolve