Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Photonics

Photonics

Topics related to Lumerical and more.

Obtaining time-snapshots of simulation (Results) at different run times.

    • nir.levanon
      Subscriber

      I'm interested in comparing the state of a simulation during various times of running - that is, I'd like to view the result data from the simulation monitors at different times during the simulation runtime. 

      Currently, I do this by running a sweep where I change the runtime stop conditions (either 'simulation time' or 'autoshutoff min'). I was curious if there was some way to do one of the following:

      • Continue running a simulation that has finished running (saving snapshots when simulation ends its run).
      • Manually pausing and saving a copy of the simulation during its run, then continuing. If there is a way to do that programatically, that could be an advantage. 

      Thanks,

    • Guilin Sun
      Ansys Employee

      You can use time monitor to record data at a specific time step:

    • nir.levanon
      Subscriber

      Thank you so much for the clarification, I had yet to use this monitor. It does exactly what I was describing. 

    • nir.levanon
      Subscriber

      Is it possible to increase the time interval between snapshots in the TimeMonitor, without affecting the simulation accuracy (without changing dt)?

    • Guilin Sun
      Ansys Employee

       

      Time step value should use the default one in general. Reducing this value will lead slightly less accuracy, counter intuitively.

      In the time monitor, you can downsample the signals to be recorded:

      The default value is 10. Although in theory the minimum value is 2, since we do not want to recocer the signal, this value can be smaller, such as 0.1 to record much large time laps.

       

       

Viewing 4 reply threads
  • The topic ‘Obtaining time-snapshots of simulation (Results) at different run times.’ is closed to new replies.
[bingo_chatbox]