FEniCS for Electromagnetic Field Simulation
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.
Code Overview
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.
Getting Started
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.
Contributing
We appreciate any contributions to improve this project. Feel free to fork the project and create a pull request with your changes.
License
This project is licensed under the GPL License - see the LICENSE file for more details.
Citation
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.