|
[Sponsors] |
April 23, 2008, 19:50 |
Simple algorithm for incompresible flow
|
#1 |
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 |
|
April 23, 2008, 23:49 |
Re: Simple algorithm for incompresible flow
|
#2 |
Guest
Posts: n/a
|
OpenFOAM for little complicated. A decent one that I am basing my research is iNavier. There are more.
|
|
April 25, 2008, 11:28 |
Re: Simple algorithm for incompresible flow
|
#3 |
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
|
|
April 25, 2008, 12:03 |
Re: Simple algorithm for incompresible flow
|
#4 |
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
|
|
April 25, 2008, 12:06 |
Re: Simple algorithm for incompresible flow
|
#5 |
Guest
Posts: n/a
|
Thanks for this information - I will look at this program (and sources). Thank for reponse Best Regards Marek Dominiak
|
|
April 25, 2008, 15:02 |
Re: Simple algorithm for incompresible flow
|
#6 |
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 |
|
April 26, 2008, 04:43 |
Re: Simple algorithm for incompresible flow
|
#7 |
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
|
|
|
|
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 12:33 |
Looking for simple, robust interface tracking algorithm | ThomasTC | Main CFD Forum | 7 | September 26, 2016 06:35 |
SIMPLE algorithm | Fernando Herrera | Main CFD Forum | 5 | July 17, 2016 05:06 |
outflow boudary condition in SIMPLE algorithm | dallybird | Main CFD Forum | 0 | March 6, 2003 12:55 |
On SIMPLE algorithm in compressible flow situation | Abhijeet Vaidya | Main CFD Forum | 3 | October 18, 2001 06:46 |