Hello everyone, I am new to Excel Macros, I have some (limited) computing knowledge though. i am trying to use excel to perform the equation in the image below. This equation is meant to represent the heat distribution though insulation.
descretizationequation.jpg
where Dt is the time step= 0.065 and the superscript n represents the current time step.
The image below shows the parameters to enter into this equation. (these can also be seen in the attached workbook)
parameters.jpg
I am not entirely sure how to get excel to calculate T at each time step for each layer.
I have made a start on the coding, however the results show that temperature does not change with time when it should, please note that this coding is currently missing the final term in the equation as shown in the image below (I am doing it step by step), but in terms of the output there should still should be some changes in T with time.
final part of equation.jpg
Please see below for the coding I have started: and comments to help would be greatly appreciated.
Best Wishes,
Sarah
![]()
Please Login or Register to view this content.
Bookmarks