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

Programming......need guidence!!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2006, 00:49
Default Programming......need guidence!!!
  #1
vijesh joshi
Guest
 
Posts: n/a
Hello friends. I am interested to write a program to obtain the pressure distribution over a wedge shaped body using C-language. Inlet conditions are v=1851.5 m/s p=0.5643 atm t=258 K. All the other boundary conditions are known. I have to start from the first step i.e., from mathematical modeling for the problem. If anybody can guide me I will be very grateful to him/her. My mail-id is vijeshjoshi23@yahoo.co.in Thank you.
  Reply With Quote

Old   May 6, 2006, 15:14
Default Re: Programming......need guidence!!!
  #2
ganesh
Guest
 
Posts: n/a
Dear Vijesh,

I suppose that you are interested in the inviscid flow past a 2D wedge. In such a case, the mathematical model is known to be the Euler equations. Your mach number is around 5.5, whic means a supersonic case. The first thing that you would have to do is to generate the grid for this configuration. Once this is done, you need to set up a flow solver with the basic constituents of time-stepping, solution update in each volume(point) and residual calculations, to declare convergence, in additon to writing down the solution files etcc..., which conatins the data you are intersetsed, for eg. pressure as in your case. Of course, BCs play an important role in getting the right steady--state solution and is contained in your flow solver. Making a general--purpose flow solver in FVM on unstructured grids is neither straightforward, nor quick and will take conisderable time to understand the numerics and the way it works in CFD. If you are looking forward at some immediate results etc..., I suggest that you try some commerical/opensource software. If you are planning for your own CFD program, you need to first go through some basic texts/opencourse notes etc... to understand the various concepts and tools involved( eg. Runge-Kutta time stepping, Roe/VanLeer schemes, Implementing BCs etc...). You could initially try out a simple structured solver such as on a flat plate, based on finite--differences after you have got all the ideas clear, to test out the implementation before launching yourself into a general--framework 2D FVM code. All the best for your endeavours, but remember that it is not easy, but you could find it intersting enough.

Regards,

Ganesh
  Reply With Quote

Old   May 8, 2006, 03:35
Default Re: Programming......need guidence!!!
  #3
Vijesh Joshi
Guest
 
Posts: n/a
Hi Ganesh. Thanks for your reply. I will try it out. Can you please tell me where I can get these open course notes?
  Reply With Quote

Old   May 11, 2006, 09:10
Default Re: Programming......need guidence!!!
  #4
ganesh
Guest
 
Posts: n/a
Dear Vijesh,

Look into MIT open course site. It is really good for quite a number of fields.

Regards,

Ganesh

  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
A book for a beginner wanting to learn programming frank Main CFD Forum 9 May 13, 2014 00:15
Programming a mesh m0t0r0ne Main CFD Forum 6 January 23, 2011 13:59
OpenFoam programming prapanj OpenFOAM 10 March 18, 2010 08:23
Programming in OpenFOAM vinu OpenFOAM 2 July 11, 2009 11:16
new CFD Programming Forum Thinker Main CFD Forum 14 November 19, 2002 17:03


All times are GMT -4. The time now is 08:01.