|
[Sponsors] |
June 13, 2011, 16:28 |
collocated(3d)
|
#1 |
New Member
sanit
Join Date: May 2011
Posts: 6
Rep Power: 15 |
As a part of my thesis I am looking for a C++ code that calculate the VELOCITY AND PRESSURE in a RECTANG CHANNEL using the solver (finite volume method)...
anybody has the code ? or can send me a link containing the code? or even can write the code for me or guide me to write the code? i will send the formulation to anybody who likes? (IT CONTAINS 30 MESHES IN X DIRECTION.10 MESHES IN Y DIRECTION AND3 MESHES IN Z DIRECTION) |
|
June 14, 2011, 06:16 |
|
#2 |
Senior Member
cfdnewbie
Join Date: Mar 2010
Posts: 557
Rep Power: 20 |
There are many free FV codes available on the net, however, considering your problem, you should do fine with a simple, structured FV solver....
Start by writing a FV formulation for a 1d, scalar, linear advection equation, and work your way up from there. Shouldn't take more than a week, and considering your problem size, you won't need a parallelization. If you require any more information, let me know! cheers newbie |
|
June 14, 2011, 15:45 |
|
#3 |
New Member
sanit
Join Date: May 2011
Posts: 6
Rep Power: 15 |
hi cheers
thanks for ur attention/unfortunately i couldnot find any code in net for my work.do u have any??i put my code for u if u give me ur emeil address plz .(with c++)but i think that its boundry is not correct/would u plz help me?thanks alot |
|
June 15, 2011, 02:35 |
Hi
|
#4 |
Member
|
Hi
I have written the finite volume code, and also grid generator for FVM in object oriented fashion. I can give you the code but you need to understand it and run the code it has different schemes in it. This code might have few bugs, you need to debug it and run the code. If you like this give me ur mail id I will send the code. |
|
June 15, 2011, 04:49 |
email
|
#5 |
New Member
sanit
Join Date: May 2011
Posts: 6
Rep Power: 15 |
||
|
|