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

Simple algorithm for incompresible flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2008, 18:50
Default Simple algorithm for incompresible flow
  #1
Marek Dominiak
Guest
 
Posts: n/a
Hello!

I have to implement Navier-Stokes equations in simple case - I mean it can be incompresible flow. I have to implement this in C using ADI method - I think that this is no so trivial task as I've thinking. I found some information about N-S equations but it's not so simple for me - I don't know which variables in these equations are very important and which I can avoid:

- can I avoid density ? (only velocity field is important for me in this case) - can I set viscosity to be constant ?

and so on ... I have many questions about this an after one week fights against this problem and searching in the internet informations can help me I'm only confused ...

Maybe someone have tutorial where this problem is solved ?

Maybe someone could share his/her code where N-S equations in simple case is solved (source can be in C, C++, JAVA (or other high-level programming language)) ?

For any reply thank you very much.

Best Regards Marek Dominiak
  Reply With Quote

Old   April 23, 2008, 22:49
Default Re: Simple algorithm for incompresible flow
  #2
N Kim
Guest
 
Posts: n/a
OpenFOAM for little complicated. A decent one that I am basing my research is iNavier. There are more.

  Reply With Quote

Old   April 25, 2008, 10:28
Default Re: Simple algorithm for incompresible flow
  #3
ztdep
Guest
 
Posts: n/a
I sugest you to download our teaching program about the simple algorith, i think it is very suitable for you. nht.xjtu.edu.cn
  Reply With Quote

Old   April 25, 2008, 11:03
Default Re: Simple algorithm for incompresible flow
  #4
Marek Dominiak
Guest
 
Posts: n/a
Could you put here direct link for this program? I couldn't open this site: nht.xjtu.edu.cn, even if I could open this site I think that I may problems with finding this program - I don't know Chinese language. Thank you for response. Best Regards Marek Dominiak
  Reply With Quote

Old   April 25, 2008, 11:06
Default Re: Simple algorithm for incompresible flow
  #5
Marek Dominiak
Guest
 
Posts: n/a
Thanks for this information - I will look at this program (and sources). Thank for reponse Best Regards Marek Dominiak
  Reply With Quote

Old   April 25, 2008, 14:02
Default Re: Simple algorithm for incompresible flow
  #6
andy2O
Guest
 
Posts: n/a
"I found some information about N-S equations but it's not so simple for me - I don't know which variables in these equations are very important and which I can avoid"

What is your goal? A university assignment, or something else?

I think your task will be *much* *much* easier if you become more familiar with the theory and numerics of flow equations before you start programming (or even reading other peoples code)! You will find a clear explanation of the algorithms you need to implement in the book:

S.V. Patanker, Numerical Heat Transfer and Fluid Flow (Series in Computational Methods in Mechanics and Thermal Sciences), Taylor & Francis, London, 1980.

Regards, andy

  Reply With Quote

Old   April 26, 2008, 03:43
Default Re: Simple algorithm for incompresible flow
  #7
ztdep
Guest
 
Posts: n/a
Dear friends: send a e mail to me, i will send the code back to you. ztdep@yahoo.com.cn regards
  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
code for SIMPLE algorithm - 2D Lid driven cavity flow problem - Collocated grid h_amooie OpenFOAM Programming & Development 1 January 22, 2022 11:33
Looking for simple, robust interface tracking algorithm ThomasTC Main CFD Forum 7 September 26, 2016 05:35
SIMPLE algorithm Fernando Herrera Main CFD Forum 5 July 17, 2016 04:06
outflow boudary condition in SIMPLE algorithm dallybird Main CFD Forum 0 March 6, 2003 11:55
On SIMPLE algorithm in compressible flow situation Abhijeet Vaidya Main CFD Forum 3 October 18, 2001 05:46


All times are GMT -4. The time now is 16:25.