An open API service indexing awesome lists of open source software.

https://github.com/vortex2jm/fdtd-resonant-cavity-simulator

I built a simple framework to simulate electromagnetic wave behavior in resonant cavities using the Finite-Difference Time-Domain method.
https://github.com/vortex2jm/fdtd-resonant-cavity-simulator

electromagnetic-simulation fdtd

Last synced: 9 months ago
JSON representation

I built a simple framework to simulate electromagnetic wave behavior in resonant cavities using the Finite-Difference Time-Domain method.

Awesome Lists containing this project

README

          

# FDTD Electromagnetic Resonant Cavity Simulator

In this repository, you will find a mini framework developed using the FDTD method to solve Maxwell's equations and simulate electromagnetic wave propagation in two-dimensional resonant cavities.

## Usage
```
python3 -m venv venv
```

```
source venv/bin/activate
```

```
pip install -r requirements.txt
```

```
python3 main.py
```

The [main.py](/main.py) has an example code to simulations available in [the section below](#some-results)

## Some Results
![](/assets/res_cav_100x100_10GHz_50x25_mesh.gif)
![](/assets/res_cav_100x100_10GHz_50x25_plane.gif)
![](/assets/res_cav_100x100_gaussian_50x50_mesh.gif)
![](/assets/res_cav_100x100_gaussian_50x50_plane.gif)
![](/assets/res_cav_100x50_10GHz_50x25_mesh.gif)
![](/assets/res_cav_100x50_10GHz_50x25_plane.gif)