Skip to content

This is a package to perform Finite Difference Time Domain (FDTD) simulations in Python.

License

Notifications You must be signed in to change notification settings

natsunoyuki/FDTD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FDTD

This is a set of Python codes used to perform 1D and 2D finite difference time domain simulations.

drawing

Installation

pip install git+https://github.com/natsunoyuki/FDTD

Usage

import fdtd

fdtd2d_tmz = fdtd.fdtd2d_tmz()
fdtd2d_tmz.run(n_iter = 50000, initiate_pulse = True)
fdtd2d_tmz.plot_E()

Available FDTD Simulators

One Dimensional FDTD

  • fdtd1d: 1D FDTD.
  • fdtd1d_laser: 1D laser FDTD.

Two Dimensional FDTD

  • fdtd2d_tez: Transverse electric field 2D FDTD.
  • fdtd2d_tez_laser: Transverse electric field laser 2D FDTD.
  • fdtd2d_tmz: Transverse magnetic field 2D FDTD.
  • fdtd2d_tmz_laser: Transverse magnetic field laser 2D FDTD.

About

This is a package to perform Finite Difference Time Domain (FDTD) simulations in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages