Photonics

Photonics

Topics related to Lumerical and more

Is there a script function to check if the simulation has diverged?

    • Jeon
      Subscriber

      Hi, 

      I am using the FDTD simulation tool.

      Sometimes some simulations diverge during parameter sweeps.

    • Guilin Sun
      Ansys Employee
      You methods work for check during sweep.
      Alternatively you can get FDTD status https://support.lumerical.com/hc/en-us/articles/360034382534-FDTD-solver-Simulation-Object

      stat = getresult("FDTD","status");
      denoted by 0 for simulation in layout mode, 1 for run to full simulation time, 2 for run to autoshutoff, or 3 for diverged.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.