Comments (4)
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)
from torcwa.
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.
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.
Great. Thanks!
from torcwa.
Related Issues (20)
- Definition of "order" HOT 1
- GPU memory consumption HOT 4
- Multi-Objective FoM Parallelization HOT 1
- RuntimeError: Function 'EigBackward' returned nan values in its 0th output. Unstable P/Q Matrices? HOT 2
- Materials module not installed HOT 4
- Increased GPU Memory Usage compared to reference paper HOT 2
- Dispersion curves and mode analysis HOT 5
- CUDA out of memory in optimization problems HOT 2
- multiple patterns within a single layer HOT 2
- Fourier order do't converge for metals HOT 2
- Extract the electric field and angle by orders HOT 7
- Normalization of intensity integrated on all orders HOT 4
- convergence of structured geom to homogenous layer when lattice size equals to the geom size HOT 2
- _LinAlgError for a specific lattice size (px=3000) HOT 2
- Absorption layer-by-layer and incoherent layers
- Batch simulation with varying layer thickness
- Topological optimization for unit cell smaller than source wavelength HOT 2
- NaN occurs when lattice constant equals to wavelength at normal incidence
- Invalid polarization. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torcwa.