TAGGED: inverse-design, photonics, topology-optimization
-
-
May 23, 2023 at 7:56 am
berkay.neseli
SubscriberHello everyone,
I have 2 questions related to topology optimization;
1) is it possible to use another source like gaussian or plane rather than mode source? if yes, how?
2)when I try to run an optimization which involves 2 different script files, because I have to use different source locations, I get the following error. how can I fix it?
Thank you.
Â
Â
-
May 29, 2023 at 9:29 pm
Taylor Robertson
Ansys EmployeeHello,
Â
1) It is possible to use a Gaussian or plane wave source, but the figure of merit needs to be the power in mode. This is a bit of an aside, but the adjoint source needs to be a mode source, which is not fundamental to the adjoint method, but the way lumopt is implemented is limited to guided mode photonics.
2)I think when using co-optimization you can use two separate scripts if needed to create two different set-ups, or specify the sources separately.
To make two files with different set-ups simply pass differnt scripts to the opt class, using the script_name parameter, for the second use the source_name parameter.
Â
Â
Â
-
May 31, 2023 at 8:36 am
berkay.neseli
SubscriberHello, thank you so much for your reply. The error I shared is solved I think but now I keep getting assertion error. What can be the reason for that? I couldn't find any source about it so I'd appreciate if you can help.
Best regards.
-
- The topic ‘about topology optimization’ is closed to new replies.
-
3492
-
1057
-
1051
-
965
-
942
© 2025 Copyright ANSYS, Inc. All rights reserved.