CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   I Need Source Code for 2D Incompressible Flow (http://www.cfd-online.com/Forums/main/15328-i-need-source-code-2d-incompressible-flow.html)

Allan June 20, 2008 10:33

I Need Source Code for 2D Incompressible Flow
 
Please,

I am trying to implement the SIMPLE method of Patankar in a half staggered grid, but unfortunately, I can not find where the mistakes in my code are. I am using a central difference scheme in the convective terms. I would like to know where I can find a source code of a 2D incompressible flow implementation?

Praveen. C June 20, 2008 10:46

Re: I Need Source Code for 2D Incompressible Flow
 
Look here

http://www.cfd-online.com/Wiki/Codes#Free_codes

John June 20, 2008 10:47

Re: I Need Source Code for 2D Incompressible Flow
 
Peric code is the best for educational purpose,

you could download it from: ftp://ftp.springer.de/pub/technik/peric/peric.tar.gz

good luck

Allan June 20, 2008 10:51

Re: I Need Source Code for 2D Incompressible Flow
 
Many Thanks.

CDS June 20, 2008 19:18

Re: I Need Source Code for 2D Incompressible Flow
 
do not use central difference to start with. Use upwind first , when you get results with it, then switch to central differencing. your code probably is unstable because you are using CDS


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