Hi, I am quite new in Mathematica and I have a problem I am not able to solve for some time. I need to calculate a thermodynamical problem, where I have heat transfer within the annulus of two pipes. To calculate the temperature difference between the two pipes I need to do a recursive sequence. The following code is just a very simplified one.
dT = 0.5;
Tinside = 25;
R[dT_] = (2*dT*3)/5;
Nu[dT_] = (R[dT]*2)/(R[dT]*6);
hb[dT_] = (5*Nu[dT])/6;
hr[dT_] = (5 - dT)*(4 - dT);
Res[dT_] = 1/(2*hb[dT]) + 1/(2*hr[dT]);
Toutside[dT_] = 6/Res[dT]/(2/(4*Res[dT]));
dTnew[dT_] = Tinside - Toutside[dT];
DeltaT = NestList[{R[dT], Nu[dT], hb[dT], hr[dT], Res[dT], Toutside[dT],
dTnew[dT]}, dT, 2]
The output of 2 recursive steps of this Calculation is: {0.5, {0.6, 0.333333, 0.277778, 15.75, 1.83175, 12., 13.}[ 0.5], {0.6, 0.333333, 0.277778, 15.75, 1.83175, 12., 13.}[{0.6, 0.333333, 0.277778, 15.75, 1.83175, 12., 13.}[0.5]]}
What i want Mathematica to do, is to redefine dTnew as my new dT an recalculate the whole process many more times, to become an accurate temperature difference (dTnew) after about 10 recursive steps. At the very beginning i just defined my dT=0.5 as a "starting point". Is it possible to do this with NestList, or is there another, maybe more efficient way? Any help would be appreciated! Thank you in advance!