Running FDS on a Raspberry Pi

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:

photo

On the Raspberry Pi, we performed the following steps:

  1. Installed the freely available gfortran compiler (sudo apt-get install gfortran)
  2. Downloaded the FDS repository from Google Code to ~/FDS-SMV
  3. Compiled the ~/FDS_Compilation/gnu_linux_32 target for FDS
  4. Ran one of the example cases in the ~/FDS-SMV/Verification/ folders called propane_flame_deposition.fds

IMG_0924

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.

IMG_0930

Posted in FDS, fire, Fun, Learning, Programming, Research, Science, Teaching