# Matlab and Free Convection

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

 July 3, 2011, 03:45 Matlab and Free Convection #1 New Member   Joe Join Date: Jun 2011 Posts: 1 Rep Power: 0 Sponsored Links 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...

 July 7, 2011, 15:22 #2 Senior Member   Jonas T. Holdeman, Jr. Join Date: Mar 2009 Location: Knoxville, Tennessee Posts: 109 Rep Power: 11 I have placed a Matlab code for the thermal cavity problem in the CFD-Wiki section, "source code archive"/"educational". This uses a finite element method with Hermite elements in a pressure-free velocity formulation. This might also be characterized as a velocity-stream function method or stream function-velocity method. The method is described in a recent CMAME paper given in the references.

 February 26, 2012, 06:12 #3 New Member   Nabeel Join Date: Feb 2012 Posts: 1 Rep Power: 0 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

 February 26, 2012, 06:55 #4 Senior Member   cfdnewbie Join Date: Mar 2010 Posts: 557 Rep Power: 13 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!

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Prahallada Main CFD Forum 2 August 15, 2009 03:30 Daniel_Cro Main CFD Forum 2 March 25, 2009 16:08 Mikhail Main CFD Forum 1 September 19, 2003 11:53 Jonas Larsson Main CFD Forum 0 August 13, 2003 09:13 Johan Sylwander Main CFD Forum 1 May 24, 2000 15:26