CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Pressure & Density functions (https://www.cfd-online.com/Forums/main/14703-pressure-density-functions.html)

CFD newbie January 28, 2008 16:58

Pressure & Density functions
 
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.

S. Gatzka January 28, 2008 17:33

Re: Pressure & Density functions
 
Is it a compressible or incompressible flow?

CFD newbie January 28, 2008 17:48

Re: Pressure & Density functions
 
Compressible indeed!

S. Gatzka January 28, 2008 17:58

Re: Pressure & Density functions
 
And isentropic?

CFD newbie January 28, 2008 18:11

Re: Pressure & Density functions
 
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

S. Gatzka January 28, 2008 19:10

Re: Pressure & Density functions
 
On isentropic flows the pressure and density varies with the mach-number. Is that what you mean?

otd January 28, 2008 21:18

Re: Pressure & Density functions
 
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?

CFD newbie January 29, 2008 06:21

Re: Pressure & Density functions
 
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

sega January 29, 2008 06:51

Re: Pressure & Density functions
 
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 ...

otd January 29, 2008 10:12

Re: Pressure & Density functions
 
Ask the CFX technical support guys (or gals?).

CFD newbie January 29, 2008 10:24

Re: Pressure & Density functions
 
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.


Ananda Himansu January 29, 2008 11:56

Re: Pressure & Density functions
 
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.

CFD newbie January 29, 2008 12:47

Re: Pressure & Density functions
 
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

Ananda Himansu January 29, 2008 13:31

Re: Pressure & Density functions
 
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.

CFD newbie January 29, 2008 14:13

Re: Pressure & Density functions
 
Thank you so much Himansu. This should solve my problem.

CFD newbie


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