CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Simple pressure difference question (

atareen64 February 1, 2011 14:12

Simple pressure difference question
Hello everybody,

Kindly help me with a simple question: I have a rectangular tube, with one inlet and one outlet. I want to flow air through that tube. For my BC, I want higher pressure on the inlet and lower pressure on the outlet so that air will flow.

My question is, will I need to specify the value of pressure at the internal field? or is specifying the boundary conditions at the inlet and outlet sufficient? please let me know!


atareen64 February 1, 2011 17:16

Please any help would appreciated!
Thank you.

flowris February 2, 2011 05:39


For flows in a channel with inlet and outlet, the following BCs (0 folder) are often used:
- inlet: U fixedValue U_0, p zero gradient
- outlet: U zero gradient, p fixed value p_0
- internal field: U uniform U_0, p uniform p_0

All times are GMT -4. The time now is 06:15.