With the help of my labmate Andrew, we successfully compiled and ran the fire model Fire Dynamics Simulator (FDS) on a Raspberry Pi. The Raspberry Pi is a $35 computer with a 700 MHz processor, 512 MB of RAM, and a 4 GB disk (via an SD card). Our Raspberry Pi runs a version of Linux called Rasbpian, which is based on the Debian Linux distribution.
All of the hardware on the Raspberry Pi that we ran FDS with is shown in this picture:
On the Raspberry Pi, we performed the following steps:
- Installed the freely available gfortran compiler (sudo apt-get install gfortran)
- Downloaded the FDS repository from Google Code to ~/FDS-SMV
- Compiled the ~/FDS_Compilation/gnu_linux_32 target for FDS
- Ran one of the example cases in the ~/FDS-SMV/Verification/ folders called propane_flame_deposition.fds
I think this is an exciting time for this type of technology, and I am excited to see how devices like the Raspberry Pi can be applied to various fire problems.