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

Source code for Convection-diffus & Navier stokes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2008, 11:30
Default Source code for Convection-diffus & Navier stokes
  #1
vishal
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
  Reply With Quote

Old   October 2, 2008, 04:27
Default Re: Source code for Convection-diffus & Navier sto
  #2
sudhakar
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..
  Reply With Quote

Old   October 2, 2008, 11:56
Default Re: Source code for Convection-diffus & Navier sto
  #3
vishal
Guest
 
Posts: n/a
Thanks a lot for the reply. But i use C and not Fortran... so any C codes available

Vishal
  Reply With Quote

Old   October 7, 2008, 06:49
Default Re: Source code for Convection-diffus & Navier sto
  #4
x-flow
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.

  Reply With Quote

Old   October 7, 2008, 12:00
Default Re: Source code for Convection-diffus & Navier sto
  #5
Vishal
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
  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
Navier Stokes code in C++ Naga Potluri FLUENT 3 February 12, 2012 18:45
1D Navier Stokes Code CFDtoy FLUENT 0 May 20, 2004 10:27
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 12:40
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43


All times are GMT -4. The time now is 18:23.