OghmaNano
Simulate organic/Perovskite Solar Cells, OFETs, and OLEDs DOWNLOAD
Slab waveguide mode solver
In this tutorial we compute the optical modes supported by slab waveguide structures in OghmaNano.
We begin with a classic 1D three-layer stack (low-n / high-n core / low-n) and find transverse electric (TE) and
transverse magnetic (TM) modes. We then extend to 2D mode searches with configurable mesh density and wavelength
sampling, and show how to control the number of eigenmodes solved in the X and Y directions.
The New simulation window in OghmaNano, with the
Mode Solver folder highlighted among the available device types.
The Mode Solver submenu showing the 2D Fiber optic (TE) example.
Double-clicking this option will create a new simulation using an arbitrary shape — in this case,
a fiber optic mode.
1. Getting started: 1D slab (TE)
Open New simulation → Mode solvers and select the 1D slab waveguide example.
Configure the layer stack (e.g., 500 nm / 500 nm / 500 nm) and refractive indices
(n = 1 / 4 / 1 for cladding / core / cladding in this example). Set polarization to
Transverse electric (TE).
Geometry view of an optical fiber defined by two nested objects — an inner core and an outer cladding.
Although shown as spheres, the solver works in 2D so this represents a slice through a fiber cross-section.
Right-clicking on the inner core object brings up the Edit menu.
The Object Editor window for the selected core. Here you can set the optical material
(e.g. from the materials database), adjust the object shape, and configure its size, position,
and orientation. Objects can also be dragged interactively within the 3D view.
The Output tab after clicking the Run button.
The snapshots directory is generated, which contains the calculated field data.
The Snapshots window after selecting E.dat with the Add button,
showing the 2D modal field profile of the fiber. The modes are not perfectly symmetric because the inner
core is slightly offset from the center of the outer cladding. You can experiment by adjusting the
core position, refractive index, or size to see how the modal profiles change.
The Optical ribbon in OghmaNano, with the Mode Calculator button highlighted.
Clicking this button opens the mode solver configuration window.
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
Vary core thickness and index contrast to see cut-off behavior of higher-order modes.
Increase wavelength sampling for smoother dispersion plots.
Switch to TM in 2D and compare confinement vs. TE.
Try the “more complex 2D waveguides” templates (rib/strip) for realistic photonics layouts.