CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

compressibleInterFoam: understanding of p_rgh and p

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2021, 04:45
Default compressibleInterFoam: understanding of p_rgh and p
  #1
New Member
 
Alexander Yurishchev
Join Date: Feb 2019
Posts: 21
Rep Power: 7
alextau is on a distinguished road
Hello,

I am trying to solve a problem similar to severe sluging. It a U shaped pipe which is partially filled with water at the lower section. At the inlet, I use the fixedValue type as a velocity bc. The outlet should be open to atmosphere.
I am very confused about setting the p and the p_rgh conditions for the outlet. I understand that the code solve NS equations for p_rgh and further calculates p for using as state equation to corect the density. If I am right, that means that I should set p_rgh to atmospheric pressure 101325 Pa. However p_rgh is the static pressure minus the hydrostatic pressure (which depends on the coordinates system)...

Can you please help me to understand what should I do in order to fix the oulet to atmospheric pressure of 101325 Pa?

A.
alextau is offline   Reply With Quote

Reply


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 Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:59.