Open Source Tools for Finite Element Analysis

Table of Contents

fea_intro_purp.png

Figure 1: Output of FEniCSx solver captured using raymarching in ParaView.

Github link: https://github.com/mtrpdx/aurora

NOTICE: This article is a work-in-progress as I experiment with Org mode > LaTeX > HTML output.

Introduction

This year I developed a habit of browsing the DARPA solicitations from time to time. I came across a solicitation for a study on the feasibility of ``Acoustic-based UAS Rainbow Oscillation Refraction Architecture,“ and this intrigued me. There was a link to a 2025 Science article [1] that describes a method of designing homogeneous 3D structures for desired acoustic properties through the power of applied topological optimization techniques. Christiansen et al. show that they were able to use these designed structures to separate wide-bandwidth noise into spatially-separated frequency bands at above-unity efficiency. The DARPA solicitation called for studies into the feasibility of this technique applied to drone noise, to design structures or materials that could help drones communicate information like position or velocity with each other passively through the spatial separation and direction of their broadband propeller noise. Upon an initial glance, this problem appeared to me possible to explore, at least in simulation.

Methodology

Before extending the application of acoustic morphogenesis to the domain of drone communication, a necessary step is to reproduce the results in [1]. The supplemental materials provide a .png image of the bitmap acoustic rainbow emitter (ARE) structure (Figure fig:AREdesign). This design resulted from iterative 2D topological optimization, with distance from the desired acoustic properties used as a loss function [1]. This optimal 2D design is optimal in the sense that it optimally minimizes the loss function. It is not the only possible structure; there are infinitely many solutions which can then be extruded and used for 3D simulation, additive manufacturing (3D printing), and physical measurement in an anechoic environment. Some solution structures may be easier to manufacture or test than other structures, so it is possible that incorporating this aspect into the loss function in the form of a term that encourages simpler structures may prove to be beneficial. The main simulation tool that [1] uses is a finite element solver and analysis suite called COMSOL Multiphysics. Seeking open source alternatives, I open a browser window and search for finite element analysis software [2], [3], [4].

Unfortunately, what might have been a straightforward simulation in COMSOL becomes an increasingly deep rabbit hole. A flash of consciousness. I look at the clock, it is three AM and I have one hundred and seventy-one tabs open. I emerge from a stupor a three months later, with a set of tools under my belt and a vague sense of how they fit together, but why have I chosen these tools exactly? Or have they chosen me? I decide it could be worthwhile to document the exploration of the different options available to me [5], [6], [7], [8], [9], [10].

ARE_Design_BITMAP.png

Figure 2: ARE design bitmap

To fully reproduce the results in [1], I have to solve both the 2D optimization and the acoustic finite element simulation problems, so this is easily broken down into two tasks, with multiple ways to accomplish each:

  1. 2D optimization
  2. 3D acoustic finite element simulation

I decide to tackle the second task first, since I will use the simulation to verify the results of the optimization task.

Finite Element Analysis Roadmap

References

[1]
R. E. Christiansen, E. Fernandez-Grande, and O. Sigmund, “Morphogenesis of sound creates acoustic rainbows,” Science advances, vol. 11, no. 24, 2025, doi: 10.1126/sciadv.ads7497.
[2]
“List of finite element software packages.” Available: https://en.wikipedia.org/wiki/List_of_finite_element_software_packages
[3]
[4]
“FEA-Compare.” Available: https://github.com/kostyfisik/FEA-compare
[5]
C. Cantwell et al., “Nektar++: An open-source spectral/hp element framework,” Computer physics communications, vol. 192, pp. 205–219, 2015, doi: https://doi.org/10.1016/j.cpc.2015.02.008.
[6]
I. A. Baratta et al., “DOLFINx: the next generation FEniCS problem solving environment,” 2023, preprint. doi: 10.5281/zenodo.10447666.
[7]
D. Arndt et al., “The deal.ii library, version 9.7,” Journal of numerical mathematics, vol. 33, no. 4, pp. 403–415, 2025, doi: 10.1515/jnma-2025-0115.
[8]
L. Harbour et al., “4.0 MOOSE: Enabling massively parallel multiphysics simulation,” Softwarex, vol. 31, p. 102264, 2025, doi: https://doi.org/10.1016/j.softx.2025.102264.
[9]
H. G. Weller, G. Tabor, H. Jasak, and C. Fureby, “A tensorial approach to computational continuum mechanics using object-oriented techniques,” Computers in physics, vol. 12, no. 6, 1998.
[10]
M. Malinen and P.} {Råback, “Elmer finite element solver for multiphysics and multiscale problems,” in Multiscale modelling methods for applications in material science, I. Kondov and G. Sutmann, Eds., 2013, pp. 101–113.