Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: HeatTransfer in Matlab
Posted:
Nov 3, 2011 4:31 AM


Hey Torsten
I know the equations that will maintain the nodes at a certain temperature. But my problem is that i can't find how i can put that in a loop or i can't pick the correct "index" or inequality so that the loop will cover the 5x5 square only.
Thank you for getting back to me.
Torsten <Torsten.Hennig@umsicht.fraunhofer.de> wrote in message <a1fbffc452be4ef781027a0a09f4f523@o5g2000yqa.googlegroups.com>... > On 3 Nov., 07:08, "Green Sal" <cyberr...@hotmail.com> wrote: > > Hello guys. > > > > i am working on a heat transfer problem. I almost the full code ready but i am having a problem. In this problem, we have a square plate (20x20) and another inner square (5x5) in the center. In the problem we are trying to plot the temperature distribution of the plate giving heatflux from top, insulated left and bottom plates, left side is kept at 50C and the inner square is kept at constant temperature of 300C. My problem is that i can't find a way to let my code specify a constant temperature for the inner square. > > i know my code should look something like: > > > > elseif (somevalue)< i && i < (somevalue) "and" (somevalue) <j && < (somevalue) > > A(i,i + Ly_step) = 2*Fo; > > A(i,i  1) = Fo; > > A(i,i + 1) = Fo; > > B(i,1) = 2*Fo*Bi(5)*T_inf(5); > > A(i,i) = 1  4*Fo  2*Bi(5)*Fo; > > The constant temperature at the boundary of the inner square is > treated in the same way as the > constant temperature at the left side of the outer square. > What exactly is your problem ? > > Best wishes > Torsten.



