Some simulations, such as convergence calculations, need trials and errors for selecting appropriate parameters until an expected result is obtained.
In this sample, we demonstrate how to automate this kind of iterations. This sample tries candidate parameters, which are given by us in advance, one by one until an expected result is obtained.
Register simulator as follows.