CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   SIMPLE algorithm (https://www.cfd-online.com/Forums/main/16439-simple-algorithm.html)

 mia March 6, 2009 06:56

SIMPLE algorithm

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

 ab March 6, 2009 07:54

Re: SIMPLE algorithm

search for peric's codes. he has simple implimented. Just follow him. Simple is not difficult to implement.

 ztdep March 7, 2009 07:19

Re: SIMPLE algorithm

 mia March 9, 2009 08:01

Re: SIMPLE algorithm

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.

 RenardP March 16, 2009 19:59

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 ?

 kid March 17, 2009 07:30

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 .

 Marcus March 17, 2009 09:10

Quote:
 Originally Posted by RenardP (Post 209677) 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.

But that's for another thread :)

 prashant810 March 4, 2010 00:20

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

 michaelmoor.aero July 6, 2012 19:23

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!!

 ztdep July 7, 2012 11:08

Dear Michal
Find the fortran code in my blog, i have used this code for many years.
it run on the windows inel fortran system.

 archeoptyrx August 9, 2013 14:14

Quote:
 Originally Posted by ztdep (Post 370229) 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

 ztdep August 10, 2013 07:10

http://www.cfd-online.com/Forums/blogs/ztdep/

 prashant810 August 10, 2013 07:48

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 (Post 248473) 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

 calmbeep May 31, 2016 14:07

Quote:
 Originally Posted by prashant810 (Post 444846) Thanks to all for reply, 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.

Hello, may I have a look on your SIMPLE algorithm codes? Is it not recommended to use MATLAB for this?

 LUQILIN May 31, 2016 20:22

Quote:
 Originally Posted by calmbeep (Post 602715) Hello, may I have a look on your SIMPLE algorithm codes? Is it not recommended to use MATLAB for this?
This is a very old post,dude. Try others'.

 All times are GMT -4. The time now is 21:23.