Skip to content

chrisstroemel/HeatTransferOptimization

Repository files navigation

HeatTransferOptimization

This was the project that started it all. A couple years ago in my heat transfer course we were tasked with designing an optimal convective heatsink for a simple 2D heat transfer problem. As part of the assignment, we were allowed to incorporate simulations from the software package of our choosing into our analysis. Most other students relied on off-the-shelf solutions like Solidworks Simulation or ANSYS, but naturally I got carried away and decided to implement my own in MATLAB. By writing my own simulation, I was able to use simulated annealing to evolve an optimal heat sink geometry.

Here is the original problem statement: Problem statement

The first thing you'll notice about this problem is that the object we need to simulate is fairly blocky. Since we don't need to worry as much about conforming to some intricate geometry, we can do away with finite elements and instead use finite differences which are much less of a pain to implement. This involves breaking up the heat transfer PDE into individual energy balances across a grid superimposed onto the part. This turns the PDE into a system of linear equations that allow us to easily solve for temperature based on the heat transfer boundary conditions.

This is what the simulation results look like: Results

Unoccupied surroundings are depicted as dark blue. This really old screenshot isn't labelled with proper units, but the color bar represents temperature in degrees C. Looking at the results, a few things stand out right away. The copper core and aluminum heat sink both have fairly uniform temperature, which makes sense since these materials have high thermal conductivity. There is also a region of high temperature near the insulated bottom of the part, which also makes sense.

So at this point we spent a while writing code to do something that we could have done in a few minutes in ANSYS, but now let's do something interesting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages