Skip to main content

Python interface utilities for FEMM simulations

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py2femm-0.1.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py2femm-0.1.0-py3-none-any.whl (35.5 kB view details)

Uploaded Python 3

File details

Details for the file py2femm-0.1.0.tar.gz.

File metadata

  • Download URL: py2femm-0.1.0.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.6 Linux/6.8.0-101-generic

File hashes

Hashes for py2femm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f74d2c78bf4410f4d8810ccbf06fb38ca38a98c0d7117a963e342bea6df36b2a
MD5 18721aea5c42146f9fb7de68ee2ce3f6
BLAKE2b-256 3530a84685f6545a752f922e0320f51b3a08fd666d3a995f92eadc7510d23d99

See more details on using hashes here.

File details

Details for the file py2femm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: py2femm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.9.6 Linux/6.8.0-101-generic

File hashes

Hashes for py2femm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5af50661f45bcc51a8e8d7f0f82516a53e9daa456e3083d7cce9b21eb3f17b7
MD5 febfc474b1c2784b46f9ec1a845f343b
BLAKE2b-256 98ec7aeea118200423c5269b5dabec3b575d40e2e6946ff545f54e1299931a1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page