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 Comment

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

Sign in to comment.

Answers (0)

Products

Tags

Asked:

on 15 Aug 2018

Commented:

on 15 Aug 2018

Community Treasure Hunt

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

Start Hunting!