Home Examples Screenshots User manual Bluesky logo
OghmaNano Simulate organic/Perovskite Solar Cells, OFETs, and OLEDs DOWNLOAD

Quick start: Optical filter overview

In this quick start we use OghmaNano’s optical filter solver to calculate how light is reflected and transmitted by multilayer thin-film stacks at normal incidence. Such stacks can be designed as antireflection coatings, mirrors, or band-pass filters.

Background:

Light travelling through a thin film can be thought of as a forward and a backward wave. As the wave passes through a layer of thickness \(d\) and refractive index \(n\), it acquires a phase shift \(\delta = \tfrac{2\pi}{\lambda}\,n d\), where \(\lambda\) is the wavelength in free space. The behaviour of the wave in the layer can be written using a 2×2 transfer matrix \[ M = \begin{bmatrix} \cos(\delta) & \tfrac{i}{n}\sin(\delta) \\ i n \sin(\delta) & \cos(\delta) \end{bmatrix}, \] which relates the electric field amplitudes entering and leaving the layer.

For a stack of layers, the overall response is found simply by multiplying the matrices of all layers: \[ M_\text{total} = \prod_{j=1}^{N} M_j. \] Once the total matrix is known, the reflection and transmission of the stack can be calculated. If the incident medium has refractive index \(n_0\) and the substrate has refractive index \(n_s\), the reflection and transmission coefficients are extracted from \(M_\text{total}\), and the measurable reflectance and transmittance are given by \[ R = |r|^2, \qquad T = \frac{n_s}{n_0}\,|t|^2. \]

By adjusting the thicknesses and refractive indices of the layers, one can design filters with tailored optical properties. A single quarter-wave layer can suppress reflection at its design wavelength, while alternating high- and low-index quarter-wave layers produce a Bragg reflector with a strong stop band.

Getting started:

To start your first mode solver calculation, open the New simulations window from the File ribbon in the main window. Double-click on Mode Solver, and then double-click on 1D Slab Waveguide (TE), or transverse electric. Finally, save the new simulation to a folder on your disk.

OghmaNano new simulation window with the Mode Solver folder highlighted.
The new simulation window in OghmaNano with the Mode Solver folder highlighted.
OghmaNano window showing the list of available Mode Solver examples such as 1D Slab Waveguide (TE).
Window after opening the Mode Solver folder, showing available waveguide simulation options.

1. Getting started: 1D slab (TE)

Once you have saved the simulation, the window in Figure 3 will appear. This shows a layer structure in the Epitaxy editor. The example consists of three layers: Layer 0, Layer 1, and Layer 2. The refractive index in Layer 1 is higher than in Layer 0 and Layer 2, forming a typical slab waveguide structure. Clicking the Play button starts the mode solver. The solver searches for modes supported within the structure. Because the solutions to the equations only exist at certain discrete wavelengths, not every wavelength will be supported. The Play button tells the solver to look for these supported modes.

The time taken depends on the wavelength range you choose and the complexity of your structure, so the search can take a little while. Once the search is complete, an outputs directory is created containing a snapshots folder (see Figure 4). By double-clicking on this folder, you can view the modes that the solver has found.

OghmaNano main window with the blue play button highlighted to run the simulation.
The main OghmaNano window. Click the blue Play button to run the simulation.
OghmaNano output window showing the snapshots icon to open optical mode profiles.
After the simulation completes, open the Output tab and double-click on snapshots to view the calculated optical mode profiles.

In Figures 5, 6, and 7 you can see three modes that the solver has found. To view these results, open the snapshots folder, then click the plus button and add E.csv to the list of fields to display. Using the sliders, you can move through the different modes that were calculated. The solver will show you which modes exist in the structure and what their field profiles look like.

Here, we show the first three harmonic modes that were found in the slab waveguide structure. These modes illustrate how light can be confined and guided in the device, depending on wavelength and geometry.

TE mode electric field distribution at 312.5 nm wavelength.
Fundamental TE mode at 312.5 nm.
TE mode electric field distribution at 412.5 nm wavelength.
Second-order TE mode at 412.5 nm.
TE mode electric field distribution at 637.5 nm wavelength.
Higher-order TE mode at 637.5 nm.
OghmaNano Layer editor showing three layers with refractive indices 1.1, 4.0, and 1.1.
The Layer editor in OghmaNano, where the slab waveguide structure is defined by specifying thickness and refractive index for each layer. In this example, constant refractive index values (1.1, 4.0, 1.1) have been used, but in a realistic simulation you would typically select a material from the database (e.g. glass) with a known dispersion spectrum so that the n,k values vary with wavelength.

2. Switching to TM

In Optical → Mode calculator, change polarization to Transverse magnetic (TM), re-run, and reopen Snapshots. Due to boundary conditions at dielectric interfaces, TM modes show a characteristic field discontinuity at material boundaries (from continuity of D rather than E). You should see slightly sharper jumps at core/cladding interfaces compared to TE.

OghmaNano main window showing the Optical ribbon with the Mode Calculator button highlighted.
The Optical ribbon in OghmaNano, with the Mode Calculator button highlighted. Clicking this button opens the mode solver configuration window.
OghmaNano Mode Calculator editor window with the TE/TM selection dropdown highlighted.
The Mode Calculator editor window, where you can configure solver parameters. The highlighted dropdown menu allows selection between Transverse Electric (TE) and Transverse Magnetic (TM) modes.

6. Next steps

👉 Next step: Continue to Part B to set up and solve 2D slab waveguides, including mesh definition, wavelength sampling, and eigenmode searches.