# SIMPLE algorithm

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

 March 6, 2009, 06:56 SIMPLE algorithm #1 mia Guest   Posts: n/a i'm doing a project about solving Navier-Stokes equations by using pressure correction mehod.i use SIMPLE algorithm and MAPLE programming. Time s running out but i still unable to get the exact code. may i know who or where can i get code sample for SIMPLE algorithm(whether in MAPLE, MATLAB, C, or C++)? regards, mia

 March 6, 2009, 07:54 Re: SIMPLE algorithm #2 ab Guest   Posts: n/a search for peric's codes. he has simple implimented. Just follow him. Simple is not difficult to implement.

 March 7, 2009, 07:19 Re: SIMPLE algorithm #3 ztdep Guest   Posts: n/a maybe i can help you

 March 9, 2009, 08:01 Re: SIMPLE algorithm #4 mia Guest   Posts: n/a my project is based on anderson's book(computational fluid dynamics), if you have is in pg 434(applying the pressure correction method to the solution of the incompressible, viscous flow between two parallel plates by using the SIMPLE algorithm). All are there and what i only to do is programming. formerly i did MAPLE but i have to change to MATLAB due to supervisor's request.

 March 16, 2009, 19:59 #5 Member   Join Date: Mar 2009 Posts: 62 Rep Power: 8 I stronlgy suggest the use of C/C++ or FORTRAN, Matlab is not a suitable language for CFD development (you can use Matlab for small 1d problems), Anderson describes a 2d algorithm and you will have problems implementing this in Matlab. What exactly do you need ? Where you have encountered problems in implementing this algorithm ?

March 17, 2009, 07:30
#6
Senior Member

cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 8
Quote:
 Originally Posted by mia ;59259 i'm doing a project about solving Navier-Stokes equations by using pressure correction mehod.i use SIMPLE algorithm and MAPLE programming. Time s running out but i still unable to get the exact code. may i know who or where can i get code sample for SIMPLE algorithm(whether in MAPLE, MATLAB, C, or C++)? regards, mia
Plz use C or C++ or F . Its fun while implementing . Best of luck . I am also implementing SIMPLE for NV .

March 17, 2009, 09:10
#7
New Member

Join Date: Mar 2009
Posts: 4
Rep Power: 8
Quote:
 Originally Posted by RenardP I stronlgy suggest the use of C/C++ or FORTRAN, Matlab is not a suitable language for CFD development (you can use Matlab for small 1d problems)
I was in total agreement with you on this for a long time (and still am to a large extent), but the trend seems be of the speeds converging, what with Matlab's improving compiler and support for parallelization. The portability/cost argument remains in effect, though.

Last edited by Marcus; March 17, 2009 at 09:31.

March 4, 2010, 00:20
#8
New Member

Join Date: Dec 2009
Location: Pune
Posts: 10
Rep Power: 7
Quote:

hello,

my problem is same like mia,
i am also doing project, i read the vesteeg book, also patankars book,
but i am not able to write the code, and i have little time to complete the project, i am very frustreted bcause if i have not complited my project then i will be fail in taking the degree, so please help me giving the code for SIMPLE method using pressure correction and velocity correction.

thanks

 July 6, 2012, 19:23 #9 Member   Michael Moor Join Date: May 2012 Location: Ireland Posts: 30 Rep Power: 5 Hi everyone, I know that this post is old, but did you find the solution? or potentially willing to help me? time unfortunately is also rinning out and i have been working my ass off! most of my code is written but the pressure correction step ( i'm doing steady flow) is not converging for me!? i'd greatly appreciate any help!!

 July 7, 2012, 11:08 #10 Senior Member     p ding Join Date: Mar 2009 Posts: 287 Rep Power: 9 Dear Michal Find the fortran code in my blog, i have used this code for many years. thanks hope this will help you. it run on the windows inel fortran system.

August 9, 2013, 14:14
#11
Member

sud
Join Date: May 2013
Posts: 65
Rep Power: 4
Quote:
 Originally Posted by ztdep Dear Michal Find the fortran code in my blog, i have used this code for many years. thanks hope this will help you. it run on the windows inel fortran system.
Hello Bro ,

Can you give me the Fortran code ? or the link address for the blog ?

Thanks

 August 10, 2013, 07:10 #12 Senior Member     p ding Join Date: Mar 2009 Posts: 287 Rep Power: 9

August 10, 2013, 07:48
#13
New Member

Join Date: Dec 2009
Location: Pune
Posts: 10
Rep Power: 7

But I have wrote the code in C. I have written a code for square cavity by using SIMPLE algorithm and various discretization schemes. My results are good matched with the available experimental results. I have presented it in my university.

Quote:
 Originally Posted by prashant810 hello, my problem is same like mia, i am also doing project, i read the vesteeg book, also patankars book, but i am not able to write the code, and i have little time to complete the project, i am very frustreted bcause if i have not complited my project then i will be fail in taking the degree, so please help me giving the code for SIMPLE method using pressure correction and velocity correction. thanks
__________________
regards,
Prashant

 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 zouchu Main CFD Forum 1 January 20, 2014 18:02 renyun0511 OpenFOAM Running, Solving & CFD 0 November 10, 2010 02:47 Yan Kai Main CFD Forum 0 April 18, 2007 03:48 Yan Kai FLUENT 0 April 13, 2007 23:17 Jonathan Castro Main CFD Forum 3 December 10, 1999 05:59

All times are GMT -4. The time now is 18:47.