MetaFEM: A Generic FEM Solver By Meta-expressions

Jiaxi Xie, Kornel Ehmann, Jian Cao
11/5/2021
math.NAcs.MS

Official code: jxx2/MetaFEM.jl (18 stars, Julia, last commit 2023-07-21).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

jxx2/MetaFEM.jlOfficial100%

A generic FEM solver by meta-expressions

181JuliaOct 5, 20213 years ago

Similar Papers

Cite this paper

@article{xie2021metafem,
  title  = {MetaFEM: A Generic FEM Solver By Meta-expressions},
  author = {Jiaxi Xie and Kornel Ehmann and Jian Cao},
  year   = {2021},
  eprint = {2111.03541},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.03541}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.03541.svg)](https://codeofpaper.com/paper/2111.03541)

Discussion