
[Sponsors] 
January 28, 2008, 17:58 
Pressure & Density functions

#1 
Guest
Posts: n/a

Hi
How do we make the pressure function of density. What is the expression for it. I need to find pressure fluctuations on the trailing edge of an airfoil. Thank you very much. 

January 28, 2008, 18:33 
Re: Pressure & Density functions

#2 
Guest
Posts: n/a

Is it a compressible or incompressible flow?


January 28, 2008, 18:48 
Re: Pressure & Density functions

#3 
Guest
Posts: n/a

Compressible indeed!


January 28, 2008, 18:58 
Re: Pressure & Density functions

#4 
Guest
Posts: n/a

And isentropic?


January 28, 2008, 19:11 
Re: Pressure & Density functions

#5 
Guest
Posts: n/a

Well i will be using smagorinsky's model to model the effects of isentropic turbulence on my large eddies. What this has to do with the expression for the function of pressure.
CFD newbie 

January 28, 2008, 20:10 
Re: Pressure & Density functions

#6 
Guest
Posts: n/a

On isentropic flows the pressure and density varies with the machnumber. Is that what you mean?


January 28, 2008, 22:18 
Re: Pressure & Density functions

#7 
Guest
Posts: n/a

To get the pressure, you need the density and the temperature  AND an equation of state for the fluid.
For air, the ideal gas law is often used. If you're doing a CFD flow for a compressible fluid, you'll usually be solving the energy conservation law in addition to 1, 2, or 3 momentum equations and the mass conservation law. And of course appropriate turbulence models. Your question appears to be pretty fundamental. What have I missed? 

January 29, 2008, 07:21 
Re: Pressure & Density functions

#8 
Guest
Posts: n/a

I need to obtain pressure fluctuations at the trailing edge of my airfoil. In order to do that i will have to run a compressible simulation. Compressible flow is activated in CFX using one of the following:
1) By using the total energy model in conjunction with an ideal gas or real fluid. 2) BY using the total energy model in conjunction with general fluid whose density is a function of pressure. Now i would like to opt for second option. Then how do i make my density function of pressure. You guys have confused me even more with your answers. I am new CFD user, please keep it simple. Thanks 

January 29, 2008, 07:51 
Re: Pressure & Density functions

#9 
Guest
Posts: n/a

I don't get it right.
Maybe you can use the isentropic relation between pressure and density for an ideal gas? p=C*rho^gamma C is a constant at a reference value. C=p0*rho0^gamma. But I think this is not what you are thinking about ... 

January 29, 2008, 11:12 
Re: Pressure & Density functions

#10 
Guest
Posts: n/a

Ask the CFX technical support guys (or gals?).


January 29, 2008, 11:24 
Re: Pressure & Density functions

#11 
Guest
Posts: n/a

Thanks for your reply otd. I was not expecting it to be that technical especially when i have access to experts CFD users like yourself.


January 29, 2008, 12:56 
Re: Pressure & Density functions

#12 
Guest
Posts: n/a

You should use Option 1 (the total energy model in conjunction with an ideal gas or real fluid). Pick an ideal gas unless your Mach number is very very high or Reynolds number is very very low.
Option 2 is probably meant for special situations, such as barotropic flow (http://en.wikipedia.org/wiki/Barotropic), and you should avoid it unless you are dealing with that sort of situation where the isobars coincide with the isopycnics. 

January 29, 2008, 13:47 
Re: Pressure & Density functions

#13 
Guest
Posts: n/a

Thank you very much Himansu. So in the first case i do not need to make my density function of pressure. In an ideal gas they should be proportional, if density changes so will pressure. Is that right!
CFD newbie 

January 29, 2008, 14:31 
Re: Pressure & Density functions

#14 
Guest
Posts: n/a

In an ideal gas, the density is a function of both pressure and temperature, as stipulated by the equation of state. By picking Option 1 and using an ideal gas, CFX will calculate two out of three (density, temperature, pressure) using the conservation laws of mass and energy. CFX will use the ideal gas equation of state to automatically calculate the third of the three, so that you do not need to worry about specifying the dependence of density on pressure.


January 29, 2008, 15:13 
Re: Pressure & Density functions

#15 
Guest
Posts: n/a

Thank you so much Himansu. This should solve my problem.
CFD newbie 

Thread Tools  
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Fluent Vs CFX, density and pressure  Omer  CFX  9  June 28, 2007 04:13 
Does star cd takes reference pressure?  monica  CDadapco  1  April 19, 2007 11:26 
Warning 097  AB  CDadapco  6  November 15, 2004 05:41 
pressure gradient term in low speed flow  Atit Koonsrisuk  Main CFD Forum  2  January 10, 2002 11:52 
Hydrostatic pressure in 2phase flow modeling (long)  DS & HB  Main CFD Forum  0  January 8, 2000 16:00 