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

incompressible to compressible

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2008, 18:31
Default incompressible to compressible
  #1
cfdgeek
Guest
 
Posts: n/a
I have streamfunction and vorticity based model which gives me incompressible flow results.

How to convert this model into compressible?

Please help me.

  Reply With Quote

Old   August 27, 2008, 20:54
Default Re: incompressible to compressible
  #2
Ahmed
Guest
 
Posts: n/a
The vorticity transport equation is derived by taking the curl of the incompressible Navier Stokes equations. Please check the derivation, and correct me if I am wrong.
  Reply With Quote

Old   August 28, 2008, 02:33
Default Re: incompressible to compressible
  #3
cfdgeek
Guest
 
Posts: n/a
yes sir, you are correct so now i need NS equation which can take compressible effects to simulate shockwave with turbulence.

shall i convert this vorticity-streamfunction based code to primitive variables based one (ofcourse, to get NS equation)?

please help me with suitable idea,.

thanks in advance
  Reply With Quote

Old   August 28, 2008, 13:53
Default Re: incompressible to compressible
  #4
Ahmed
Guest
 
Posts: n/a
I do not know Why or What are you doing, are you writing a programme for academic thesis, research, or industrial needs..

I would not waste my energy trying to "convert this vorticity-streamfunction based code to primitive variables based one", you need to start afresh, take the book by Anderson, read the last chapter, it describes a flow chart for a 2D Finite difference compressible solver, which can be easily extended to 3D or get the book by Blazek and develop a 3D finite volume solver or the book by Hirsch or ...... You see, you have a good number of options and Only you can decide for the best option Good Luck
  Reply With Quote

Old   August 28, 2008, 21:37
Default Re: incompressible to compressible
  #5
solver-issues
Guest
 
Posts: n/a
actually its going to be very difficult. It all depends on what algorithm you are using to solve incompressible flow. If the solver now is segregated, then it is not advisable to convert it into compressible solver.

The reason is compressible solver that captures shock is entirely different algorithm than what you have.

However, solver or solution method is just one part of over all solver. There are many other things like reading mesh, getting control volume information etc etc. If you use current code you could save time here.

But i am afraid for compressible flow you might have to write whole algo again.

I would suggest that make a list of reusable parts of current program, if after this you think it is worth adding into the current program, then go ahead.

  Reply With Quote

Old   August 28, 2008, 21:59
Default Re: incompressible to compressible
  #6
cfdgeek
Guest
 
Posts: n/a
sir

I am doing this for my research. I think, i should go for making a 2D code compressible code.

Can you tell me? how to capture shock wave and turbulence together? I have an energy spectrum which gives the isotropic turbulence initial data and now i need to merge the shock wave with this.

please help.

  Reply With Quote

Old   August 29, 2008, 01:38
Default Re: incompressible to compressible
  #7
Ahmed
Guest
 
Posts: n/a
OK, you know the scope and objective of your research, I would suggest reading the last chapter of Anderson book, study the flow chart and see if it fits your research then roll up your sleeves. Keep the following book handy: C.A.J. Fletcher, Computational Techniques for Fluid Dynamics. Good Luck
  Reply With Quote

Old   September 3, 2008, 06:31
Default Re: incompressible to compressible
  #8
student
Guest
 
Posts: n/a
Please correct me if I am wrong.

Since we dont seperate equation for pressure, we use vorticity stream funtion method to remove pressure for incompressible flow. where as incase of compressible flowl, we have equation of state to find pressure. So no need to go for vorticty streamfuntion method. You can solve based on primitive variable method.
  Reply With Quote

Old   September 3, 2008, 23:35
Default Re: incompressible to compressible
  #9
solver-issues
Guest
 
Posts: n/a
you are definitely not wrong in asking this question. But it seems the question was what shall be done to change an incompressible solver which is based on vorticity formulation to compressible solver .

If one has to just convert results from u,v,w and vorticity to u,v,w and pressure, i believe it might be done without much hassle.

But since solver was incompressible and to convert it into compressible (a density based) would be big issue. Because in this senario you are change whole algorithm, not just results.

if someone want to stick to pressure based compressible than change won't be much. Pressure matrix won't be symmetric now and it could be solved with solved with suitable method.

  Reply With Quote

Old   September 4, 2008, 00:54
Default Re: incompressible to compressible
  #10
student
Guest
 
Posts: n/a
Thank you. I understood.
  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
compressible and incompressible flow chinababu FLUENT 4 November 13, 2008 06:56
Can a compressible solver solve incompressible ? jinwon park Main CFD Forum 17 December 13, 2007 06:00
Compressible -> incompressible. Jinwon Main CFD Forum 6 November 23, 2007 22:07
Incompressible and compressible flow. John. Main CFD Forum 1 December 15, 2004 12:29
Compressible vs. Incompressible formulations Fernando Velasco Hurtado Main CFD Forum 3 January 7, 2000 17:51


All times are GMT -4. The time now is 04:36.