Matlab 中任意空间维度的高效 P1-FEM

IF 1 4区 数学 Q3 MATHEMATICS, APPLIED Computational Methods in Applied Mathematics Pub Date : 2024-01-24 DOI:10.1515/cmam-2022-0239
Stefanie Beuter, Stefan A. Funken
{"title":"Matlab 中任意空间维度的高效 P1-FEM","authors":"Stefanie Beuter, Stefan A. Funken","doi":"10.1515/cmam-2022-0239","DOIUrl":null,"url":null,"abstract":"This paper deals with the efficient implementation of the finite element method with continuous piecewise linear functions (P1-FEM) in <jats:inline-formula> <jats:alternatives> <m:math xmlns:m=\"http://www.w3.org/1998/Math/MathML\"> <m:msup> <m:mi mathvariant=\"double-struck\">R</m:mi> <m:mi>d</m:mi> </m:msup> </m:math> <jats:inline-graphic xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"graphic/j_cmam-2022-0239_ineq_0001.png\" /> <jats:tex-math>\\mathbb{R}^{d}</jats:tex-math> </jats:alternatives> </jats:inline-formula> (<jats:inline-formula> <jats:alternatives> <m:math xmlns:m=\"http://www.w3.org/1998/Math/MathML\"> <m:mrow> <m:mi>d</m:mi> <m:mo>∈</m:mo> <m:mi mathvariant=\"double-struck\">N</m:mi> </m:mrow> </m:math> <jats:inline-graphic xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"graphic/j_cmam-2022-0239_ineq_0002.png\" /> <jats:tex-math>d\\in\\mathbb{N}</jats:tex-math> </jats:alternatives> </jats:inline-formula>). Although at present there does not seem to be a very high practical demand for finite element methods that use higher-dimensional simplicial partitions, there are some advantages in studying the efficient implementation of the method independent of the dimension. For instance, it provides additional insights into necessary data structures and the complexity of implementations. Throughout, the focus is on an efficient realization using <jats:sc>Matlab</jats:sc> built-in functions and vectorization. The fast and vectorized <jats:sc>Matlab</jats:sc> function can be easily implemented in many other vector languages and is provided in Julia, too. The complete implementation of the adaptive FEM is given, including assembling stiffness matrix, building load vector, error estimation, and adaptive mesh-refinement. Numerical experiments underline the efficiency of our freely available code which is observed to be of a slightly more than linear complexity with respect to the number of elements when memory limits are not exceeded.","PeriodicalId":48751,"journal":{"name":"Computational Methods in Applied Mathematics","volume":"7 1","pages":""},"PeriodicalIF":1.0000,"publicationDate":"2024-01-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Efficient P1-FEM for Any Space Dimension in Matlab\",\"authors\":\"Stefanie Beuter, Stefan A. Funken\",\"doi\":\"10.1515/cmam-2022-0239\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper deals with the efficient implementation of the finite element method with continuous piecewise linear functions (P1-FEM) in <jats:inline-formula> <jats:alternatives> <m:math xmlns:m=\\\"http://www.w3.org/1998/Math/MathML\\\"> <m:msup> <m:mi mathvariant=\\\"double-struck\\\">R</m:mi> <m:mi>d</m:mi> </m:msup> </m:math> <jats:inline-graphic xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" xlink:href=\\\"graphic/j_cmam-2022-0239_ineq_0001.png\\\" /> <jats:tex-math>\\\\mathbb{R}^{d}</jats:tex-math> </jats:alternatives> </jats:inline-formula> (<jats:inline-formula> <jats:alternatives> <m:math xmlns:m=\\\"http://www.w3.org/1998/Math/MathML\\\"> <m:mrow> <m:mi>d</m:mi> <m:mo>∈</m:mo> <m:mi mathvariant=\\\"double-struck\\\">N</m:mi> </m:mrow> </m:math> <jats:inline-graphic xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" xlink:href=\\\"graphic/j_cmam-2022-0239_ineq_0002.png\\\" /> <jats:tex-math>d\\\\in\\\\mathbb{N}</jats:tex-math> </jats:alternatives> </jats:inline-formula>). Although at present there does not seem to be a very high practical demand for finite element methods that use higher-dimensional simplicial partitions, there are some advantages in studying the efficient implementation of the method independent of the dimension. For instance, it provides additional insights into necessary data structures and the complexity of implementations. Throughout, the focus is on an efficient realization using <jats:sc>Matlab</jats:sc> built-in functions and vectorization. The fast and vectorized <jats:sc>Matlab</jats:sc> function can be easily implemented in many other vector languages and is provided in Julia, too. The complete implementation of the adaptive FEM is given, including assembling stiffness matrix, building load vector, error estimation, and adaptive mesh-refinement. Numerical experiments underline the efficiency of our freely available code which is observed to be of a slightly more than linear complexity with respect to the number of elements when memory limits are not exceeded.\",\"PeriodicalId\":48751,\"journal\":{\"name\":\"Computational Methods in Applied Mathematics\",\"volume\":\"7 1\",\"pages\":\"\"},\"PeriodicalIF\":1.0000,\"publicationDate\":\"2024-01-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computational Methods in Applied Mathematics\",\"FirstCategoryId\":\"100\",\"ListUrlMain\":\"https://doi.org/10.1515/cmam-2022-0239\",\"RegionNum\":4,\"RegionCategory\":\"数学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"MATHEMATICS, APPLIED\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computational Methods in Applied Mathematics","FirstCategoryId":"100","ListUrlMain":"https://doi.org/10.1515/cmam-2022-0239","RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MATHEMATICS, APPLIED","Score":null,"Total":0}
引用次数: 0

摘要

本文论述了在 R d \mathbb{R}^{d} (d ∈ N din\mathbb{N} )中高效实现连续片断线性函数有限元方法(P1-FEM)。虽然目前对使用高维简单分区的有限元方法的实际需求似乎并不高,但研究独立于维数的方法的有效实现还是有一些优势的。例如,它为必要的数据结构和实现的复杂性提供了额外的见解。在整个过程中,重点是使用 Matlab 内置函数和矢量化来高效实现。快速的矢量化 Matlab 函数可以很容易地在许多其他矢量语言中实现,Julia 中也有提供。本文给出了自适应有限元的完整实现方法,包括装配刚度矩阵、构建载荷向量、误差估计和自适应网格细化。数值实验强调了我们免费提供的代码的效率,据观察,在不超过内存限制的情况下,该代码的复杂度略高于元素数量的线性关系。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Efficient P1-FEM for Any Space Dimension in Matlab
This paper deals with the efficient implementation of the finite element method with continuous piecewise linear functions (P1-FEM) in R d \mathbb{R}^{d} ( d N d\in\mathbb{N} ). Although at present there does not seem to be a very high practical demand for finite element methods that use higher-dimensional simplicial partitions, there are some advantages in studying the efficient implementation of the method independent of the dimension. For instance, it provides additional insights into necessary data structures and the complexity of implementations. Throughout, the focus is on an efficient realization using Matlab built-in functions and vectorization. The fast and vectorized Matlab function can be easily implemented in many other vector languages and is provided in Julia, too. The complete implementation of the adaptive FEM is given, including assembling stiffness matrix, building load vector, error estimation, and adaptive mesh-refinement. Numerical experiments underline the efficiency of our freely available code which is observed to be of a slightly more than linear complexity with respect to the number of elements when memory limits are not exceeded.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
2.40
自引率
7.70%
发文量
54
期刊介绍: The highly selective international mathematical journal Computational Methods in Applied Mathematics (CMAM) considers original mathematical contributions to computational methods and numerical analysis with applications mainly related to PDEs. CMAM seeks to be interdisciplinary while retaining the common thread of numerical analysis, it is intended to be readily readable and meant for a wide circle of researchers in applied mathematics. The journal is published by De Gruyter on behalf of the Institute of Mathematics of the National Academy of Science of Belarus.
期刊最新文献
Variational Approximation for a Non-Isothermal Coupled Phase-Field System: Structure-Preservation & Nonlinear Stability A Space-Time Finite Element Method for the Eddy Current Approximation of Rotating Electric Machines An Inverse Matrix Eigenvalue Problem for Constructing a Vibrating Rod On Error Estimates of a discontinuous Galerkin Method of the Boussinesq System of Equations Computational Methods in Applied Mathematics (CMAM 2022 Conference, Part 2)
×
引用
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