Simple algorithm for incompresible flow
Hello!
I have to implement NavierStokes 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 NS 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 NS equations in simple case is solved (source can be in C, C++, JAVA (or other highlevel programming language)) ? For any reply thank you very much. Best Regards Marek Dominiak 
Re: Simple algorithm for incompresible flow
OpenFOAM for little complicated. A decent one that I am basing my research is iNavier. There are more.

Re: Simple algorithm for incompresible flow
I sugest you to download our teaching program about the simple algorith, i think it is very suitable for you. nht.xjtu.edu.cn

Re: Simple algorithm for incompresible flow
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

Re: Simple algorithm for incompresible flow
Thanks for this information  I will look at this program (and sources). Thank for reponse Best Regards Marek Dominiak

Re: Simple algorithm for incompresible flow
"I found some information about NS 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 
Re: Simple algorithm for incompresible flow
Dear friends: send a e mail to me, i will send the code back to you. ztdep@yahoo.com.cn regards

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