Gallery
This page collects screenshots and videos from various simulations based on MFEM.
Click thumbnails to open full-resolution images or simulation videos. Video captions include 🎬 and, when available, 🖼️ for a full-resolution still image.
Additional images can be found in the GLVis gallery.
A version of the MFEM logo demonstrating curvilinear elements, adaptive mesh refinement and (idealized) parallel partitioning. Visualization with GLVis.
Incompressible Taylor-Green vortex simulation with high-order finite elements. Visualization with ParaView.
Fibers generated by LDRB approach based on 4 Laplacian solves in the Cardioid project.
Solution of a Maxwell problem on a Klein bottle. Mesh generated with the klein-bottle miniapp. Solution with Example 3.
Comparisons of equipotential surfaces and force lines from Maxwell's Treatise on Electricity and Magnetism with results from MFEM's Volta miniapp.
Level surfaces in the interior of the solution from Example 1 on escher.mesh. Visualization with GLVis.
3D Arbitrary Lagrangian-Eulerian (ALE) simulation of a shock-triple point interaction with Q2-Q1 elements in the MFEM-based BLAST shock hydrodynamics code. Volume visualization with VisIt.
Modeling elastic-plastic flow in the 3D Taylor high-velocity impact problem using 4th-order mixed elements in the MFEM-based BLAST shock hydrodynamics code. Visualization with VisIt.
Poisson problem on a "Breather" surface. Mesh generated with the Mesh Explorer miniapp. Solution with Example 1.
Triple point shock interaction on 4 elements of order 12. Note the element curvature and the high variation of the field inside the lower right element.
Visualization of the electric field generated by the electrical wave on rabbit heart ventricles during depolarization of the heart. Image courtesy of Dennis Ogiermann, winner of the 2021 MFEM Visualization Contest.
Incompressible fluid flow around a rotating turbine using a space-time embedded-hybridized discontinuous Galerkin discretization. Image courtesy of Tamas Horvath, winner of the 2021 MFEM Visualization Contest. 🎬
Magnetic diffusion problem solved to compute the magnetic field induced by current running through copper wire in air. Image courtesy of Will Pazner, winner of the 2022 MFEM Visualization Contest. 🎬
Shock-bubble interaction using a property-preserving discontinuous Galerkin scheme, see book. Image courtesy of Hennes Hajduk, as part of the 2023 MFEM Visualization Contest. 🖼️ 🎬
Re=50,000 incompressible Navier-Stokes wall-resolved LES of a NACA 0012 airfoil in stall regime using MFEM's Navier miniapp. Image courtesy of Étienne Spieser, as part of the 2023 MFEM Visualization Contest. 🎬
Plane wave scattering from a cube using a DPG ultraweak formulation in MFEM to solve the time-harmonic linear acoustics equations. Image courtesy of Socratis Petrides, as part of the 2023 MFEM Visualization Contest. 🖼️ 🎬
Density-based topology optimization for a cantilever beam with the SiMPL method. Image courtesy of Dohyun Kim, as part of the 2024 MFEM Visualization Contest.
Shape interpolation between a torus and a bunny by computing their generalized Wasserstein barycenter. This barycenter is obtained by solving a mean-field optimal control problem. Image courtesy of Arjun Vijaywargiya, as part of the 2024 MFEM Visualization Contest. 🎬
Electric field distribution during a radiofrequency (RF) ablation procedure on an idealized intracardiac geometry. The simulation solves a Poisson problem across three heterogeneous domains using a nonoverlapping domain decomposition approach. Image courtesy of Leonardo Molinari, winner of the 2025 MFEM Visualization Contest.
Visualization of a two-dimensional incompressible flow past a cylinder with an attached deformable elastic beam. The simulation uses a strongly coupled partitioned fluid-structure interaction (FSI) solver. Image courtesy of Leonardo Molinari, as part of the 2025 MFEM Visualization Contest. 🖼️ 🎬
High-order fictitious domain thermal computation on a scan-based geometry: scan; immersed geometry; raw temperature gradient. Image courtesy of Grégory Legrain, winner of the 2026 MFEM Visualization Contest.
FSI simulation of semilunar heart valve dynamics under pulsatile blood flow using a VMS-stabilized immersed FSI formulation in the FEBio MFEM iFSI code. Image courtesy of Ryan Black, as part of the 2026 MFEM Visualization Contest. 🖼️ 🎬
Formation of three-dimensional scroll waves in a biventricular geometry following an S1–S2 cross-stimulation protocol. The simulation solves the anisotropic Monodomain model with Fenton–Karma kinetics on rule-based (LDRB) myocardial fibers. Image courtesy of Leonardo Molinari, as part of the 2026 MFEM Visualization Contest. 🖼️ 🎬
Streamlines of the magnetic field from a parallel computation of the magnetostatic interaction of two magnetic orbs. Visualization with VTK.
Test of the propagation of a spherical shock wave through a random non-conforming mesh in the MFEM-based BLAST shock hydrodynamics code. Visualization with GLVis.
Slice image of the high harmonic fast wave propagation in the NSTX-U magnetic fusion device. Computed using MFEM's 4th-order H(curl) elements by the RF-SciDAC project.
An electromagnetic eigenmode of a star-shaped domain computed with Example 13 using 3rd-order finite elements.
High-order multi-material inertial confinement fusion (ICF)-like implosion in the MFEM-based BLAST shock hydrodynamics code. Visualization with VisIt.
Two-region AMR mesh generated by the Shaper miniapp from successive adaptation to the outlines of Australia.
Radiating Kelvin-Helmholtz modeled with the MFEM-based BLAST shock hydrodynamics code. Volume visualization with VisIt.
Simulation-driven r-adaptivity using TMOP for a three-material high-velocity gas impact in BLAST. Visualization with VisIt. 🎬
The Shaper miniapp applied to multi-material input functions described by the iterates of the Mandelbrot set. Visualization with GLVis.
Topology optimization of a drone body using LLNL's LiDO project, based on MFEM.
Compressible Euler equations, Mach 3 flow around a cylinder in 2D, stabilized DG-P1 spatial discretization. Image courtesy of Hennes Hajduk, as part of the 2021 MFEM Visualization Contest.
Axisymmetric computation of an air flow in a tube with continuous Galerkin discretization. Image courtesy of Raphael Zanella, as part of the 2021 MFEM Visualization Contest. 🎬
Inviscid Kelvin-Helmholtz instability using high-order invariant domain preserving discontinuous Galerkin methods with convex limiting. Image courtesy of Will Pazner, as part of the 2021 MFEM Visualization Contest. 🎬
Compressible Euler in Lagrangian frame using the Laghos miniapp. Image courtesy of Vladimir Tomov, as part of the 2021 MFEM Visualization Contest. 🎬
Adaptive, implicit resistive MHD solver (from TDS-SciDAC) resolves multi-scale features of plasmoid instability. 🎬
Topology-optimized heat sink obtained by minimizing the thermal energy in a domain with constant internal heating. Image courtesy of Tobias Duswald, winner of the 2022 MFEM Visualization Contest. 🎬
Leapfrogging vortex rings using an incompressible Schrödinger fluid solver in MFEM. Image courtesy of John Camier, winner of the 2023 MFEM Visualization Contest. 🖼️ 🎬
Displacement distribution of a loaded excavator arm under static equilibrium using MFEM's API in an external library. Image courtesy of Mehran Ebrahimi, winner of the 2023 MFEM Visualization Contest.
Multi-component topology optimization with conformal meshes. Image courtesy of Mathias Schmidt, winner of the 2024 MFEM Visualization Contest. 🎬
Real-time Bayesian inference at extreme scale: A digital twin for tsunami early warning applied to the Cascadia subduction zone. Image courtesy of the Cascadia team, winners of the 2025 MFEM Visualization Contest. 🖼️ 🎬
Particles lighting up MFEM. The new particle framework is used to inject particles into the MFEM mesh at random positions and velocities, with perfectly elastic collisions to model interaction with domain boundaries. Visualization with Blender. Image courtesy of Ketan Mittal and Joe Signorelli. 🖼️ 🎬
Particle-laden fluid flow in a 2D bifurcated channel using the Navier miniapp in MFEM. Image courtesy of Joe Signorelli and Ketan Mittal, as part of the 2025 MFEM Visualization Contest. 🎬
Video of temperature and vorticity evolution in the 2D Rogers-Ricci model in a cross-section of a linear plasma device. Image courtesy of Henrique Bergallo Rocha, winner of the 2026 MFEM Visualization Contest. 🖼️ 🎬
Dynamic rupture and acoustic–gravity simulations of the 2011 Tōhoku–Oki earthquake in the Japan Trench. Image courtesy of Stefan Henneking, as part of the 2026 MFEM Visualization Contest. 🖼️ 🎬
Spectral Fresnel holograms and diffraction grating of the MFEM and GLVis logos. Image courtesy of John Camier, as part of the 2026 MFEM Visualization Contest. 🖼️ 🎬
Electric field induced by an MRI gradient coil in a human body. Simulation by the Magnetic Resonance Physics and Instrumentation Group at Harvard Medical School.
Multi-mode Rayleigh-Taylor instability simulation using 4th-order mixed elements in the MFEM-based BLAST shock hydrodynamics code. Visualization with VisIt.
Purely Lagrangian Rayleigh-Taylor instability simulation using 8th-order mixed elements in the MFEM-based BLAST shock hydrodynamics code. Visualization with GLVis.
Anisotropic refinement in a 2D shock-like AMR test problem. Visualization with GLVis.
Parallel version of Example 1 on 100 processors with a relatively coarse version of square-disc.mesh. Visualization with GLVis.
Anisotropic refinement in a 3D version of the AMR test. Portion of the spherical domain is cut away in GLVis.
Structural topology optimization with MFEM in LLNL's Center for Design and Optimization.
Test of the anisotropic refinement feature on a random mesh. A slightly modified version of Example 1. Visualization with GLVis.
Level lines in a cutting plane of the solution from the parallel version of Example 1 on 64 processors with fichera.mesh. Visualization with GLVis.
Cut image of the solution from Example 1 on a sharply twisted, high-order toroidal mesh. The mesh was generated with the toroid miniapp.
Cut image of an induction coil mesh and three sub-meshes created with the Trimmer miniapp. Visualization with VisIt.
Viscoelastic flow of blood through an artery with aneurysm modeled by the Hookean dumbbell model discretized with BCF-method (Navier-Stokes+SUPG). Image courtesy of Andreas Meier, as part of the 2021 MFEM Visualization Contest.
Visualization of time-averaged mean flow from a compressible, DG Navier-Stokes solver using MFEM modeling a plasma torch. Image courtesy of Karl W. Schulz, as part of the 2021 MFEM Visualization Contest.
Streamlines of the electric field generated by a current dipole source located in the temporal lobe of an epilepsy patient. Image courtesy of Ben Zwick, winner of the 2022 MFEM Visualization Contest.
Flow through a periodic gyroid microcell, using the MFEM Navier miniapp with additional Brinkman penalization. Image courtesy of Mathias Schmidt, as part of the 2022 MFEM Visualization Contest.
Turbulence effect of the Kelvin-Helmholtz instability in tokamak edge plasma using an MHDeX code developed at LLNL. Image courtesy of Milan Holec, as part of the 2023 MFEM Visualization Contest. 🎬
Topology optimization with conformal meshes to maximize beam stiffness under a downward force on the right wall. Image courtesy of Ketan Mittal and Mathias Schmidt, as part of the 2023 MFEM Visualization Contest. 🖼️ 🎬
Penrose unilluminable room appears rather illuminable in 3D (at least when constructed as a solid of revolution). Image courtesy of Amit Rotem, as part of the 2023 MFEM Visualization Contest.
Heat flux magnitude in a convection - (anisotropic) diffusion simulation with MFEM text as the initial temperature profile. A single implicit step of the HDG scheme was used. Image courtesy of Jan Nikl, winner of the 2024 MFEM Visualization Contest.
Conservative and bounded remap of Lagrangian hydrodynamics to a uniform mesh with Laghos and Remhos. Image courtesy of Vladimir Tomov, as part of the 2025 MFEM Visualization Contest.
Layered spherical shell compressed by half-elliptical beams, modeled as a nonlinear Neo-Hookean solid. Contact constraints are provided by Tribol, enforced with an Interior Point method, and linear systems solved by AMGF-preconditioned PCG. Image courtesy of Socratis Petrides, as part of the 2025 MFEM Visualization Contest. 🖼️ 🎬
Linear elastic letters pushed into a soft block, solved via an AMGF-Schwarz preconditioner tailored to the contact constraints. Image courtesy of Max Paik, as part of the 2026 MFEM Visualization Contest.
Acoustic scattering off of the hull of a submarine computed using WaveHoltz in MFEM with high-order elements. Visualization with ParaView. Image courtesy of Amit Rotem, as part of the 2026 MFEM Visualization Contest.
Particle tracing in a Taylor tokamak equilibrium with ITER geometry, simulated using the Lorentz miniapp in MFEM. The equilibrium magnetic field is represented with an H(curl)-conforming finite element discretization, obtained using the GS solver and GS-to-MHD transfer, while particle trajectories are advanced using the Boris algorithm. The simulation captures both passing and trapped particles, with the latter exhibiting characteristic banana orbits. Image courtesy of Rushan Zhang, as part of the 2026 MFEM Visualization Contest. 🖼️ 🎬






































































