New Reply

Matlab program using implicit Finite Difference

 
Share Thread
Feb29-12, 05:40 PM   #1
 

Matlab program using implicit Finite Difference


Hello,

I need help writing a matlab program to solve a heat transfer problem implicitly. For some reason this is very confusing to me. The problem is stated below. Any help is greatly appriciated. Let me know if you need a little more info.

I need to write a program to solve this problem. I want to solve for a temperature T(i,n) using the temperature at the 3 nodes ahead of it. Essentially it's going to be a tridiagonal matrix in which you can solve using Thomas Algorithm. I just need help writing a program to get this tridiagonal matrix.


Edit: Also, all variable are dimensionless, therefore time goes from 0 to 1 and x also goes from 0 to 1. time is broken up into Δn parts and x is broken up into Δi parts. λ = Δt/Δx2
PhysOrg.com science news on PhysOrg.com

>> City-life changes blackbird personalities, study shows
>> Origins of 'The Hoff' crab revealed (w/ Video)
>> Older males make better fathers: Mature male beetles work harder, care less about female infidelity
Feb29-12, 08:01 PM   #2
 
I guess this might help some:

This what the PDE that was discretized

New Reply

Similar discussions for: Matlab program using implicit Finite Difference
Thread Forum Replies
Help with finite difference for matlab Engineering, Comp Sci, & Technology Homework 1
Implicit Finite difference method to solve a Heat Transfer problem Mechanical Engineering 0
i need finite difference code in matlab Differential Equations 0
finite difference method and matlab Math & Science Software 0
Finite Difference Matlab Code For ODE'S Math & Science Software 0