Heat flow simulation
In this heat flow simulation you can adjust various parameters and observe the effect on the heat flow and cooling of the specimen. The simulation ignores the effect of heat loss from the sides of the specimen, i.e. it employs a one-dimensional model of heat flow through the specimen.
The bar is divided into 25 equal length elements, and, at each time step of the simulation, for each element, a new temperature, resulting from heat transfer at either end, is calculated. The size of the time step is set to the maximum allowed while ensuring numerical stability of the simulation.