Skip to content

Program that allows simulating heat transfer based on the heat transfer differential equation. The calculations are done in parallel using CUDA API and visualized with OpenGL.

Notifications You must be signed in to change notification settings

KarolGutkowski/HeatTransferVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heat Transfer Visualizer

This is a visualization of heat equation based on a heat equation differential equation:

$$\frac{\partial T}{\partial t} = \alpha (\frac{\partial^2 T}{\partial x^2} + \frac{\partial^2 T}{\partial y^2})$$

This formula can be rewritten to calculate T(x,y,t) based on the temperature at the previous interval. The formula can be visualized as a stencil.

image

The blue dot signifies T(x,y,t), whereas the red dots signify values of T at the previous time stamp on which T at the current time step depends.

Stencil being one of the very popular parallel patterns, was a topic of Chapter 8 in "Programming Massively Parallel Processors" by David Kirk and Wen-mei Hwu which inspired me to use this visualization and apply the suggested optimization to parallel stencil.

heat.transfer.1.mp4

About

Program that allows simulating heat transfer based on the heat transfer differential equation. The calculations are done in parallel using CUDA API and visualized with OpenGL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages