Home Forums FDTD Batch mode

Viewing 1 reply thread
  • Author
    Posts
    • #10569
      Rafael Gonzalez
      Participant

      Is there a way to run OptiFDTD in batch or sweeping mode. I need to run several simulations where a parameter of the structure in question is changed, but I’d like to do them automatically.

      Thank you very much.

    • #17920
      mohammed mostafa
      Participant

      thanks Aurelien

    • #10887
      Aurelien Duval
      Participant

      Hi,

      Yes of course you can use the command line to launch OptiFDTD simulator.

      The simplest way is to launch the simulation window corresponding to your type of simulation (2D or 3D) and giving it your project file path as a parameter. For example, if I have a simulation file called test.fdt in c:\sim\, I can type the following command in the command window (or in a batch file):

      "c:\Program Files\Optiwave Software\OptiFDTD 12\bin\OptiFDTD_controllerSim3D.exe" c:\sim\test.fdt

      If you want to give a specific script to execute, you can use more advanced command lines. They are give in appendix D of the user manual

      +1
Viewing 1 reply thread
  • You must be logged in to reply to this topic.