# Making the density a function additional variab.

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

 August 5, 2003, 13:09 Making the density a function additional variab. #1 Sebastien Perron Guest   Posts: n/a Hi All, I am a CFX 5 user and I am attempting to solve a flow where the "effective density" is a function of an additional variable. I am having all kind of troubles with it (I get by CFX-PRE but CFX-SOLVER crashes). Did anyone ever succesfully implemented such formulation in CFX 5?

 August 6, 2003, 17:05 Re: Making the density a function additional varia #2 jonathan Guest   Posts: n/a Sebastien, Doesn't the density have to be a function of the thermodynamic state of the fluid? Are you assuming ideal gas? What exactly do you mean by the "effective density"? Perhaps I don't properly understand your problem, but maybe I can be of help with more information. I am a relatively new CFX 5.6 user and am working on a somewhat similar problem (I want the additional variable to contribute to the overall pressure). I might be wrong, but I believe an additional variable is considered massless. Does anyone know if that is correct? Jonathan

 August 6, 2003, 19:32 Re: Making the density a function additional varia #3 Sebastien Perron Guest   Posts: n/a Jonathan, when the fluid is an ideal gaz, yes the density is thermodynamic variable and it is not a good idea to change it at will. But In my case, I am considering an incompressible fluid with a constant density. The "effective density" would me defined as rho*add_variable where the add_variable is a volume fraction. It is for a very special model. I have tried several things with fortran subroutines, but it appears that CFX is in a way very well built: it may even crach when the density is a function of variables that are not built-in. (No there was not any bugs in my routines..). I am about to consider another approach to implement my physical model.

 August 8, 2003, 07:03 Re: Making the density a function additional varia #4 Astrid Guest   Posts: n/a Probably not the same, but we have used gases with densities that depended on P and T in a non-ideal way. Then we had to give in that density varied on 'Pressure' and 'Temperature'. I think CFX than makes a look up table for the different states. Just guessing, but could it be that your look up table is not generated automatically. Call your local representative........... Astrid

 August 8, 2003, 08:03 Re: Making the density a function additional varia #5 Sebastien Perron Guest   Posts: n/a Hi Astrid, I have tried making the density of function of pressure and tempereture: it works well. The only problem comes when the density is a function of an additional variable. Thanks anyways.

 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 alloveyou CFX 2 June 14, 2012 14:20 asaijo OpenFOAM Installation 9 April 6, 2011 12:21 gschaider OpenFOAM Installation 113 December 2, 2009 11:23 matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51 Christian Main CFD Forum 2 February 27, 2007 07:27

All times are GMT -4. The time now is 06:27.