Fire Dynamics Simulator is an open source Computational Fluid Dynamics (CFD) software used to simulate the propagation of fire and smoke. It uses a Large-Eddy Simulations (LES) model applied to low-speed flows with thermal transport. It also comes with Smokeview, a visualization module.
The test case uses Fire Dynamics Simulator 6.7.6.
If you are interested in another version, please send us an email at email@example.com.
Please ensure that you have created a Qarnot account here.
This test case is based on a roman Temple of Portonus fire simulation.
You can download the case folder here, which contains the test case as a .fds file. You should put it at the same folder level as the script to launch the calculation. Please note that it needs to be unzipped before it can be used on Qarnot. Your tree view should look like this :
Launching the case
Before starting a calculation with the Python SDK, a few steps are required:
Be sure you have copied your authentication token in the script (instead of
<<<MY_SECRET_TOKEN>>>) to be able to launch the task on Qarnot.
To launch this script, simply copy the preceding code in a Python script, put at the same level as the temple folder and execute
python3 fds.py & in your terminal. You should copy the gist code (shown here) and not the raw code.
At any given time, you can monitor the status of your task on the general web interface Console. The following figure shows a successful FDS demo simulation on Qarnot’s console.
You should also now have a result folder in the output bucket and on your computer containing all the numerical results. You can open the IMP_TEMPLE.smv in Smokeview. If you have it installed on your computer, simply use the following command in a terminal :
smokeview IMP_TEMPLE. To output images of the results, simply use the render option in Smokeview. Then, to create animations like the one below, third party softwares like FFMPEG can be used. You can read more about how to run a FFMPEG case on Qarnot here.
That’s it! If you have any questions, please contact firstname.lastname@example.org and we will help you with pleasure!