arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.03541math.NAcs.MScs.NA
收藏

MetaFEM:基于元表达式的通用FEM求解器

MetaFEM: A Generic FEM Solver By Meta-expressions

Jiaxi Xie, Kornel Ehmann, Jian Cao

摘要:

当前的多物理场有限元法(FEM)求解器在其数学复杂性和代码行方面是复杂的系统。本文提出了一个骨架通用有限元求解器,名为MetaFEM,共约5,000行Julia代码,它将通用输入偏微分方程(PDE)弱形式转换为相应的GPU加速模拟,语法类似于FEniCS或FreeFEM。MetaFEM与普通求解器的区别在于两种新方法:(1)FEM内核基于显式处理元表达式的原始理论/算法,顾名思义,以及(2)符号引擎是基于规则的计算机代数系统(CAS),即,根据一组重写规则重写/导出方程,而不是经历完全固定的例程,从而支持开发者的容易定制。在热传导,线弹性和不可压缩流的例子来证明实用程序。

英文摘要:

Current multi-physics Finite Element Method (FEM) solvers are complex systems in terms of both their mathematical complexity and lines of code. This paper proposes a skeleton generic FEM solver, named MetaFEM, in total about 5,000 lines of Julia code, which translates generic input Partial Differential Equation (PDE) weak forms into corresponding GPU-accelerated simulations with a grammar similar to FEniCS or FreeFEM. Two novel approaches differentiate MetaFEM from the common solvers: (1) the FEM kernel is based on an original theory/algorithm which explicitly processes meta-expressions, as the name suggests, and (2) the symbolic engine is a rule-based Computer Algebra System (CAS), i.e., the equations are rewritten/derived according to a set of rewriting rules instead of going through completely fixed routines, supporting easy customization by developers. Example cases in thermal conduction, linear elasticity and incompressible flow are presented to demonstrate utility.

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

↑