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
-
- Requirements and architecture
- Design
- Analysis
- Optimization
- Manufacturing
- Test and validation
- 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.
Loading the example...
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.
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.
- MFEM is made and sold by Lawrence Livermore National Laboratory.
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.
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
- hypreopen source
Formats 5
| Format | Extensions | Reads | Writes | Example |
|---|---|---|---|---|
| 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.
- official page: https://mfem.org/
- MFEM: Mesh formats: https://mfem.org/mesh-formats/
- MFEM API: Mesh class: https://docs.mfem.org/html/classmfem_1_1Mesh.html
Something wrong or out of date? Edit this record or report a problem.