Thunderhead Engineering Forum

Please login or register.

Login with username, password and session length
Advanced search  


Forum moved to

Author Topic: BAT  (Read 1217 times)


  • New Member
  • *
  • Posts: 8
    • View Profile
« on: July 16, 2019, 04:52:25 am »

I have created many FDS models that I want to compute with pyrosim, but manual operations are not very convenient. I want to use "BAT" to write a program to execute them continuously. I don't know if you have any experience in this area. Thank you.

Bryan Klein

  • Thunderhead
  • *****
  • Posts: 144
    • View Profile
    • Thunderhead Eng. Site
« Reply #1 on: July 19, 2019, 03:00:57 pm »

Many people write scripts to run a collection of FDS files from the command line.
Thunderhead does not provide support for this use case, but it's not uncommon to run simulations this way.

Here is a basic example from

if you are running on windows then create a file named runcases.bat (using the .bat extension is the key).

Put in this file:

fds case1.fds
fds case2.fds
fds casen.fds

To run this "batch" file type runcases at a command line.

You would need to add the path to fds.exe (bundled with PyroSim) into your system environment variables.
For the default installation, the path to fds.exe is "C:\Program Files\PyroSim 2019\fds".