Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Waveguide bend: quickstart

Wavelength dependent S-parameters for Euler waveguide bend in SOI

Setup

lumi backend: None
showing modes for wavelength 1.55
mode Boundary conditions: 0A00
<Figure size 800x600 with 1 Axes>
<Figure size 640x480 with 2 Axes>
wg_mode/1.55 mode 0 (neff=2.443+0.000j)
saving mode to runs/bend/modes/wg_mode/1.55/0.npz
using simulation folder runs/bend
<Figure size 640x480 with 6 Axes>

Solve

[Errno 2] No such file or directory: 'lumi'
========================================
backend using simulation folder runs/bend
========================================
setting up simulation...
processing geometry bodies...
generating voxels...
voxelation: 2.362919 seconds (22.97 M allocations: 1.103 GiB, 4.34% gc time, 721.79% compilation time)
Yee mode λ=1.0: neff 2.3795 -> 2.5238, overlap 0.9984, residual 6.3e-9
making sources o1 ...
making monitors o1 o2 ...
========================================
run: runs/bend
processor: GPU
cpu threads: 48

nres: 6.0
courant: 0.9
subpixel_smoothing: 1
  
boundaries: [:PML :PML; :PML :PML; :PMC :PML]

sources
   o1: -1, 0.0, 0 

monitors
   o1: 0, 0, 0 
   o2: 5, 5, 0 

original size: (92, 78, 9)
padded size: (112, 98, 12)
cell count: 131,712

step size: 31.0 steps/period
source duration: 3.94 periods

max time: 100 periods
max steps: 3,100
max load: 408,307,200 cell-steps
energy decay threshold: 0.001

========================================
running simulation...
accumulating dft field...
period 10, decay: 0.98, 1.33 seconds/period
period 20, decay: 0.95, 0.004 seconds/period
period 30, decay: 0.071, 0.006 seconds/period
period 40, decay: 0.019, 0.003 seconds/period
period 50, decay: 0.017, 0.003 seconds/period
period 57.81 stop on energy decay
simulation completed.

Movie

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In[1], line 1
----> 1 lumi.movie(path)

NameError: name 'lumi' is not defined

Results

loading solution from runs/bend
may take a minute if simulation folder is remotely mounted
S21 power 1.55um: 0.9954009329096918
S11 power 1.55um: 0.0011599907468467668
<Figure size 640x480 with 1 Axes>
<Figure size 640x480 with 1 Axes>