Git Product home page Git Product logo

Comments (4)

kch3782 avatar kch3782 commented on May 20, 2024

When simulating with a metal reflector, you can simply use the complex permittivity of the metal. We found that the S-matrix calculated for similar simulations is nearly identical when compared to the COMSOL simulations. I haven't tried it, but if setting infinity substrate_eps, the program either doesn't work or gives a large error. Following literature would be helpful.

[1] Moharam, M. G., and Thomas K. Gaylord. "Rigorous coupled-wave analysis of metallic surface-relief gratings." JOSA a 3.11 (1986): 1780-1787.

In addition, if you put a metal reflector in the input layer as shown in the left situation figure, you need to set options in 'set_incident_angle' to 'output', and set options in 'S-matrix' and 'plain wave source' functions to 'backward'.

set_incident_angle(inc_ang,azi_ang,angle_layer='output')
sim.S_parameters(orders,direction='backward',port='transmission',polarization='xx',ref_order=[0,0]):
sim.source_planewave(amplitude=[1.,0.],direction='backward')

If you flip the entire structure and place the metal reflector in the output layer as shown in the right situation figure, the same simulation can be done by just put 'substrate_eps' in 'add_output_layer' instead of 'add_input_layer'.

sim.add_output_layer(eps=substrate_eps)
fig1

from torcwa.

siegel8 avatar siegel8 commented on May 20, 2024

Thank you for clarifying that! And that is very useful to know how to adjust the simulation to ensure proper incident fields.

As a follow-up, has a metallic structure been optimized over instead of a dielectric like Si with this gradient technique? My experience with similar (adjoint based optimization instead of automatic differentiation) was that it can work, with just a more complicated mapping of the density function to the permittivity distribution. See this work for an example of the mapping (the machine learning aspect is not relevant as they base it on the adjoint method first). "Machine-learning-assisted metasurfacedesign for high-efficiency thermal emitteroptimization" doi: 10.1063/1.5134792

from torcwa.

kch3782 avatar kch3782 commented on May 20, 2024

We haven't tried gradiet-based optimization using TORCWA for metallic structures. Since the mapping function in the literature is a differentiable function (automatic differentiation is possible) and we think that optimization is possible.

from torcwa.

siegel8 avatar siegel8 commented on May 20, 2024

Great. Thanks!

from torcwa.

Related Issues (20)

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.