GithubHelp home page GithubHelp logo

heattransferoptimization's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.