Skip to main content

PyPEEC - 3D PEEC Solver

Project description

PyPEEC - 3D PEEC Solver

Summary

PyPEEC is a 3D quasi-magnetostatic field solver with the following characteristics:

  • PEEC method with FFT acceleration
  • Representation of the geometry with 3D voxels
  • Multithreading and GPU acceleration are available
  • Fast with moderate memory requirements
  • Import the geometry from STL, PNG, and GERBER files
  • Draw the geometry with stacked 2D vector shapes or voxel indices
  • Pure Python implementation
  • Can be used from the command line
  • Can be used with Jupyter notebooks
  • Advanced plotting capabilities

PyPEEC solves the following 3D quasi-magnetostatic problems:

  • Frequency domain solution (DC and AC)
  • Conductive and magnetic domains (ideal or lossy)
  • Connection of current and voltage sources
  • Extraction of the loss and energy densities
  • Extraction of the current density, flux density, and potential
  • Extraction of the terminal voltage, current, and power
  • Computation of the free-space magnetic field

PyPEEC has the following limitations:

  • No capacitive effects
  • No dielectric domains
  • No advanced boundaries conditions
  • No model order reduction techniques
  • Limited to voxel geometries

The PyPEEC package contains the following tools:

  • mesher: create a 3D voxel structure from STL or PNG files
  • viewer: visualization of the 3D voxel structure
  • solver: solver for the magnetic field problem
  • plotter: visualization of the problem solution

Documentation

Screenshot

summary

Credits

The FFT-accelerated PEEC method with voxels has been first described and implemented in:

Other interesting papers and codes about similar methods:

  • A. Yucel, IEEE TMTT, 10.1109/TMTT.2017.2785842, 2018
  • P. Bettini, IOP, 10.1088/1361-6587/abce8f, 2020
  • N. Marconato, ICECCME, 10.1109/ICECCME52200.2021.9590864, 2021
  • A. Yucel, https://github.com/acyucel/VoxHenry

Project Links

Author

Copyright

(c) 2023 - Thomas Guillod - Dartmouth College

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

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

pypeec-4.0.0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

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

pypeec-4.0.0-py3-none-any.whl (123.1 kB view details)

Uploaded Python 3

File details

Details for the file pypeec-4.0.0.tar.gz.

File metadata

  • Download URL: pypeec-4.0.0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pypeec-4.0.0.tar.gz
Algorithm Hash digest
SHA256 3e9663f81cf87b27103b41c9abd47179a73433bfd8e66d537bd9b1040b7fe4cb
MD5 09d500c0fed1d68b30119c943cd46633
BLAKE2b-256 783c068636339d0090757cc4d82f037e128e8ea7f0bb0f26767c5aed2995d29d

See more details on using hashes here.

File details

Details for the file pypeec-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: pypeec-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 123.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pypeec-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7324665d515583e8a4eb37ec0ed17fbc2a6e62cbeb83c84528bbc90906ecb384
MD5 e6e5f0130fa23557235a54dd94a60d46
BLAKE2b-256 0bbaa09c685a9a7f9e72b7ba0c050eb3c60fe4f1839c436d16371f7132e0a083

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