Skip to content

Characterization of a single meta-atom pillar under local phase approximation demonstrating high transmission and linear phase shift.

Notifications You must be signed in to change notification settings

mingoosam/single_pillar_sim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

single_pillar_sim

This experiment lets us characterize a single meta-atom pillar under local phase approximation. We are repeating the experiment conducted in this journal paper, Fig. 3.

The experiment simulates a high-index meta-atom pillar on top of a glass (fused silica) substrate embedded in PDMS, a flexible plastic material. The 3D simulation is run experiment.num number of times, with the pillar radius increasing from 75 nm to 250 nm with each iteration.

At the end of each simulation, transmission and phase information are recorded by means of a flux monitor.

Run the experiment

Open the file, `Global-Lab-Repo/sops/meep/single_pillar/configs.yaml, and set the following parameters:

- animate : 0
- resolution : 20
  • Dont forget to save if you make any changes (:w if you're using the vim editor).

In your terminal, with the mpi_meep environment activated, navigate back to Gloabl-Lab-Repo/sops/meep/single_pillar and run

python3 main.py -config configs.yaml

Once the simulations are finished, the script should display an image showing a snapshot of the final pillar in its simulation environment, with fields shown. The sinusoidal electric field is symbolized by red - negative fields moving into the screen, and blue - positive fields moving out of the screen. The red line represents the source, and the blue line represents the flux monitor (The plane at which we collect phase and transmission information).

Note that there are green diagonal lines on the top and bottom in the z-direction. This represents PML, perfectly matching layers, which are absorbing boundary condtions. In x and y we have repeating boundary conditions.

Note also that the fields are highly concentrated inside the pillar - This is due to the resonances occurring due to the subwavelength nature of the pillars (source wavelength is 1550 nm. Max pillar diameter is 500 nm). The behavior of the plane wave going out of the pillar matches the behavior coming out of it, but a phase shift has occurred.

Next, the script displays an image with the phase and transmission characteristics, which should agree with Fig. 3 of the Raeker paper.

  • How does phase delay change with pillar radius? Why might this be beneficial?

  • Why do you think we want high transmission?

    A few things to try while you're exploring this code:

  • Change experiment.animate to 1. Rerun the script. Now it will display an animation showing the electric field as the wave propagates through the pillar.

  • Change experiment.animate back to 0. Try changing the resolution to 10. What happens? Why do you think this is? Now try changing the resolution to 30 or 40. What happens now?

  • You can press Ctrl+c to cancel the script if it's taking way too long to run. Running higher resolution simulations gets computationally expensive, so we use parallel meep to speed things up by distributing the computation among multiple CPU cores. To run the script with parallel meep, use:

    mpirun -np {num_cores} python3 main.py -config configs.yaml
    
    • If you're not sure how many cores are available, try running htop in any terminal.

Results of the Experiment

A poster presentation of the project is located here: poster

About

Characterization of a single meta-atom pillar under local phase approximation demonstrating high transmission and linear phase shift.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%