September 13, 2023 at 4:34 pmLuigi RannoSubscriber
I have recently been trying to make the topology optimization codes provided for the co-optimization of an asymmetric y-splitter which should send more light to one port than the other.
I tried using the same code provided at https://lumopt.readthedocs.io/en/latest/tutorial.html#co-optimization and making 2 figures of merit, one for the left output and one for the right output, which were "added" together using the + operator. I noticed that the simple addition of the 2 FoMs causes the simulation to converge to very wrong answers. More specifically, the algorithm would make one of the two arms receive too much light, and the other too little, but in such a way that the excess of the first arm is compensated by the lack of the second, hence cancelling each other out and resulting in an apparently good FoM. No matter the initial configuration I tried, the algorithm would always converge to some wrong splitting ratio.
Would it be possible to do something more clever than simply adding the FoMs, say adding their squared magnitude, to avoid such issues?
September 14, 2023 at 4:55 pmGuilin SunAnsys Employee
It seems the co-optimization works although the result is not expected.
I guess it is related to the figure of merit: when there are two FOMS with the same strucutre, proper design of the two is vital. It is obvious one takes more than the other. You may need to have a penalty factor if one is too large. Please explore more as our example works well for one FOM.
- You must be logged in to reply to this topic.
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.
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Error on Lumerical device
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- Ansys Insight: About override mesh in FDTD: its use and settings
- Finding your Ansys (or Lumerical) account number
- Lumerical – error message when trying to open from Linux terminal
© 2023 Copyright ANSYS, Inc. All rights reserved.