(conduction, convection, radiation) Geometry details (plates, pipes, or fins) Boundary conditions (constant temp, insulated, or flux) Solver preference (analytical vs. numerical)
The script calculates the cooling time by finding the index where and plotting the resulting cooling curve. www.mchip.net 3. Advanced Simulation Tools
Some sample MATLAB code to get you started:
% Boundary conditions T(1,:) = 100; % top (y=0) T(end,:) = 0; % bottom (y=Ly) T(:,1) = 50; % left (x=0) T(:,end) = 50; % right (x=Lx)