Photonics

Photonics

Topics related to Lumerical and more

FDTD simulation did not complete successfully: status 0.0 error during topology optimization 3DFDTD

    • aaltindag20
      Subscriber

      Hi,

      I get the FDTD simulation did not complete successfully: status 0.0 error when run the Y-splitter topology optimization example for 3D FDTD. The optimization starts, but I get this error after a few iterations. How can I fix this problem? Could you help me to solve this problem? Thank you.

    • Kyle
      Ansys Employee
      Hello,nFirst, what software release are you using? And have you made changes to the example, or are you running the example files exactly as they are?nThis error indicates one of the forward or adjoint simulations didn't complete successfully. This could be due to running out of memory, losing access to the license server, etc. The cause of the crash should be at the bottom of the log file for the simulation. The log file should be in the opts folder, with a name similar to forward_0_p0. Can you let me know what it says?n
    • aaltindag20
      Subscriber
      Hello Array,nI am using Lumerical 2021 R1. I have changed the example files, I set mesh accuracy to 3, and autoshutoff to 1e-4. I am also running 90-10 Y-splitter. nThe log file says:n Ansys Lumerical 2021 R1 FDTD Solver Version 8.25.2525 (Windows 64bit)n expires (month/day/year): 4/28/2021nusing config file: C:/Users/aaltindag20/AppData/Roaming/Lumerical/License.ininlicense host: 172.20.240.116ncurrent time: Tue Feb 16 13:14:45 2021nRunning on host: DESKTOP-O0U637Vnhost available memory (GB): 184.180224.
    • aaltindag20
      Subscriber
      nI gave incomplete information about the log file in the previous message, sorry for this. I add the log file, it says the simulation completes successfully. However, as I mentioned before, the optimization stops after a few iterations. Thanks for your help.nn
    • Kyle
      Ansys Employee
      Unfortunately Ansys employees are not permitted to download files from the Learning Forum, so I can't download your log file. But if the log file doesn't mention an error and says that the simulation was successful then that should be enough information. This log file should be from the final simulation before the error is encountered. If the log file says the simulation completed successfully but Python returned a simulation error, it's possible the simulation didn't start at all before it encountered the error. This might be caused by losing connection to your license server. You mentioned that a few iterations were successful, how long did it take to run these iterations before the error was encountered?nThe final forward/adjoint simulation files should be saved in the opts folder along with the log file. Are you able to open these files and run them individually?n
    • aaltindag20
      Subscriber
      ,nThe log file says that the simulation completed successfully. It takes 5-6 minutes to run each iteration. And, I am able to open and run forward and adjoint simulation files. Thanks.n
    • Kyle
      Ansys Employee
      nSorry for the delay in replying. If the log files do not indicate any errors and you're able to run the simulations individually then it looks like this isn't a simulation issue. Are you able to run the original 3D example? Have you tried using 2D instead of 3D FDTD for your optimization?n
    • aaltindag20
      Subscriber
      ,nI am not able to run both original 2D and 3D examples, I get the same error when I try to run original example files. n
Viewing 7 reply threads
  • You must be logged in to reply to this topic.