Skip to content

tamasorosz/py2femm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

410 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py2femm

This library aims to provide a dockerizable, Python-based interface for FEMM, a popular finite element method-based solver. It provides a GUI to solve two-dimensional electromagnetic and thermal problems. It has an officially supported python interface (pyFEMM). However, it works under Windows systems only.
It is possible to run FEMM under Linux operating systems with Wine. However, it does not support the ActiveX interface, which was used by the original solution.

This project provides a simplified file-based interface for FEMM, which can be used with Wine and under Linux operating systems. This interface generates a lua file, which the original interpreter of FEMM can use. However, this interface differs from the original command set in the following points:

  • The geometry description is separated from the fields; therefore, if we describe the geometry for a 2D magnetic model, we can use the same description of the part to create the thermal model.

  • Some new commands are introduced, which execute the combination of some straightforward commands.

  • Provides an Ubuntu-based dockerized environment to execute the simulations consistently.

Geometry generation commands

The geometry class contains Node, Line and CircleArc objects. All of the possible modelled geometries should be described by using these geometrical objects.

About

An alternative library to run FEMM simulations under windows or linux environments, as well.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages