{"id":3946,"date":"2012-10-26T08:53:35","date_gmt":"2012-10-26T12:53:35","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=3946"},"modified":"2012-10-26T08:53:35","modified_gmt":"2012-10-26T12:53:35","slug":"gui-2d-heat-transfer","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2012\/10\/26\/gui-2d-heat-transfer\/","title":{"rendered":"GUI 2D Heat Transfer"},"content":{"rendered":"<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/76890\">Will<\/a>'s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/35068-gui-2d-heat-transfer\">GUI 2D Heat Transfer<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/125623\">Dominik Gibala<\/a>.\r\n<br><br>\r\nLong, long ago in a galaxy far, far away, I was an aerospace engineering undergraduate. Back then, the classes I excelled most at were Statics, Solid Mechanics, Thermodynamics, and Heat Transfer. I even spent a year researching particle agglomeration in a combustion research group. Strange then that I chose a life of avionics and control design rather than one of finite element analysis.\r\n<br><br>\r\nDespite my chosen career path, heat transfer has always held a special place in my heart. And since I'm also a big fan of MATLAB GUIs, I was left with little choice but to select Dominik's work when I came across it. He has created a <a href=\"used https:\/\/www.mathworks.com\/help\/matlab\/apps.html\">MATLAB App<\/a> that displays the time-varying temperature of a square plate. Each edge of the plate has a fixed, user-specified temperature. This causes the plate to heat or cool from its initial condition.\r\n<br><br><center>\r\n<img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_thermal\/thermal_UI.png\" alt=\"GUI options\" \/>\r\n<br><br><\/center>\r\nOnce you set up your problem and push Run, it's kind of like you have a little lava lamp on your desk. I ran various experiments and found the following results particularly intriguing:<br><center>\r\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_thermal\/thermal1.png\" alt=\"The Crosshatch\"  height=\"201\" width=\"200\" \/>\r\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_thermal\/thermal2.png\" alt=\"The Shark\" height=\"201\" width=\"200\" \/>\r\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/will_campbell\/potw_thermal\/thermal3.png\" alt=\"The Bird\" height=\"201\" width=\"200\" \/>\r\n<br><br><\/center>\r\nFun as this is, there's still room for improvement in this submission. Here are some suggestions I have to make this App even better!\r\n<ul>\r\n<li>Enable the user to control the time step.<\/li>\r\n<li>Enable the user to control the color map.<\/li>\r\n<li>Lock the color bar's range at the beginning of simulation to the min\/max temperatures.<\/li>\r\n<li>Change the name of the files and GUI from Czech to English :).<\/li>\r\n<li>Solve the intermittent crash that occurs when the variable t gets cleared.<\/li>\r\n<li>Scale the axes to match the user-specified edge length rather than the number of points.<\/li>\r\n<\/ul>\r\nI leave the challenge to our readers.\r\n<br><br>\r\n<strong>Comments<\/strong><br>\r\nLet us know what you think <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=3946#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/35068-gui-2d-heat-transfer#comments\">comment<\/a> for Dominik.","protected":false},"excerpt":{"rendered":"<p>Will's pick this week is GUI 2D Heat Transfer by Dominik Gibala.\r\n\r\nLong, long ago in a galaxy far, far away, I was an aerospace engineering undergraduate. Back then, the classes I excelled most at... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2012\/10\/26\/gui-2d-heat-transfer\/\">read more >><\/a><\/p>","protected":false},"author":45,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3946"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=3946"}],"version-history":[{"count":7,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3946\/revisions"}],"predecessor-version":[{"id":3954,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3946\/revisions\/3954"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=3946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=3946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=3946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}