NanoComp / meep

free finite-difference time-domain (FDTD) software for electromagnetic simulations
GNU General Public License v2.0
1.21k stars 618 forks source link

Question on simulation stability #2667

Closed jungtaekkim closed 1 year ago

jungtaekkim commented 1 year ago

Thank you for your effort at this great project.

Is there any difference on simulation stability between simulations with a unit length of 10 nm and a resolution of 10 and ones with a unit length of 1 nm and a resolution of 1? I think the numbers of pixels for both simulations are identical.

In my simulations, the setting with a unit length of 10 nm and a resolution of 10 is more stable.

More specifically, the simulations with a unit length of 1 nm and a resolution of 1 sometimes get stuck before starting the simulation. All these simulations are run on shared-memory systems. Can this issue be related to the issue linked? On the contrary, I did not encounter any issue with the simulations with a unit length of 10 nm and a resolution of 10.

jungtaekkim commented 1 year ago

I think it should go to the discussion.