We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Photonics divergence troubleshooting Reply To: divergence troubleshooting

Amrita Pati
Ansys Employee

Hi Fakhriyya,

We typically say that a simulation is diverging when the energy inside the simulation keeps increasing exponentially. I wouldn't quite call this divergence. But ideally, the energy should gradually reduce through the simulation and reach a value of 1e-05, at which point the simulation would terminate, and you can extract your results. It is hard to predict where these oscillations are coming from. It could just be that you are simulating something at resonance, where it takes a long time for the energy to decay and at the same time, the metal Boundaries which are not as effective at absorbing the EM waves as PML, are contributing the overall energy of the simulation by reflecting some of the fields back. Could you provide a bit more information on what you are simulating? Maybe a screenshot of the geometry would also help.

Another thing you can do is, change back to PML and run the simulation with a Movie monitor. This would record the fields through out the simulation. If you play the movie monitor, you could most likely identify which region in the simulation is where the local growth in the field takes place.

Regards,
Amrita

 

Â