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

Optical Mode Solver

Optical modes describe how light is guided or confined within layered devices such as organic LEDs, solar cells, and perovskite stacks. A mode is a self-consistent field pattern that propagates along the device with a characteristic propagation constant β, or equivalently an effective refractive index \( n_\text{eff} = \beta/k_0 \), where \( k_0 = 2\pi/\lambda \).

TE and TM polarization

Two families of solutions are supported:

Governing equations

In a two-dimensional cross-section (x–y plane), the solver finds solutions to the scalar Helmholtz-type equations:

Here \(n(x,y)\) is the spatially varying refractive index. The unknown fields E or H correspond to the mode profile.

Numerical method

The solver discretizes the equations on a rectangular grid using finite-difference methods. This produces a large sparse matrix whose eigenvalues correspond to the allowed propagation constants \(\beta\). Modes are identified by searching for values of β that satisfy the eigencondition, and then iteratively refining until convergence is reached.

The outcome is a set of guided or leaky modes, each with an associated field distribution and effective index. These modes describe how light propagates inside the device.

Outputs and interpretation

💡 Practical tips

👉 Want to start simulating now?: Try the quick start tutorial on the Optical mode solver