# Negative density problem. compressible flow

 Register Blogs Members List Search Today's Posts Mark Forums Read

 July 10, 2008, 04:19 Negative density problem. compressible flow #1 Karl Guest   Posts: n/a I am trying to calculate air flow from a big channel to a very narrow channel. The walls are adiabatic. Very simple flow. At the beginning, I assume the air as incompressible fluid and the computation seemed to be well but the pressure drop is clearly too big. Then I put the density as the function of T and P. This time STAR-CD stopped after a couple of steps and the info file indicates that a negative density was found in near the entrance of the narrow channel. The turbulence switch is on, and normal k-e high Re model was applied. What could be the probable reason for this kind of error? I am very new to Star-CD and CFD, and really have no idea where the error comes from. Could you guys give me some hint? Thank you very much.

 July 10, 2008, 08:19 Re: Negative density problem. compressible flow #2 James Guest   Posts: n/a The problem is probably not physically correct. The fact that you had too big a pressure drop incompressible is probably telling you this. When you go compressible (depending on where your pressure reference is) you get into a death spiral whereby the pressure drops to pull more flow, this drops the density, puts up the velocity which will add to the loss which increases the pressure loss required.... You need to do a scoping calc to make sure that the problem set is sensible. Then make sure the BCs are appropriate and the pressure reference set where you want it. An approach is to run incompressible first then switch over to compressible - however I believe in the restart after changeover it calculates the density compressibly and only then applies the relaxation (I could be wrong I haven't tried it for a while). Or you can start the problem compressible with a very small relaxation factor - i.e. 0.01. You can also try turning off the pressure initialization. The AMG solver option will help propagate a solution faster as well - which may or may not be helpful. A reasonably large subset of problems that have the run characteristics you describe are badly posed or, if not, quite close to badly posed and thus require help in getting started to find the correct solution.

 July 10, 2008, 16:41 Re: Negative density problem. compressible flow #3 KARL Guest   Posts: n/a Thank you very much. I also found the problem and that the wrong scale factor was applied. After correcting the scale factor, every thing is O.K. Thank you very much!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Dinesh Siemens 4 January 26, 2009 13:53 Mirek FLUENT 0 August 20, 2008 08:59 Ahmet Main CFD Forum 11 May 22, 2007 03:48 Gopi Siemens 0 April 3, 2007 06:49 Miriam Siemens 0 May 10, 2002 04:21

All times are GMT -4. The time now is 16:28.