Generating Finite Element Codes combining Adaptive Octrees with Complex Geometries

05/30/2023
by   Eric Heisler, et al.
0

We present a high-level domain-specific language (DSL) interface to drive an adaptive incomplete k-d tree-based framework for finite element (FEM) solutions to PDEs. This DSL provides three key advances: (a) it abstracts out the complexity of implementing non-trivial FEM formulations, (b) it simplifies deploying these formulations on arbitrarily complicated and adaptively refined meshes, and (c) it exhibits good parallel performance. Taken together, the DSL interface allows end-users to rapidly and efficiently prototype new mathematical approaches, and deploy them on large clusters for solving practical problems. We illustrate this DSL by implementing a workflow for solving PDEs using the recently developed shifted boundary method (SBM). The SBM requires approximating relatively complicated integrals over boundary surfaces. Using a high-level DSL greatly simplifies this process and allows rapid exploration of variations. We demonstrate these tools on a variety of 2-D and 3-D configurations. With fewer than 20 lines of input, we can produce a parallel code that scales well to thousands of processes. This generated code is made accessible and readable to be easily modified and hand-tuned, making this tool useful even to experts with the target software.

READ FULL TEXT

page 4

page 8

page 9

research
09/27/2022

IFISS3D: A computational laboratory for investigating finite element approximation in three dimensions

IFISS is an established MATLAB finite element software package for study...
research
08/31/2023

Bringing PDEs to JAX with forward and reverse modes automatic differentiation

Partial differential equations (PDEs) are used to describe a variety of ...
research
11/01/2021

Escaping the abstraction: a foreign function interface for the Unified Form Language [UFL]

High level domain specific languages for the finite element method under...
research
05/02/2016

High level implementation of geometric multigrid solvers for finite element problems: applications in atmospheric modelling

The implementation of efficient multigrid preconditioners for elliptic p...
research
03/03/2022

MooAFEM: An object oriented Matlab code for higher-order adaptive FEM for (nonlinear) elliptic PDEs

We present an easily accessible, object oriented code (written exclusive...
research
08/08/2021

Scalable adaptive PDE solvers in arbitrary domains

Efficiently and accurately simulating partial differential equations (PD...
research
10/06/2022

A Unified Hard-Constraint Framework for Solving Geometrically Complex PDEs

We present a unified hard-constraint framework for solving geometrically...

Please sign up or login with your details

Forgot password? Click here to reset