Ansys Learning Forum › Forums › Discuss Simulation › Photonics › How to input material instead of permittivity in polygon python script › Reply To: How to input material instead of permittivity in polygon python script
October 25, 2021 at 10:31 pm
Guilin Sun
Ansys Employee
In Fig 2 I did not find "polygon". Polygon is the geometry. For objects in FDTD, it has geometry and material, and one can assign material to a geometry. So you should be able to assign a material using script. For example, in the Y-branch example, the script can assign material to the rectangle.
However for lumopt, it is from 3rd party, and you will need to modify it in order to expand its functionality: https://github.com/chriskeraly/lumopt
Welcome to LumOpt: Easy Adjoint Optimization for Lumerical ...
you can find more information online and some tutorials.
It is out of the scope of this forum.
However for lumopt, it is from 3rd party, and you will need to modify it in order to expand its functionality: https://github.com/chriskeraly/lumopt
Welcome to LumOpt: Easy Adjoint Optimization for Lumerical ...
you can find more information online and some tutorials.
It is out of the scope of this forum.