Giter VIP home page Giter VIP logo

deltarcwa.jl's Introduction

DeltaRCWA.jl

About

DeltaRCWA.jl is a frequency-domain solver for the scattering of electromagnetic fields through stacks of periodic, variable-impedance sheets suspended in vacuum that employs sheet-transition conditions with RCWA.

This project was started by Luke Qi in this repository and has been conducted under the supervision of Professor Steven G. Johnson and Dr. Raphaël Pestourie.

Device geometries

A geometry for DeltaRCWA represents a device composed of a stack of periodic, variable-impedance sheets suspended in vacuum. This can be viewed as a coarse proxy of a device composed of layered metasurfaces. An example of a valid geometry for DeltaRCWA is illustrated below:

The illustration shows a single unit cell, though the actual device would repeat the unit cell infinitely in the plane of the sheet. The colorings of the layers in the sheet represent the metasurface impedance parameters, described below.

Sheet transition conditions

For a sheet given by its normal vector that separates region from region , the jump in the tangential electromagnetic fields at the surface of the sheet in each region is modeled by [1]:


where is the electrical impedance matrix and is the magnetic conductance matrix defined at each point in the sheet. These equations and Maxwell's equations are used to derive a scattering matrix for the sheet in the planewave basis.

Redheffer star product

Redheffer's star product is used to combine the scattering matrices generated for each layer of the device into one describing the whole device. Then the scattering matrix multiplies the incident mode amplitudes to obtain the scattered mode amplitudes.

Contents

  • notebooks: interactive Pluto and Jupyter notebooks showcasing the uses of DeltaRCWA as well as doing exploratory tests/debugging which will hopefully be ready to include in DeltaRCWA
  • src: the source code of DeltaRCWA
  • scripts: contains Julia scripts to do convergence and validation tests for different solution methods
  • test: contains unit tests of DeltaRCWA's star product methods

The root folder and notebooks, scripts, and test each contain a separate Julia environment. See notebooks/README.md for an example on how to set one up.

Documentation

Currently the documentation is informal at its best. An attempt has been made to provide docstrings for most types and functions. To see an example usage, open the Pluto notebook in notebooks/interface.jl.

Tests

This is todo and not to be done until more of the package is working.

References

deltarcwa.jl's People

Contributors

github-actions[bot] avatar lxvm avatar mastercheese77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.