Flux Sim
August 2014

About

Flux Sim is thermal simulation program I wrote to test the Eigen matrix math library and the SFML graphics library.
Image in card

The thermal dynamics are performed by iteratively solving a large spare matrix linking each neighboring cell (image pixel)
to each other cell and locally equalizing the temperatures, simulating heat flow.
Image in card
The physics and mathematical infrastructure for this program were derived from Nuclear Heat Transport by M. M. El-Wakil

Capabilities

This application accurately simulates the thermal transport over time within a piece of aluminum,
although other materials can be added with material files which specify the material heat capacity at different temperatures.
Image in card

Because this application simply simulates a massive 2D grid as a matrix, it was easy to add support for insulated points and fixed-temperature points.
Simulating additional geometry, while certainly possible, has not been experimented with.
Image in card

Software

This program is written in platform-independent C++ code, but you'll have to source the libraries yourself and I have not tested Unix/OS X compilation.
The Windows executable can be downloaded here -- you'll also need the Visual Studio 2012 (32-bit) C++ redistributable.
The source code and assets can be downloaded here
Site Copyright © Gustave Granroth, 2019.