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.
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.
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 21:39.|