Ansys Learning Forum › Forums › Discuss Simulation › Photonics › How to set the correct simulation time in 3D FDTD simulation? › Reply To: How to set the correct simulation time in 3D FDTD simulation?
Hi,
That is probably the minimum amount of time you will require for a simulation. But unfortunately, it is not straighforward to evaluate the simulation time. It can depend upon a number of factors such as the material, the mesh, the BCs etc. For example, even if you just increase the mesh accuracy from 1 to 2, the number of mesh points per wavelength will increase from 6 to 14. So, the number of mesh points/calculations increases by(14/6)^3 and the simulation time step is reduced by 14/6 to satisfy the Courant stability condition. More calculations with a smaller time step will require a longer simulation time although the propagation time is unchanged. In some cases, the EM waves can also keep circulating in the geometry, which can take the simulation a long time to arrive at the auto shutoff min level (Status - 2). In other words, it is hard to predict the simulation time. In most cases we recommend users to increase the simulation time by 10 times or even more. That is because you will not be required to simulate any excess time, the simulation will terminate as soon as the auto shutoff level is reached, but at least with a long simulation time we can be on the safe side with regard to arriving at at auto shutoff level, so that there are no numerical artifcats due to the Fourier Transform.
Regards,
Amrita