# Crank-Nicholson scheme for Heat Equation

 Register Blogs Members List Search Today's Posts Mark Forums Read

 June 7, 2004, 08:10 Crank-Nicholson scheme for Heat Equation #1 Shmulik Uziel Guest   Posts: n/a Hello all, I need to solve Heat equation, Cylindrical coordinates with the crank-nicholson numerical scheme and by the ADI method to solve the system pf linear algebric equations. I dont know how to discerte the equation: T_t=1/r* _r(r*k*T_t) + 1/r^2 * _teta(k*T_teta)+ S(T) T_t , _r and T_teta arte the partial diferantial in circle. boundary condition: T_r(r=0,teta)=0 ; T(r=1,teta)=1 init cond: T(t=0, teta)=r The discretization shold be with the crank=Nich schema. Does some have a ready script for the numerical program ( in matlab)?

 June 7, 2004, 08:52 Re: Crank-Nicholson scheme for Heat Equation #2 Leo Guest   Posts: n/a check out matlabcentral.com

 June 7, 2004, 12:35 Re: Crank-Nicholson scheme for Heat Equation #3 Shmulik Uziel Guest   Posts: n/a

 June 7, 2004, 12:36 Re: Crank-Nicholson scheme for Heat Equation #4 Shmulik Uziel Guest   Posts: n/a Leo, what shoud I look for at matlab.com ? I didn't find anything usefull for my problem.

 June 8, 2004, 01:34 Re: Crank-Nicholson scheme for Heat Equation #5 Leo Guest   Posts: n/a You should be looking at http://www.matlabcentral.com. You have to do a bit of searching. Click on the File exchange link. I am giving the link below. You may find a matlab code that matches your requirements. http://www.mathworks.com/matlabcentr...oadCategory.do Also check out their newsgroup.