Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.48 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.48 KB

Numerical-Algorithms-in-Time-Domain-PDE-Maxwell-Equations-

The CEM community is famous by its lack of open-source ethos and most source codes are kept in secret due to historical, commericial and political reasons.

This repository contains 7 Matlab scripts that elaborate the classical and fancy numerical algorithms for simulating Maxwell Equations in 2D. Three of the scripts (scalarFEMABC.m, scalarFEMPML.m, vectorFEMABC.m) are for frequency domain simulation and the others (2D_FDTD_PML.m, scalarFETD.m, hybrid_FETD_FDTD.m, scalarDGTD.m) are for time domain simulation. All scripts are extremely user friendly in that all components such as preprocessing, PDE computation, posprocessing, and etc have no dependency on other softwares and libraries. The user can simply run the codes and visualize the results with a single click.

Frequency Domain FEM with scalar basis and ABC

scalarFEMABC.m

Frequency Domain FEM with vector basis and ABC

vectorFEMABC.m

Frequency Domain FEM with PML

scalarFEMPML.m

FDTD

2D_FDTD_PML.m

For more details, see 2D_FDTD_with_PML_based_on_Matlab.pdf.

FETD

scalarFETD.m

Ez at time step 550 FETD

hybrid FDTD-FETD

hybrid_FETD_FDTD.m

Hybrid-FETD-FDTD Mesh

Hybrid-FETD-FDTD Mesh

DGTD

scalarDGTD.m

Ez at time step 550 DGTD