Ansys Insight: Tips on running FDTD simulations

greg_baethgegreg_baethge Ansys Employee Posts: 13

Here are some basic tips on running FDTD simulations.

Check simulation memory requirements.

Before running a simulation, it should be a good practice to check the simulation and memory requirements to ensure that your computer has sufficient resources.

To verify if a computer has enough free memory available for running a simulation, the first step is to roughly deduct the number of memory used by the operation system and already opened software from the total number of memory installed in the computer.

The second step is to ensure that the memory requirement at any of the 4 mentioned stages does not exceed the available memory on your computer.

Compare this with your available memory:

  • Windows [Task manager > Performance tab]
  • Linux:
free
cat /proc/meminfo

Setup and test computing resources.

Use the Resource configuration utility to configure your computing resources.

For example, control the number of processes used to run your simulations, or specify additional computers that will be used to run parameter sweeps.

For workstations with multiple CPU’s and a large number of cores, the Use processor binding option, which can be found in the resource settings, can result in a significant speed increase on Windows.

Additionally, the Resource ‘Run Test’ feature within the Resource configuration utility can help to debug problems with the software.

To test for the best number processes or resources to use for your simulation, see: Obtaining the optimum FDTD resource configuration

Job error and details

If you encounter an error during the simulation, you will notice that the text turns red.

Right-click the job and select “View job details”.

This will pop up a dialog box with details on why the simulation stopped.

If you are unsure what the details mean, please take a screenshot and send it to Lumerical Support.

Sometimes the error can be very long and a screenshot might not show all the error messages. In this case please maximize the error window before taking a screenshot or simply copy-paste the error messages to a text file and send it to Lumerical Support with a screenshot of the Advanced Resource Configuration settings.

Solver log files

The solver or simulation log files are generated for each project file, as the solver runs.

These log files will have the same name and location as the project file, but with a .log file extension.

If the solver fails to run properly, the log file might help troubleshoot the issue.

If you are unable to resolve the issue by investigating the log file, please send the log file to Lumerical Support.

Sign In or Register to comment.