Log In  

Cart #heat2d-0 | 2020-11-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Hi everyone!

I made this simple 2D heat simulation to experiment a bit with PICO-8. It solves the steady-state heat transfer equation iteratively using the Gauss-Seidel method and it shows the evolution of the solution at each step. During the simulation the fps gets a bit low since the grid is fairly big (128x128), but anyway I think it gave an interesting result so I decided to post here! I hope you like it.

You can edit the configuration of the simulation using the mouse functionality to add or remove high and low temperature boundaries. If a boundary does not have a fixed temperature block it is considered an open boundary (dT/dx=0 or dT/dy=0).

Thanks and all feedbacks are very welcome!

P#84295 2020-11-15 21:56 ( Edited 2020-11-19 20:30)

2

Hey @luihabl

Nice simulation, very impressive! As a physicist I am very glad to see someone doing math and physics with pico-8 and having fun as well.
Congrats!

P#84538 2020-11-20 17:25 ( Edited 2020-11-20 17:26)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 17:37:07 | 0.014s | Q:19