Matlab and Free Convection
Hi.
I must write a software in matlab for school. It should solve the free convection problem (for a plate at constant temperature, and a fin array...). It should show the Velocity Profile and the Temperature Profile. I know i must solve a set of equation (heat, momentum and mass conservation) in Boussinesq approximation. What type of discretization should i use? FEM?FDM?FVM? In particular i want to know where i can find matlab software examples for this kind of problem. Thanks. any other advise is welcome... 
I have placed a Matlab code for the thermal cavity problem in the CFDWiki section, "source code archive"/"educational". This uses a finite element method with Hermite elements in a pressurefree velocity formulation. This might also be characterized as a velocitystream function method or stream functionvelocity method. The method is described in a recent CMAME paper given in the references.

My problem is 2D laminar incompressible natural convection of Phase change materials.I need the matlab code for this problem with various boundary conditions.
Regards, Nabeel engnab74@yahoo.com 
Is it just me or does the number of people who sign up and ask for a very specific piece of code tailored to their problem increase?? don't get me wrong, it's ok to ask for help and advise, and maybe even code snippets.... But this "ready to order" mentality bothers me greatly. It seems like many people have this "forum, solve my problems, right now!" type of thinking....
Usually, these people sign up, ask/demand things like "need code for everything free and not complicated so I can get my homework done without much trouble" and then leave and do not contribute.... I tend to ignore these posts, although I have (and I'm sure most people here have, too) quite an extensive toolbox / collection of codes in C or Matlab that might indeed help them.... If I see someone with only a few or one posts, just posting "send code to email" without havin shown any considerable effort in solving their problem on their own, I don't feel inclined to help. /rant out sorry to the poster, this is not against you personally, you are just the unlucky person who's straw broke my camel's back, so no offense intended! 
All times are GMT 4. The time now is 01:59. 