|
[Sponsors] |
Source code for Convection-diffus & Navier stokes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 1, 2008, 12:30 |
Source code for Convection-diffus & Navier stokes
|
#1 |
Guest
Posts: n/a
|
Hi,
I am solving a 2D convection diffusion equation and also navier stokes using Finite Volume method. I would like to know whether any source codes are available for them. I saw some source codes like Open foam, overture, NaSt3DGP etc from the CFD online links. I would like to know out of all these source codes or others which one should I use (that is reasonably efficient, easy to comprehend and takes reasonably less computational time) to solve my problem. Kindly help in this regard. Thanks in Advance. Vishal |
|
October 2, 2008, 05:27 |
Re: Source code for Convection-diffus & Navier sto
|
#2 |
Guest
Posts: n/a
|
hi, I suggest you to refer the codes provided by Peric. See the appendix section of the book by the Ferziger and Peric for how to access the codes. It is written in fortran and really very simple and self-explanatory..
|
|
October 2, 2008, 12:56 |
Re: Source code for Convection-diffus & Navier sto
|
#3 |
Guest
Posts: n/a
|
Thanks a lot for the reply. But i use C and not Fortran... so any C codes available
Vishal |
|
October 7, 2008, 07:49 |
Re: Source code for Convection-diffus & Navier sto
|
#4 |
Guest
Posts: n/a
|
I will suggest the use of OpenFVM:
http://openfvm.sourceforge.net/ It is very easy to comprehend just as the codes of Peric. It is coded in C and not fortran. It can be easily compiled in both Windows and Linux. It also has a reference manual which describes the numerical methods used. Note: For solving 2D convection/diffusion and navier-stokes, activate the calculation of u,v,p and T. Being T the solution of the convection/diffusion equation. This is done by changing the parameter (.par) file. For a quick start, look the tutorial in the reference manual. |
|
October 7, 2008, 13:00 |
Re: Source code for Convection-diffus & Navier sto
|
#5 |
Guest
Posts: n/a
|
Hi x flow,
Thanks a lot for the suggestions. I will download it and if I have any queries I need your help. Thanks in advance. Regards Vishal Nandigana |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Navier Stokes code in C++ | Naga Potluri | FLUENT | 3 | February 12, 2012 19:45 |
1D Navier Stokes Code | CFDtoy | FLUENT | 0 | May 20, 2004 11:27 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 13:40 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 14, 2000 00:03 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 11, 2000 04:43 |