1-D heat transfer MATLAB Code

Dear all,
I want to solve a 1-D heat transfer equation with mixed boundary conditions with a finite difference method; On the left end I have Neuman boundary condition and right end I have Dirichlet boundary condition: ∂T/∂t= κ ∂^2T/∂x^2
k= Diffusivity constant =0.001
Initial condition; T(x,0)=To where To=-20 degree centigrade
Boundry conditions: dx/dt(0,t) = 0 , T(L,t)=0
I will be very very thankful if anyone can help me regarding its MATLAB code? Waiting for your kind replies
Regards, Fahad Pervaiz

1 个评论

Can you elaborate more, mathematical way, I have no idea what the heat transfer means. But your problem seems easy after understanding the question properly

请先登录,再进行评论。

回答(0 个)

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by