Skip to main content

Mode solver for photonic and electric waveguides based on FEM

Project description

Femwell

logo

Docs Build PiPy Downloads

Welcome to FEMWELL!

FEMWELL is a physics simulation tool that utilises the Finite Element Method (FEM). With FEMWELL, you can simulate integrated circuits, electronic and photonic systems, and so much more. The project is created to provide an Open-Source FEM solver. You are welcome to contribute to FEMWELL or just use it. Any feedback and input are valuable and will make FEMWELL better!

What is a FEM simulation?

FEM is a method to solve various types of differential equations that appear in physics, maths or engineering. FEM methods are used when describing how fields behave in an inhomogeneous setting, for example are electromagnetic fields in structured matter described by Maxwell’s equations. FEM uses a mesh to discretize the space and solve Maxwell’s equations via these “finite elements”.

A FEM simulation typically involves the following steps:

  1. Discretization (or Meshing) of the structure
  2. Calculation of the problem in each element
  3. Assembly accounting for boundary conditions between the elements
  4. Solution via iterative solvers or direct solution methods

FEM can be applied to various problems, from Maxwell’s equations to fluid simulation, heat transport or structural analysis.

What is special about FEMWELL?

First and foremost: FEMWELL is open source! You can just use FEMWELL, you can contribute to FEMWELL and you can modify FEMWELL to fit your specific problem.

At the moment we focus on photonic and electronic problems, meaning we concentrate on solving Maxwell’s equation. This is useful to understand the physics in modern devices used in classical or quantum computing technologies.

We are actively working on extending FEMWELL to address other questions. You can find a list of examples below.

How can I use FEMWELL?

The simplest thing it to try out the examples in the browser! Hover the rocket at the top on the example pages and click live code. (Might take some time to load). For more involved calculations, we recommend installing FEMWELL following the instructions. If you can to improve FEMWELL, please get in touch with us. We are looking forward to your contributions!

Please note:

The documentation is lagging behind the state of code, so there's several features for which there are only examples in the code.

Features

  • Photonic eigenmode solver
  • Periodic photonic eigenmode solver
  • Electric eigenmode solver
  • Thermal mode solver (static and transient)
  • Coulomb solver

Possible Simulations

Photonic problems

  • Eigenmodes of waveguides and determining their effective refractive index
  • Coupling between neighboring waveguides
  • Eigenmodes of bent waveguides
  • Propagation loss of circular bends and mode mismatch loss with straight waveguides
  • Calculation of the group velocity and its dispersion
  • Calculation of overlap-integrals and confinement-factors
  • Bragg grating cells
  • Grating coupler cells
  • Overlap integrals between waveguide modes
  • Overlap integral between a waveguide mode and a fiber mode
  • Coupled mode theory - coupling between adjacent waveguides
  • Heat based photonic phase shifters
  • Pockels based photonic phase shifters
  • PN junction depletion modulator (analytical)

Heat transport

  • Static thermal profiles
  • Transient thermal behavior

Electronics problems

  • Coplanar waveguide RF design
  • Eigenmode of a coaxial cable and its specific impedance
  • Eigenmodes of electric transmission lines and determining their propagation constant (in work)
  • Static electric fields

Something missing? Feel free to open an issue :)

Contributors

  • Helge Gehring (Google, WWU Münster)
  • Simon Bilodeau (Google, Princeton University)
  • Joaquin Matres (Google)
  • Marc de Cea Falco (Google, Massachusetts Institute of Technology)
  • Lodovico Rossi (Princeton University)
  • Doris Reiter (TU Dortmund University)
  • Yannick Augenstein (Google, Karlsruhe Institute of Technology)
  • Niko Savola (Google, Aalto University)
  • Rouven Glauert (Idalab)
  • Markus DeMartini (Google)
  • Lucas Grosjean (Google, Femto-ST Institute)
  • Eliza Leung (University of Adelaide)
  • Duarte Silva (Eindhoven University of Technology)

Happy about every form of contribution - pull requests, feature requests, issues, questions, ... :)

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

femwell-0.1.12.tar.gz (258.8 kB view details)

Uploaded Source

Built Distribution

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

femwell-0.1.12-py2.py3-none-any.whl (85.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file femwell-0.1.12.tar.gz.

File metadata

  • Download URL: femwell-0.1.12.tar.gz
  • Upload date:
  • Size: 258.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.14

File hashes

Hashes for femwell-0.1.12.tar.gz
Algorithm Hash digest
SHA256 2f0f1438063a0a17ef7c181443834685aaf8f607cde11a1bde232de5760eb822
MD5 02215a3745d703ecac4f6b18e0e35763
BLAKE2b-256 0db4a708445e721661acc7dd4849dc28282fa77ce198dfd23fb03ae6ad691a7d

See more details on using hashes here.

File details

Details for the file femwell-0.1.12-py2.py3-none-any.whl.

File metadata

  • Download URL: femwell-0.1.12-py2.py3-none-any.whl
  • Upload date:
  • Size: 85.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.14

File hashes

Hashes for femwell-0.1.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 df509647f743ee1a6fdb25219917c2e596649be96b0fbafebc87939aa79d01e6
MD5 0e1e508a909e15cfe10535b5175f19e3
BLAKE2b-256 21c0752e0b4e43ff11cf449c6c38daf89724f54467f979f513d435f90793c55e

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