Inspiration

I think the results of the heat equation can be quite interesting, as it allows you to see how temperature spreads out over time, and can look quite nice when plotted as a contour plot.

What it does

Solves the heat equation in 2-dimension given inputs of the spatial domain, simulation time, initial conditions, and boundary conditions. The results are then plotted using contour plots throughout the specified simulation time.

How we built it

The app was built on MecSimCalc with the coding done in Python. The use of MecSimCalc allows for the user to easily input the required values and see the resulting plots. Numpy and Pillow libraries allowed for efficient manipulation of the required data, as the results were stored in a Numpy array, and the initial condition was input as an image, which required the use of Pillow. The Scipy library was also used for scaling arrays.

Challenges we ran into

Actually programming the solver for the equation wasn't too hard, but implementing all the choices of boundary conditions and an easy way for the user to provide an initial condition were challenging. I had quite a limited time to work on this, as I did most of the work during the week after work.

Accomplishments that we're proud of

I'm happy that I was able to complete this project given the limited time and my limited programming experience.

Built With

Share this project:

Updates