MaxwellFDFD Documentation

Contents

Introduction

MaxwellFDFD is a MATLAB-based solver package of Maxwell's equations. It solves the equations by the finite-difference frequency-domain (FDFD) method, and hence the name MaxwellFDFD. The resulting solution completely describes the the interaction of electromagnetic (EM) waves with objects of interest, such as waveguides, antennas, photonic crystals, and photovoltaic cells.

The FDFD method solves the frequency-domain form of Maxwell's equations, which are

\( \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

To construct the frequency-domain Maxwell's equations, you first need to specify the frequency \(\omega\), and then you need to place objects and current sources in your simulation domain.

Examples

See various problems that MaxwellFDFD can solve in 2D Example Gallery and 3D Example Gallery.

Main Features

User Guides

User Guides (to be written)

List of Functions and Classes