CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   how to do BC of p_in depending on p_out and u_in (https://www.cfd-online.com/Forums/openfoam-pre-processing/113889-how-do-bc-p_in-depending-p_out-u_in.html)

hsingtzu February 28, 2013 10:27

how to do BC of p_in depending on p_out and u_in
 
Hi

I am wondering how to set the boundary conditions for this situation:
I am simulating the velocity and pressure of water going thru a cylinder.
I give the pressure at the outlet and the velocity at the inlet. zeroGradient of velocity at the outlet and the pressure at the inlet depends on the pressure at the outlet and the velocity at the inlet. I know how to set BC for the previous three, but I have no clue how to set the fourth one.

I have searched thru the web and the manual, but I have not found a satisfying answer. I am wondering if anyone here can nod a direction for me.
Thanks!

Hsingtzu


All times are GMT -4. The time now is 23:48.