🧰The Rhino and Grasshopper files used in this example can be downloaded here: variable_heat_sink.zip
The geometry consists of 2 main components.
These geometries are then merged to create a single part for the heat sink.
One way of utilizing this automated simulation workflow in Grasshopper is by connecting the output of the visualization block to a “Data Recorder” component. This will store the “{min} to {max}” values for each different simulation for the selected quantity such as temperature. Now, the geometry drop-down can be changed to increase the number of fins and seamlessly simulate the new geometry to calculate and record the temperatures. Lastly, the max temperature can be extracted with a custom python script and plotted for each new simulation with a “Quick Graph”.
The temperature distribution of the heat sink is displayed below, which shows that the max-min temperature is approximately 367 K and 319 K respectively for the 70 fin geometry. The maximum temperature for # of fins ranging from 10 to 70 with a step size of 10 is also displayed as a plot.