MaxwellFDFDMaxwellFDFD is a MATLAB-based package that solves the frequency-domain Maxwell's equations \[ \nabla \times \mathbf{E}(\mathbf{r}) = -i \, \omega \, \mu(\mathbf{r},\mathbf{\omega}) \, \mathbf{H}(\mathbf{r}) - \mathbf{M}(\mathbf{r}),\\ \nabla \times \mathbf{H}(\mathbf{r}) = i \, \omega \, \varepsilon(\mathbf{r},\mathbf{\omega}) \, \mathbf{E}(\mathbf{r}) + \mathbf{J}(\mathbf{r}), \] where
MaxwellFDFD solves the above Maxwell's equations by the finite-difference frequency-domain (FDFD) method, and hence the name MaxwellFDFD. Major Features
System Requirements
DownloadPress the “Download ZIP” button in the right panel of MaxwellFDFD's GitHub page. DocumentationThe online documentation is available here. (The entire MATLAB-style documentation is included in the doc/ directory of the downloaded MaxwellFDFD package.) Examples
Basic UsageUsing MaxwellFDFD is very simple. There is an all-in-one function, maxwell_run(), and you just need to fill in its input parameters. For example, below is the code for the first example shown above. [E, H] = maxwell_run(... 'OSC', 1e-9, 1550, ... 'DOM', {'vacuum', 'none', 1.0}, [-1100 1100; -1100 2600; 0 10], 10, BC.p, [100 100 0], ... 'OBJ', {'CRC/Ag', 'k'}, ... Box([-1100 -80; 0 1000; 0 10]), ... Box([80 1100; 0 1000; 0 10]), ... 'SRCJ', PlaneSrc(Axis.y, -500, Axis.x)); The meaning of the input parameter groups used in the code is as follows:
The output parameters E and H are the solution E- and H-fields of the simulation. How to CiteYou are welcome to cite the following paper about the techniques used in MaxwellFDFD:
You can also cite the URL of MaxwellFDFD's GitHub page as follows:
If you use LaTeX, here is the BibTeX record for the GitHub page: @webpage{maxwellfdfd-webpage, Author = {Wonseok Shin}, Note = {{https://github.com/wsshin/maxwellfdfd}}, Title = {{MaxwellFDFD} {W}ebpage}, Year = {2015} } |