Categories / Numerical libraries

MFEM

Lightweight high-order finite element library with GPU support.

Who owns it

Lawrence Livermore National LaboratoryMFEM

Made by Lawrence Livermore National Laboratory, founded 1952 (US).

Open source (BSD-3-Clause).

What it does

A free programming library for writing simulation software that splits a shape into many small pieces (the finite element method) for accurate results; it can run on graphics cards for speed.

Kind of software: Numerical libraries

Its files

A C++ finite element library that programs call; its Mesh class also reads CUBIT Genesis and Netgen meshes and can save VTKHDF output.

Opens Gmsh MSH, VTK legacy, VTK XML.

Writes VTK legacy, VTK XML, Exodus II, HDF5.

Where it fits
  1. Requirements and architecture
  2. Design
  3. Analysis
  4. Optimization
  5. Manufacturing
  6. Test and validation
  7. Lifecycle and operations

A programmer builds a simulation code on MFEM, using hypre to solve its equations, reads a Gmsh or VTK mesh (the grid of small pieces), and writes results as VTK, Exodus II or HDF5 files that visualization tools open.

MFEM saves its own files as .mesh, but we have no sample of its own files we may share yet. Here is VTK legacy, a format it exports. This sample is the site's own test file, made for this site with meshio 5.3.5, not one made with MFEM.

bracket.vtk 126 KB

Loading the example...

Legacy VTK ASCII unstructured grid of the bracket tetrahedra. One point field, z_height_mm (each node's height), so the file has data to plot; it is not a simulation result. CC0-1.0.

Stack

How the layers fit: a platform is software other applications run on and share data through; applications are what engineers work in; a geometry kernel is the engine inside an application that builds and edits shapes, and other components handle constraints or solving.

Applications
Kernels and components used by these

How it relates

MFEM is a programming library that simulation software is built from.

Who makes it

The company that sells it, and where it was first developed.

What it is built on

Components inside it: a geometry kernel is the engine that builds and edits shapes; other components handle constraints, translation or solving.

  • MFEM is built on hypre.

How is MFEM related to something else?

Details

Vendor
Lawrence Livermore National Laboratory
Category
Numerical libraries in Simulation
Workflow stages
Analysis
License
Open source, BSD-3-Clause
First release
2010
Status
Active
Website
mfem.org

Built on

Formats 5

FormatExtensionsReadsWritesExample
Exodus II .exo .e Yes Download
Gmsh MSH .msh Yes Download
HDF5 .h5 .hdf5 Yes Download
VTK legacy .vtk Yes Yes Download
VTK XML .vtu .vtp .vti .vtm .pvd Yes Yes Download

Major documented formats only; most tools support more through add-ons or translators.

Sources

As of 2026-11-22.

Something wrong or out of date? Edit this record or report a problem.