CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Pressure in rhoSimpleFoam (http://www.cfd-online.com/Forums/openfoam-solving/80142-pressure-rhosimplefoam.html)

vitor September 16, 2010 09:34

Pressure in rhoSimpleFoam
 
I'm running a simple simulation, an axial air flow through a pipe. It's compressible, with a Mach = 0,5 . I'm still setting the BC's, the problem is: which pressure I should set in the 0/p file? Is it the relative or absolute pressure?

I know that using fixedValue means that I'm setting static pressure, and totalPressure sets static+dynamic. But do I need to add the atmosferic pressure?

Let's say, if my atm pressure is 101 kPa and I want relative totalPressure @ inlet equal to 18 kPa. Then I should use 18 or 119 kPa in the 0/p file?

Thanks a lot.

Vitor

herbert September 16, 2010 10:03

Hi Vitor,

of course you have to define 119 kPa in your example. Atmospheric pressure is not defined elsewhere. Therfore the absolute pressure is needed to make sure that the density is calculated correctly.

Regards,
Stefan

vitor September 16, 2010 11:49

Indeed. I thought maybe the atmosferic pressure would be set in other file.
Thank you for your reply.

And sorry for the fundamental question...


All times are GMT -4. The time now is 09:51.