Education and Outreach Blog

« Back

HPC University Bi-Weekly Challenge - Heat Flow Viz

SUMMARY:
This problem challenges you to modify an existing program to generate output so you can create a visualization.

QUESTION:
The "Heat Flow Viz starter zip" file at the bottom of the challenge page provides a program that simulates the flow of heat through an object. This program is similar to the sample solution from an earlier challenge problem (http://hpcuniversity.org/students/weeklyChallenge/64/), except it is hard-coded to only simulate 3 time steps for an object with 3 rows and 3 columns and an initial left temperature of 100. Your task is to modify the program to output a CSV (comma-separated value) file for each time step of the simulation. These files will be used in the visualization.

The starting program is written in C, and instructions for compiling and running the program are provided in a README inside the folder contained in the zip file.

It is recommended to use the C functions fopen(), fprintf(), and fclose() to write out CSV files.

Instructions for using ParaView to generate the visualization are provided in the "Heat ParaView Instructions txt" file at the bottom of the challenge page. You can also choose a tool other than ParaView to do the visualization, but if you do so, your solution must contain a set of instructions for generating the visualization using the tool you choose. Whatever tool you use, you must visualize the object as a
"structured grid" using color to represent heat.

In addition to the modified program, your solution must also contain 3 images, one for each visualized time step of the simulation. Alternatively, you can provide an animated video of the 3 time steps.

SOLUTION:
Will be posted February 10, 2014

LINK:
http://hpcuniversity.org/students/weeklyChallenge/68/
 

Comments
Trackback URL: