CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Calculating Pressure Drop - BCs (

spoon February 25, 2013 17:27

Calculating Pressure Drop - BCs

I am trying to simulate flow over an obstruction in a pipe in order to calculate pressure drop across the pipe. I know the flopw rate through the pipe and I also know that nominally the inlet pressure is 100 Pa.

I am not sure how to go about setting up my boundary conditions for this calculation.

At the moment my toughts are:
Inlet - Fixed Value
Outlet - zeroGradient (??)
Walls - zeroGradient

Inlet - fixed value
outlet - inletOutlet with inletValue (0 0 0), not sure what Value option should be here
walls - fixedValue Uniform (0 0 0)

Does this seem correct? I have not done CFD in quite a while now so can't really remember.

I am also wondering the best way to calculate the actual total pressure drop.... Any suggestions here?


NickolasPl February 25, 2013 19:47


Well if you specifiy the pressure and the velocity at the same boundary it is like you re overdefining your problem. As you have a purely pressure driven flow I suggest to specify zero pressure at the exit and flow rate/velocity at the inlet boundary along with no slip at the walls. Since you know the pressure drop as you say, the software then should calculate the flowrate so that to preserve the mass balance.



All times are GMT -4. The time now is 08:41.