TAGGED: co-simulation, lumopt
-
-
April 13, 2022 at 1:31 pmpengzheng97Subscriber
I made a optimization with lumopt, the result in 'working_dir' file as follows
April 13, 2022 at 1:33 pmApril 13, 2022 at 10:30 pmGuilin SunAnsys EmployeeDo you mean you used the initial optimized object as the starting point for the 2nd optimization? if so, it seems the second one has some issues since it does not capture the optimal result at the beginning. Please make sure that the second one uses the same maximal, not the minimal optimization.
April 14, 2022 at 1:57 amApril 14, 2022 at 5:18 pmGuilin SunAnsys EmployeeThis is the same thing as I mentioned: you used the already-optimized objects as the beginning point of the second optimization, using "import". Right? please run the simulation before you do the optimization and see if the result is close to the first optimization. From what you sent, it seems it is far more away, from around 0.5 to 0.03. It might indicate that the first optimized result is very sensitive to the rounding of the structure. SO the first step is to compare the results between the original optimized and the imported structures.
April 15, 2022 at 2:58 ampengzheng97SubscriberYes, what I do is compare the results between the original optimized and the imported structures, the same waveguide, monitor, source and structure in the two simulation file, but the results are very different? I dont know why, I've had this problem before, but didn't notice it at the time.
thank you!
April 16, 2022 at 9:06 pmGuilin SunAnsys EmployeeBefore doing the second optimization, first do the final simulation again, by the use of the optimized structure, and see if the result is very close to the optimal one. Do not use other script, and use the original file as the template. Make sure to exclude as many as possible any possible mis-matches in the settings. Only when you can almost duplicate the result, would you do the second optimization.
April 17, 2022 at 2:59 ampengzheng97SubscriberAs you suggested, I added a structure to the 'forward_0' file optimized by lumopt. Compared with the original structure, the result of 'fom1' is the same.
But when I 'importnk2' this structure with the script the results are different
even they have the same structure
This really bothers me, can I send you the smulation files and scripts if needed?
thanks a lot!
April 19, 2022 at 3:33 pmGuilin SunAnsys Employeeimportnk2(n,x,y,z);
SO you will need specify refractive index at the given point xyz. I believe there is problem with this assignment. What the refractive index you specified? did you use binary operation to extract where is the material and where is the background? Please use index monitor to compare them. In order to get the same result, the refractive index distribution and the values must be exactly the same.
Since your direct simulation works fine, the problem is from your import. Efforts should be made on the improvement of importnk2(n,x,y,z). Make sure the index profiles are the same.
I would suggest that you modify your first optimization to get better result, instead of using the first optimization as the initial point. This means the first optimization result is not optimal in you have any improvement. isn't it?
April 20, 2022 at 1:47 ampengzheng97SubscriberThe 'import_optimized' I added in the 'forward_0' simulation file was imported with importnk2, and the transmittance results obtained are the same as 'import'.
Maybe I found the difference, the refractive index in the 'forward_0' is
And in the script-made simulation is
one is 3.48, another one is 2.82, why it happen, I import it with the same script and 'structure.mat', I get the 'structure.mat' by transform the 'parameters_.npz' to '.mat' and get the 'eps' of the 'structure' type date in the matlab, the 'structure.mat' corresponding highest refractive index should be 3.48, why is it 2.82 in 'forward_0', is it the reason of VarFDTD?
should I send you these file to figure out the problem better?
thank you so much!April 20, 2022 at 4:30 pmGuilin SunAnsys EmployeeYouÒÇÇare using varFDTD, which simplifies the 3D simulation. When you got the first optimized result, it is 2D (3D collapses to 3D, and uses 3rd dimension confinement). However, if you import the result again to varFDTD, it recalculates the effective index via the varFDTD algorithm: Ansys Insight: MODE ÕêØÕ¡ªÞÇà´╝ÜÕà│õ║ÄvarFDTDþÜäÕÀÑõ¢£ÕăþÉåÚù«Úóÿ which might not be correct.
As I mentioned previously, if you do not trust the first optimization result, you should modify it instead of re-optimize it again. The second optimization means that the first result is not good, violates the optimization in the first run! I do not see any reason to do the 2nd optization using varFDDT or 2D FDTD. You may try 3D FDTD.
Viewing 10 reply threads- The topic ‘lumopt results are very different’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
- Absorption cross-section of AuNR excited by prism-based TIR
Top Contributors-
1301
-
591
-
544
-
524
-
366
Top Rated Tags© 2025 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.
-
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.