October 5, 2021 at 7:39 pmwcai05Subscriber
The y_brandh_2D.gds file generated by running y_branch_opt_2D.py gives an error when opening.October 6, 2021 at 6:24 pmGuilin SunAnsys EmployeeThe error message says that there exists an object named "input wg". Please name the object with different names and then do the GDS out.
October 7, 2021 at 1:34 ammustafaccSubscriber
I've tried that already (on wcai's behalf) and the error pops again except with the new different name.
October 7, 2021 at 4:10 amGuilin SunAnsys EmployeePlease check your FDTD file, and make sure no any objects have the same name.
October 7, 2021 at 7:26 pmOctober 7, 2021 at 7:28 pmGuilin SunAnsys EmployeeDoes the new name with "output"? if so, please modify them. Next time it is better to post the error message so it can help us to dig out the issue.
October 7, 2021 at 8:59 pmmustafaccSubscriber"Does the new name with output?" can you clarify what you mean by that?
The error is still the same except with the new name of the cell:
I also tried changing the name of the other objects and the error is the same.
Note this GDS error is occurring after running the default example application note here without changing anything: https://support.lumerical.com/hc/en-us/articles/360042305274-Inverse-design-of-y-branch
I also tried reading the file using various GDS viewer tools.
October 8, 2021 at 4:50 pmGuilin SunAnsys EmployeeI guess there is something wrong with the layer definition. Since the "sub" is actually surrounding the waveguide acting as both cladding and substrate, I just output the waveguide section, and it works well, as long as you define the layer zmin and zmax correctly. Here is my rest result:
All 4 parts are output correctly.
Please check your definition about the layer_def. you can add the substrate and cladding, and have 3 layers, by properly defining their z range. Please try again.
October 8, 2021 at 10:43 pmmustafaccSubscriberHere's the sequence of commands i'm using:
I replicated what was scripted on the app. note. It seems identical to what you have above. However, the error with the GDS file above still persists. You can find the final iteration lms file as well as the generated .gds file: https://drive.google.com/drive/folders/1LNzYo_7JVSDfkuHE-3eUZP44Wn1Ya3Ub?usp=sharing
October 8, 2021 at 11:05 pmGuilin SunAnsys EmployeeDo you mean this error message:
It is unlikely that the script works fine without any warning but the error message pops up. If you mean the error message is from GDS file its self when you use 3rd party software to open, unfortunately we could not help since we do not have that file. To verify the output GDS file from Lumerical script, you can open a new project, import the GDS into it and check if you can see anything wrong. Maybe you need to test the whole process in a fresh new folder.
October 8, 2021 at 11:53 pmmustafaccSubscriberError message: Yes this is the one.
I uploaded the files (.GDS and .lms) to the directory here: https://drive.google.com/drive/folders/1LNzYo_7JVSDfkuHE-3eUZP44Wn1Ya3Ub?usp=sharing
I can see that the output of the Lumerical GDS export script is wrong because every object is duplicated. You can see this by trying to import the generated GDS file into a project:
The standard GDS format does not allow for duplicate cell names and will result in an error
October 12, 2021 at 9:06 pmwcai05SubscriberHi, the gds generator files in the y-branch inverse design does not work. Currently i am replacing the "Lumerical_GDS_auto_export.lsfx" files from the ones that i found in the "Y branch optimization using particle swarm algorithm" example and run the .lsf gds generator script to get a gds file with the desier shape.
October 14, 2021 at 12:56 pmmarSubscriberThis is because of the Klayout version. 0.27 + is not supported. I had the same problem. With 0.26 this works.
Hope this can be of help
October 18, 2021 at 4:33 pmGuilin SunAnsys Employee@mar thank you for the help! In Lumerical output, the result is correct so it must be due to the 3rd party tool.
April 25, 2022 at 9:31 pmApril 25, 2022 at 10:28 pmGuilin SunAnsys EmployeeI guess that you installed your own version of Python. Please uninstall it, and just use the built-in Python software.
Viewing 15 reply threads
Ansys Innovation Space
- The topic ‘inverse design of y-branch’ is closed to new replies.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Why my simulation result is different from published paper or experiment?
- Ansys Insight: Transmission results greater than one
- Ganhemt Project mistake can you help me
- How to calculate the cross-polarization efficiency and phase in FDTD
- save data error
- Simulation of a single pillar of a peltier cooler
- EME : field profile and cell periodicity
- Ansys Insight: Single frequency CW source
- What is the meaning of this error ” Bad termination of…” ?
Top Rated Tags
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.