This repository contains partial codes used in my computational electromagnetics papers. All codes utilize the FEniCS library, and simulations are performed via finite element methods, particularly using Nedelec elements.
cloak.py
: Electromagnetic (EM) cloaking simulation.cloak_edge_carpet.py
: EM carpet cloaking simulation.graphene_interface.py
: Graphene Surface Plasmon Polaritons (SPP) simulation.meta.py
: Metamaterial backward wave propagation simulation.
To use these codes, clone the repository and navigate into the cloned directory. The scripts can be run individually with the FEniCS environment.
Note: The details of how to use these scripts and the necessary dependencies to run them are explained within each script.
We appreciate any contributions to improve this project. Feel free to fork the project and create a pull request with your changes.
This project is licensed under the GPL License - see the LICENSE file for more details.
If you use these codes in your research, please cite the following papers:
-
Huang, Y., Li, J. & Fang, Z., 2020. Mathematical analysis of Ziolkowski’s PML model with application for wave propagation in metamaterials. Journal of Computational and Applied Mathematics, 366, p.112434.
-
Fang, Z., Li, J. & Wang, X., 2020. Optimal control for electromagnetic cloaking metamaterial parameters design. Computers & Mathematics with Applications, 79(4), pp.1165-1176.