CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Static Pressure BC in rasInterFoam (https://www.cfd-online.com/Forums/openfoam-solving/58536-static-pressure-bc-rasinterfoam.html)

kwardle September 19, 2008 16:15

All, I would like to solve f
 
All,
I would like to solve for the flow in a filling/draining problem where there is constant inflow and draining at the same time in a manometer type geometry--that is, the flow from the drain is opposite gravity (e.g. like a u-tube except the outlet side is shorter)--I would like to be able to specify the *static pressure* on the outlet. How do I specify a constant value for the static pressure? For the standard interFoam setup, the boundary value for 'pd' is defined where (unless I am mistaken) pd is the dynamic pressure:

p = (0.5*rho*U^2) + (rho*g*h) = pd + ps

I understand there is a post-processing utilty interFoamPressure for calculating the static pressure. Has anyone used this to construct a staticPressure boundary? Is there some better way such as to to use p rather pd for the boundary field? How does one do this?
Thanks,
Kent


All times are GMT -4. The time now is 07:42.