# Sample code for SIMPLE-algorithm and solving Lid-Driven Cavity flow test is uploaded

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

 May 3, 2010, 11:05 Sample code for SIMPLE-algorithm and solving Lid-Driven Cavity flow test is uploaded #1 Member     Michail Join Date: Apr 2009 Location: Lithuania Posts: 32 Rep Power: 8 Dear colleagues! I uploaded sample code for SIMPLE-algorithm and solving lid-driven cavity flow test (Re=1000). It has a lot of shortcomings, but I think that it will be useful for all newcomers. I intend to develop it further, but now it very slowly converges. All notes will be useful, and hope it can be discussed. The code can be found here: http://www.cfd-online.com/Wiki/Sampl...9_-_Fortran_90 It predecessor - the code for solving Smith-Hutton test can be found here: http://www.cfd-online.com/Wiki/Appro...s_and_examples http://www.cfd-online.com/Wiki/Sampl...t_-_Fortran_90 I'll be glad and grateful to get your opinion about it

 May 18, 2010, 12:05 Simple-Algorithm #2 New Member   Mijail Febres Join Date: May 2010 Posts: 4 Rep Power: 7 HI, I started programming a SIMPLE-algorithm myself based on Malalaskera's book on a staggered grid for a 1-d constant density permanent flow. It's not working properly, velocities converge in 2 or 3 iterations but pressures don't, I think I have a problem with BC's treatment (constant known velocity on one side and constant known pressure on the other). Do you know any book that shows a clear example on boundary conditions treatment?, I mean, all books, from Patankar, Anderson, Versteg, etc talk about it, but no one has a clear example. The code you wrote is on a colocated grid, do you think it has advantages over a staggered grid for the 1-d problem I'm trying to solve? Thanks in advance

 May 18, 2010, 12:23 #3 Member     Michail Join Date: Apr 2009 Location: Lithuania Posts: 32 Rep Power: 8 Hi! Look here, may be this will be useful Please help with implemetation of boundaries conditions for flow in a pipe

 June 14, 2010, 13:38 SIMPLE Algortihm in Matlab #4 New Member   Jame Join Date: Jun 2010 Posts: 3 Rep Power: 7 Hi all..I have been trying to code for viscous incompressible flows using SIMPLE algorithm in Matlab using a staggered grid approach. The code worked really well for Couette flow. However for lid driven cavity, it is not showing required results. I have tried using different Reynolds number like 10, 100, 1000. Initially the code seems as if it will give the required result, however after a few iterations, oscillations begin and the solution fails. Is there any stability criteria for this flow problem? The time step I had used was 0.001 secs. Any kind of help in this regards will be highly appreciated. Thanks a lot.

 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 mia Main CFD Forum 0 February 28, 2009 00:22 Lisa Main CFD Forum 11 July 5, 2000 14:37

All times are GMT -4. The time now is 03:07.