CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

SIMPLE algorithm

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mia

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2009, 06:56
Default 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

Damrey likes this.
  Reply With Quote

Old   March 6, 2009, 07:54
Default 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.

  Reply With Quote

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

Old   March 9, 2009, 08:01
Default 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.
  Reply With Quote

Old   March 16, 2009, 19:59
Default
  #5
Member
 
Join Date: Mar 2009
Posts: 62
Rep Power: 17
RenardP is on a distinguished road
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 ?
RenardP is offline   Reply With Quote

Old   March 17, 2009, 07:30
Default
  #6
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
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 .
kid is offline   Reply With Quote

Old   March 17, 2009, 09:10
Default
  #7
New Member
 
Join Date: Mar 2009
Posts: 4
Rep Power: 17
Marcus is on a distinguished road
Quote:
Originally Posted by RenardP View Post
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

Last edited by Marcus; March 17, 2009 at 09:31.
Marcus is offline   Reply With Quote

Old   March 4, 2010, 00:20
Default about simple code
  #8
New Member
 
prashant kadam
Join Date: Dec 2009
Location: Pune
Posts: 19
Rep Power: 16
prashant810 is on a distinguished road
Quote:
Originally Posted by ztdep
;59298
maybe i can help you


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
prashant810 is offline   Reply With Quote

Old   July 6, 2012, 20:23
Default
  #9
Member
 
Michael Moor
Join Date: May 2012
Location: Ireland
Posts: 30
Rep Power: 14
michaelmoor.aero is on a distinguished road
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!!
michaelmoor.aero is offline   Reply With Quote

Old   July 7, 2012, 12:08
Default
  #10
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to 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.
ztdep is offline   Reply With Quote

Old   August 9, 2013, 15:14
Default
  #11
Member
 
sandy
Join Date: May 2013
Posts: 91
Rep Power: 13
archeoptyrx is on a distinguished road
Quote:
Originally Posted by ztdep View Post
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
archeoptyrx is offline   Reply With Quote

Old   August 10, 2013, 08:10
Default
  #12
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
http://www.cfd-online.com/Forums/blogs/ztdep/
ztdep is offline   Reply With Quote

Old   August 10, 2013, 08:48
Smile
  #13
New Member
 
prashant kadam
Join Date: Dec 2009
Location: Pune
Posts: 19
Rep Power: 16
prashant810 is on a distinguished road
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.


Quote:
Originally Posted by prashant810 View Post
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
prashant810 is offline   Reply With Quote

Old   May 31, 2016, 15:07
Default
  #14
New Member
 
dd
Join Date: May 2016
Posts: 15
Rep Power: 10
calmbeep is on a distinguished road
Quote:
Originally Posted by prashant810 View Post
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?
calmbeep is offline   Reply With Quote

Old   May 31, 2016, 21:22
Default
  #15
Member
 
LUQILIN
Join Date: May 2016
Location: Harbin, China
Posts: 35
Rep Power: 10
LUQILIN is on a distinguished road
Quote:
Originally Posted by calmbeep View Post
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'.
LUQILIN is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SIMPLE algorithm in 3D cylindrical coordinates zouchu Main CFD Forum 1 January 20, 2014 18:02
The correction on pressure equation of SIMPLE algorithm in MRFSimpleFOAM solver renyun0511 OpenFOAM Running, Solving & CFD 0 November 10, 2010 02:47
About Phase Coupled SIMPLE (PC-SIMPLE) algorithm Yan Kai Main CFD Forum 0 April 18, 2007 04:48
About Phase Coupled SIMPLE (PC-SIMPLE) algorithm Yan Kai FLUENT 0 April 14, 2007 00:17
SIMPLE algorithm Jonathan Castro Main CFD Forum 3 December 10, 1999 05:59


All times are GMT -4. The time now is 06:32.