xfemm Icon


Cross platform electromagnetics finite element analyisis based on FEMM

5.0 Stars (1)
27 Downloads (This Week)
Last Update:
Download xfemm_v1_9_linux64.tar.gz
Browse All Files
Windows Mac Linux



Cross platform electromagnetics finite element analysis code, with very tight integration with Matlab/Octave.

xfemm is a refactoring of the core algorithms of the popular Windows-only FEMM (Finite Element Method Magnetics, www.femm.info) to use only the standard template library and therefore be cross-platform. The codes can be used as a library, standalone executables, or through the advanced Matlab/Octave interface, which uses direct data exchange at the memory level rather than the original FEMM ActiveX or file-based interface, for much improved communication speed.

If you use xfemm, particularly for industrial work, but also academic, it will be greatly appreciated if you could write an email stating this and how it has supported your work. This is a low-cost way to ensure further development and maintenance will continue! Contact me on the discussion forum for more information.

xfemm Web Site


  • 2D Electromagnetic Finite Element Analysis
  • Cross-Platform
  • Advanced Matlab/Octave Interface
  • Write FEMM .fem files direct from Matlab/Octave


User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    I previously used FEMM for magnetic modelling - a useful tool for interactive modelling of machines (both rotary and linear) in 2D. However, when it came to running multiple designs through FEMM it started to become a bit messy. This is where xfemm helps. It allows easy communication to magnetic modelling from MATLAB and ideally fits inside an optimisation routine for fast simulation of lots and lots of designs. It can be a little hard to diagnose issues, but it's not hard to open the occasional design up in FEMM for looking at what is going on. The downside is that it has been a little tricky to setup due to running a Windows environment, but I got there in the end by carefully setting up the required packages (Cmake, mingw64, gnumex, MATLAB) and using the built in mfemm_setup script. Given the work that has gone into this project, by one person, I think it is fantastic that is freely available and updated.

    Posted 06/23/2015
Read more reviews

Additional Project Details

Intended Audience

Developers, End Users/Desktop

User Interface


Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks