benvial/pytheas

Created Dec 27, 2020 · View the benvial/pytheas repository page

Python Electromagnetic Analysis and Simulation with the Finite Element Method

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

1

Lines of Code

4,102

From

Jun 22, 2018

To

May 26, 2020

About benvial/pytheas

Pytheas is a Python package for electromagnetic simulation using the finite element method. It wraps two open-source tools: Gmsh for geometry creation and mesh generation, and GetDP for solving the underlying partial differential equations. The software enables users to create, execute, and analyze electrodynamic simulations through a Python interface.

The package includes a comprehensive set of built-in models covering periodic media in both 2D and 3D with diffraction efficiency calculations, scattering analysis, Bloch mode analysis of metamaterials, and treatment of open geometries using perfectly matched layers. It also provides tools for defining arbitrary permittivity distributions, quasi-normal mode analysis, two-scale convergence homogenization, topology optimization in 2D, and includes a built-in refractive index database.

The project maintains high code quality standards with continuous integration testing, code coverage tracking, and code style enforcement using black formatting. It is distributed under the MIT license and targets researchers and engineers working on electromagnetic analysis and photonic design problems.

Share this video